Commit 74ccab39 authored by Gabriele Musco's avatar Gabriele Musco
Browse files

added footer to website layout

parent a0ae2707
Pipeline #151286 passed with stage
in 36 seconds
...@@ -13,6 +13,17 @@ ...@@ -13,6 +13,17 @@
<div id="markdown"> <div id="markdown">
</div> </div>
<div id="footer">
<h4>My other projects</h4>
<ul>
<li><a target="_blank" href="https://gabmus.gitlab.io/whatip">What IP</a></li>
<li><a target="_blank" href="https://gabmus.gitlab.io/gnome-feeds">Feeds</a></li>
</ul>
<p>
<span id="yearspan">@YEAR@</span> © Gabriele Musco -
<a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA-4.0</a>
</p>
</div>
<script> <script>
var getFile = (uri, cb) => { var getFile = (uri, cb) => {
...@@ -34,6 +45,7 @@ ...@@ -34,6 +45,7 @@
}; };
getFile('./page.md', populatemd); getFile('./page.md', populatemd);
document.getElementById('yearspan').innerHTML = new Date().getFullYear();
</script> </script>
</body> </body>
</html> </html>
...@@ -136,3 +136,21 @@ h2 { ...@@ -136,3 +136,21 @@ h2 {
#markdown { #markdown {
padding-bottom: 48px; padding-bottom: 48px;
} }
#footer {
padding: 24px 24px 24px 24px;
background-color: #241F31;
}
#footer, #footer a, #footer a:visited {
color: #81DFFE;
}
#footer p, #footer h4, #footer ul {
max-width: 300px;
margin: auto;
}
#footer p, #footer h4 {
padding: 24px 24px 24px 24px;
text-align: center;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment