1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 12:36:20 -04:00

fix AMP footer spacing (closes #16)

This commit is contained in:
Jake Jarvis 2019-11-19 18:58:03 -05:00
parent e79baa0175
commit a432512d79
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39

View File

@ -99,17 +99,25 @@
text-align: right;
}
footer {
width: 100%;
display: flex;
justify-content: space-between;
padding: 20px;
border-top: 1px solid #bbbbbb;
color: #555;
line-height: 1.5rem;
}
footer a {
text-decoration: none;
}
footer a.back-to-top {
position: absolute;
right: 20px;
footer div {
vertical-align: middle;
height: 100%;
}
div.left {
text-align: left;
}
div.right {
text-align: right;
}
code {
font-family: "SFMono-Regular", "Consolas", "Liberation Mono", "Menlo", "Courier", monospace;
@ -168,8 +176,8 @@
{{ .Content }}
</article>
<footer>
Content by <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>, licensed under <a href="https://creativecommons.org/licenses/by/4.0/" title="Creative Commons Attribution 4.0 International" target="_blank" rel="noopener noreferrer nofollow">CC-BY-4.0</a>.
<a class="back-to-top" href="#top">↑ Back to top.</a>
<div class="left">Content by <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>, licensed under <a href="https://creativecommons.org/licenses/by/4.0/" title="Creative Commons Attribution 4.0 International" target="_blank" rel="noopener noreferrer nofollow">CC-BY-4.0</a>.</div>
<div class="right"><a class="back-to-top" href="#top">↑ Back to top.</a></div>
</footer>
</body>
</html>