diff --git a/assets/_animations.scss b/assets/_animations.scss
index 64da9a2..c089ec0 100644
--- a/assets/_animations.scss
+++ b/assets/_animations.scss
@@ -1,9 +1,9 @@
@keyframes rainbow {
- 0% { color: #ff0000; }
- 16.66% { color: #ff8000; }
- 33.33% { color: #ffff00; }
- 50% { color: #00ff00; }
- 66.66% { color: #0000ff; }
- 83.33% { color: #8000ff; }
- 100% { color: #ff0000; }
+ 0% { color: #ff0000; }
+ 16.66% { color: #ff8000; }
+ 33.33% { color: #ffff00; }
+ 50% { color: #00ff00; }
+ 66.66% { color: #0000ff; }
+ 83.33% { color: #8000ff; }
+ 100% { color: #ff0000; }
}
diff --git a/assets/_colors.scss b/assets/_colors.scss
index bf0558c..26acdcc 100644
--- a/assets/_colors.scss
+++ b/assets/_colors.scss
@@ -1,4 +1,12 @@
-$color-background: #10161c;
-$color-burger: #ddd;
-$color-link: #fb923c;
-$color-text: #c0cfe0;
+$color-forgejo-bg-dark: #10161c;
+$color-forgejo-bg-light: #1d262f;
+$color-forgejo-dark: #c0cfe0;
+$color-forgejo-light: #d2e0f0;
+$color-forgejo-orange: #fb923c;
+
+$color-background: $color-forgejo-bg-dark;
+$color-background-light: $color-forgejo-bg-light;
+$color-burger: $color-forgejo-dark;
+$color-link: $color-forgejo-orange;
+$color-text: $color-forgejo-dark;
+$color-text-light: $color-forgejo-light;
diff --git a/assets/style.scss b/assets/style.scss
index 0b43ec6..96bfc56 100644
--- a/assets/style.scss
+++ b/assets/style.scss
@@ -23,13 +23,16 @@ body {
}
}
+header, footer {
+ padding: 0 1rem;
+}
+
header {
align-items: center;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-top: 1rem;
- padding: 0 1rem;
& > .header-title {
font-weight: bold;
@@ -40,6 +43,19 @@ main {
padding: 1rem;
}
+footer {
+ margin-bottom: 1rem;
+
+ nav {
+ align-items: end;
+
+ @media screen and (min-width: $small) {
+ align-items: normal;
+ justify-content: end;
+ }
+ }
+}
+
nav {
display: flex;
flex-direction: column;
@@ -83,12 +99,43 @@ a {
}
}
-.hello-world {
- animation: rainbow 3s linear 0s infinite;
+h1, h2, h3, h4, h5, h6 {
+ margin-bottom: 0.5em;
+
+ ol + &, p + &, pre + &, ul + & {
+ margin-top: 1em;
+ }
+}
+
+h1 {
font-family: "Noto Sans Mono", monospace;
- font-size: 96px;
+ font-size: 6rem;
line-height: 1.15;
text-align: center;
+
+ @media (prefers-reduced-motion: no-preference) {
+ animation: rainbow 3s linear 0s infinite;
+ }
+}
+
+ol, p, pre, ul {
+ &:not(:last-child) {
+ margin-bottom: 0.5em;
+ }
+}
+
+ol, ul {
+ padding-left: 1.5em;
+}
+
+pre {
+ background: $color-background-light;
+ border-radius: 3px;
+ color: $color-text-light;
+ font-family: "Noto Sans Mono", monospace;
+ font-size: 0.8rem;
+ overflow-x: auto;
+ padding: 0.8em 1em;
}
.nav-burger {
diff --git a/config.toml b/config.toml
index 133a8b3..4928400 100644
--- a/config.toml
+++ b/config.toml
@@ -1,16 +1,29 @@
baseURL = "https://www.luj0ga.de/"
-languageCode = "en-us"
+languageCode = "en-US"
title = "luj0ga"
[menu]
[[menu.main]]
+ name = "Projects"
+ url = "https://git.luj0ga.de/luca"
+ weight = 10
+ [[menu.main]]
+ name = "More projects"
+ url = "https://github.com/lujoga?tab=repositories"
+ weight = 20
+
+ [[menu.footer]]
name = "Git"
url = "https://git.luj0ga.de"
weight = 10
- [[menu.main]]
+ [[menu.footer]]
name = "Pad"
url = "https://md.luj0ga.de"
weight = 20
+# [[menu.footer]]
+# name = "Minecraft"
+# url = "https://mc.luj0ga.de"
+# weight = 30
[minify]
minifyOutput = true
diff --git a/content/_index.md b/content/_index.md
index 70c188f..300f93a 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -1,3 +1,24 @@
---
title: ''
---
+
+# Hello, world!
+
+My name is **Luca** (or **lujoga**, sometimes with a '0' for the 'o').
+I *do* live on the second floor, but probably not upstairs from you.
+
+You can find me in the following places:
+
+* [GitHub](https://github.com/lujoga)
+* {{}}Mastodon{{}}
+* [Matrix](https://matrix.to/#/@luca:doesnt.social)
+
+## [PGP](/0xA3ECC1D8D19929A5.asc)
+
+```
+pub ed25519/0xA3ECC1D8D19929A5 2019-01-22 [SC] [expires: 2023-02-15]
+ 740DF8EAC4A530E69EB821F7A3ECC1D8D19929A5
+uid Luca Schmid
+uid Luca
+sub cv25519/0xDA76C2AD2E21CD62 2019-01-22 [E] [expires: 2023-02-15]
+```
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 8d04934..2017806 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -27,5 +27,12 @@
{{ block "main" . }}
{{ end }}
+