mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
Add footer
This commit is contained in:
parent
de67b415b4
commit
f5ea4500a6
7
_includes/footer.html
Normal file
7
_includes/footer.html
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<footer>
|
||||||
|
<a href="https://github.com/TomHodson/tomhodson.github.com/blob/main/{{page.path}}?plain=1">
|
||||||
|
This Page's Source</a>
|
||||||
|
|
|
||||||
|
<a href="/credits">
|
||||||
|
Credits</a>
|
||||||
|
</footer>
|
@ -12,13 +12,6 @@
|
|||||||
</p>
|
</p>
|
||||||
{% include sidebar.html%}
|
{% include sidebar.html%}
|
||||||
|
|
||||||
<p>
|
|
||||||
<a class = "page-src-link"
|
|
||||||
href="https://github.com/TomHodson/tomhodson.github.com/blob/main/{{page.path}}?plain=1">
|
|
||||||
Page Source
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
{{ include.extra }}
|
{{ include.extra }}
|
||||||
<hr>
|
<hr>
|
||||||
</header>
|
</header>
|
@ -8,5 +8,6 @@
|
|||||||
<main>
|
<main>
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</main>
|
</main>
|
||||||
|
{% include footer.html %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
{% include footer.html %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
18
_sass/footer.scss
Normal file
18
_sass/footer.scss
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
|
||||||
|
// Padding to keep the keep the content to the right of the header
|
||||||
|
footer {
|
||||||
|
max-width: 560px;
|
||||||
|
margin-left: 240px;
|
||||||
|
padding-left: 30px;
|
||||||
|
padding-bottom: 10vh;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 0.5em;
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -65,10 +65,6 @@ header {
|
|||||||
justify-content: right; //Align right
|
justify-content: right; //Align right
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-src-link {
|
|
||||||
font-size: 0.8em;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media
|
@media
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
@import "nav"; //the side navbar
|
@import "nav"; //the side navbar
|
||||||
@import "header"; // the header
|
@import "header"; // the header
|
||||||
|
@import "footer"; // the footer
|
||||||
@import "article"; // individual blog articles
|
@import "article"; // individual blog articles
|
||||||
@import "projects"; //Styles for the projects page
|
@import "projects"; //Styles for the projects page
|
||||||
@import "cv"; // the CV page
|
@import "cv"; // the CV page
|
||||||
@ -45,11 +46,7 @@ main {
|
|||||||
max-width: 560px;
|
max-width: 560px;
|
||||||
margin-left: 240px;
|
margin-left: 240px;
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
|
|
||||||
|
|
||||||
padding-top: 10vh;
|
padding-top: 10vh;
|
||||||
padding-bottom: 10vh;
|
|
||||||
|
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user