Skip to content

Commit

Permalink
debug : footer-line break issue (#695)
Browse files Browse the repository at this point in the history
* chore : change margin-left value

* Update main.css

* change the margin-left value

* fix css and remove seperator between links in footer

---------

Co-authored-by: Camillo Bruni <[email protected]>
  • Loading branch information
wooseok123 and camillobruni authored Dec 11, 2024
1 parent b04511a commit a5b4986
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
9 changes: 6 additions & 3 deletions src/_css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ hr {
}
#footer {
color: var(--footer-color);
background: var(--footer-background) url(/_img/v8-outline.svg) no-repeat 95.5% center;
padding-right: 12em;
background: var(--footer-background) url(/_img/v8-outline.svg) no-repeat 96% center;
padding-right: 10.8em;
background-size: 10em;
}
#footer div {
Expand All @@ -224,6 +224,10 @@ hr {
align-items: flex-end;
}

#footer nav a {
margin-right : 0.2em;
}

pre, code, var, kbd, samp {
font-family: Source Code Pro, Monaco, Lucida Console, monospace;
font-size: 1em;
Expand Down Expand Up @@ -486,7 +490,6 @@ dark-mode-toggle {
--dark-mode-toggle-dark-icon: url(/_css/img/sun.svg);
--dark-mode-toggle-color: var(--main-and-footer-link-color);
--dark-mode-toggle-icon-filter: invert(80%);
margin-left: 1em;
position: relative;
top: 0.4rem;
}
Expand Down
10 changes: 5 additions & 5 deletions src/_includes/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
<footer id="footer">
<div>
<nav>
<a href="/logo">Branding</a> ·
<a href="/terms">Terms</a> ·
<a href="https://policies.google.com/privacy">Privacy</a> ·
<a href="https://twitter.com/v8js" rel="me nofollow">Twitter</a> ·
<a href="/logo">Branding</a>
<a href="/terms">Terms</a>
<a href="https://policies.google.com/privacy">Privacy</a>
<a href="https://twitter.com/v8js" rel="me nofollow">Twitter</a>
<a href="https://github.com/v8/v8.dev/tree/main/{{ page.inputPath }}" rel="nofollow">Edit this page on GitHub</a>
</nav>
<dark-mode-toggle permanent dark="Light Theme" light="Dark Theme"></dark-mode-toggle>
<dark-mode-toggle permanent dark="Light Mode" light="Dark Mode"></dark-mode-toggle>
</div>
<p><small>Except as otherwise noted, any code samples from the V8 project are licensed under <a href="https://chromium.googlesource.com/v8/v8.git/+/main/LICENSE">V8’s BSD-style license</a>. Other content on this page is licensed under <a href="https://creativecommons.org/licenses/by/3.0/">the Creative Commons Attribution 3.0 License</a>. For details, see <a href="/terms#site-policies">our site policies</a>.</small></p>
</footer>
Expand Down

0 comments on commit a5b4986

Please sign in to comment.