commit 9132d80eb3841e2d822d671543acb78bbc870005
parent 6b2551dad00d61f68044da77d2f4b40b616116d4
Author: Lou Woell <lou.woell@posteo.de>
Date: Fri, 28 Feb 2025 20:28:41 +0100
new header style
Diffstat:
3 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/assets/css/header.scss b/assets/css/header.scss
@@ -14,15 +14,21 @@
}
&__logo {
- display: flex;
- flex: 1;
+ display: flex;
+ flex: 1;
+
+ &:before {
+ content: '';
+ background: repeating-linear-gradient(90deg, $accent, $accent 0, transparent 20px, transparent 20px);
+ display: block;
+ width: 25%;
+ }
&:after {
content: '';
- background: repeating-linear-gradient(90deg, $accent, $accent 2px, transparent 0, transparent 10px);
+ background: repeating-linear-gradient(90deg, $accent, $accent 0, transparent 20px, transparent 20px);
display: block;
width: 100%;
- right: 10px;
}
a {
diff --git a/assets/css/menu.scss b/assets/css/menu.scss
@@ -31,7 +31,8 @@
display: flex;
align-items: flex-start;
justify-content: space-between;
- margin: 20px 1px;
+ margin: 20px auto 10px auto;
+ font-weight: bold;
@media ($phone) {
margin: 0;
@@ -52,9 +53,17 @@
&:not(:last-of-type) {
margin-right: 20px;
+
}
}
+ a {
+ text-decoration: none;
+ &:hover {
+ color: $accent;
+ }
+ }
+
@media ($phone) {
flex-direction: column;
align-items: flex-start;
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
@@ -1,7 +1,6 @@
baseurl = "https://example.com/"
languageCode = "en-us"
theme = "hugo-theme-terminal"
-paginate = 5
[params]
contentTypeName = "posts"