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

docs: show Netlify badge on footer #4190

Merged
merged 1 commit into from
Feb 26, 2020
Merged
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
95 changes: 54 additions & 41 deletions docs/_includes/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,47 +90,60 @@ <h1>
</p>
</div>

<ul id="openjsf-links">
<li>
<a href="https://openjsf.org/" rel="external noopener"
>The OpenJS Foundation</a
>
</li>
<li>
<a href="https://terms-of-use.openjsf.org/" rel="external noopener"
>Terms of Use</a
>
</li>
<li>
<a href="https://privacy-policy.openjsf.org/" rel="external noopener"
>Privacy Policy</a
>
</li>
<li>
<a href="https://bylaws.openjsf.org/" rel="external noopener"
>OpenJS Foundation Bylaws</a
>
</li>
<li>
<a
href="https://trademark-policy.openjsf.org/"
rel="external noopener"
>Trademark Policy</a
>
</li>
<li>
<a href="https://trademark-list.openjsf.org/" rel="external noopener"
>Trademark List</a
>
</li>
<li>
<a
href="https://www.linuxfoundation.org/cookies/"
rel="external noopener"
>Cookie Policy</a
>
</li>
</ul>
<div id="external-links">
<ul id="openjsf-links">
<li>
<a href="https://openjsf.org/" rel="external noopener"
>The OpenJS Foundation</a
>
</li>
<li>
<a href="https://terms-of-use.openjsf.org/" rel="external noopener"
>Terms of Use</a
>
</li>
<li>
<a
href="https://privacy-policy.openjsf.org/"
rel="external noopener"
>Privacy Policy</a
>
</li>
<li>
<a href="https://bylaws.openjsf.org/" rel="external noopener"
>OpenJS Foundation Bylaws</a
>
</li>
<li>
<a
href="https://trademark-policy.openjsf.org/"
rel="external noopener"
>Trademark Policy</a
>
</li>
<li>
<a
href="https://trademark-list.openjsf.org/"
rel="external noopener"
>Trademark List</a
>
</li>
<li>
<a
href="https://www.linuxfoundation.org/cookies/"
rel="external noopener"
>Cookie Policy</a
>
</li>
</ul>
<div class="netlify-badge">
<a href="https://www.netlify.com">
<img
src="https://www.netlify.com/img/global/badges/netlify-color-accent.svg"
/>
</a>
</div>
</div>
<dl id="last-modified" class="dl-inline">
<dt>Last updated</dt>
<dd>
Expand Down
12 changes: 11 additions & 1 deletion docs/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,10 @@ footer {
max-width: 66%;
}

#external-links {
position: relative;
}

#openjsf-links {
margin: 0;
padding: 0;
Expand All @@ -271,6 +275,12 @@ footer {
content: ' | ';
}

#external-links .netlify-badge {
position: absolute;
right: 0;
bottom: 0;
}

.dl-inline dt,
.dl-inline dd {
display: inline;
Expand All @@ -291,7 +301,7 @@ blockquote {
padding: 10px;
}

@media all and (max-width: 900px) {
@media all and (max-width: 960px) {
#copyright-notice {
max-width: initial;
}
Expand Down