commit 84ccfd7a16a48321628e8159540308ea79463cdd
parent 5d11c8c45652ec7ed0c731d39716eb6a963a3d82
Author: Samdal <samdal@protonmail.com>
Date: Thu, 20 Feb 2025 20:19:46 +0100
add footer
Diffstat:
7 files changed, 37 insertions(+), 7 deletions(-)
diff --git a/_includes/navigation.html b/_includes/navigation.html
@@ -1,5 +1,5 @@
<header aria-hidden="true" class="no-print">
- <a href="/"><img style="margin-bottom: 5px; max-width: 180px; max-height: 244px;" src="/assets/images/c-programming-language-chito.png"> </a>
+ <a href="/"><img style="margin-bottom: 5px; max-width: 180px; max-height: 244px; image-rendering: crisp-edges;" src="/assets/images/c-programming-language-chito.png"> </a>
<nav role="navigation" aria-hidden="true">
<ul>
{% for item in site.data.navigation.links %}
diff --git a/_layouts/default.html b/_layouts/default.html
@@ -18,11 +18,16 @@ layout: compress
</h2>
</a>
+ <div class="main-content">
{% include navigation.html %}
{{ content }}
+ </div>
</main>
+ <div class="footer" >
+ <img class="footer-image" src="/assets/images/grass.png">
+ </div>
</body>
</html>
diff --git a/_pages/about.md b/_pages/about.md
@@ -22,3 +22,6 @@ Even if you already know programming, you should check out these people:
- [Casey Muratori's Other vidoes](https://www.youtube.com/@MollyRocket)
- Jonathan Blow
- [John Jackson](https://www.youtube.com/@johnjackson9767) (awesome guy)
+
+My [nisse](https://en.wikipedia.org/wiki/Nisse_(folklore)) collection
+
diff --git a/_posts/2024-05-08-VGA-Kontroller.md b/_posts/2024-05-08-VGA-Kontroller.md
@@ -4,7 +4,7 @@ title: "[Norwegian] VGA Kontroller"
description: VGA Kontroller
summary: Oppbygning av en enkel VGA kontroller fra bunnen av
comments: true
-tags: [writing, electronics, programming, VHDL, C]
+tags: [writing, Norwegian, electronics, programming, VHDL, C]
---
## Forord
diff --git a/_sass/_main.scss b/_sass/_main.scss
@@ -7,15 +7,33 @@
}
body {
+ display: flex;
+ flex-direction: column;
+
+ min-height: 100vh;
+ margin: 0;
+
font-family: serif;
-webkit-font-smoothing: antialiased;
- text-rendering: optimizeLegibility;
+ text-rendering: optimizeLegibility;
line-height:1.5;
font-size: 1rem;
color: rgb(22, 23, 26);
background-color: #faf9ee;
}
+.footer {
+ max-height: 18em;
+ width: 100%;
+ overflow:hidden;
+ display: inline-block;
+}
+
+.footer-image {
+ width: 100%;
+ transform-origin: top left;
+}
+
nav ul {
border-right: 3px solid #bcd1cf;
}
@@ -180,12 +198,16 @@ li {
}
main {
- display:flex;
- flex-wrap:wrap;
- max-width:60rem;
- margin:2rem auto;
+ flex: 1;
padding:1rem;
+ max-width:60rem;
background-color: transparent;
+ margin:2rem auto;
+}
+
+.main-content {
+ display:flex;
+ flex-wrap:wrap;
}
diff --git a/assets/images/grass.png b/assets/images/grass.png
Binary files differ.
diff --git a/assets/images/nisse-collection.jpeg b/assets/images/nisse-collection.jpeg
Binary files differ.