Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug : footer-line break issue #695

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -42,13 +42,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
Loading