From ce2809f3c6db673e0536600703309c6cd47c983e Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 17 Jan 2023 12:07:58 +0100 Subject: [PATCH] Add actual content --- assets/_animations.scss | 14 ++++---- assets/_colors.scss | 16 +++++++--- assets/style.scss | 55 +++++++++++++++++++++++++++++--- config.toml | 17 ++++++++-- content/_index.md | 21 ++++++++++++ layouts/_default/baseof.html | 7 ++++ layouts/index.html | 1 - layouts/shortcodes/mastodon.html | 1 + static/0xA3ECC1D8D19929A5.asc | 24 ++++++++++++++ 9 files changed, 138 insertions(+), 18 deletions(-) create mode 100644 layouts/shortcodes/mastodon.html create mode 100644 static/0xA3ECC1D8D19929A5.asc 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 }} +
+ +
diff --git a/layouts/index.html b/layouts/index.html index 9118cd7..9983b08 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,4 +1,3 @@ {{ define "main" }} -

Hello World

{{ .Content }} {{ end }} diff --git a/layouts/shortcodes/mastodon.html b/layouts/shortcodes/mastodon.html new file mode 100644 index 0000000..863ae51 --- /dev/null +++ b/layouts/shortcodes/mastodon.html @@ -0,0 +1 @@ +{{ .Inner }} diff --git a/static/0xA3ECC1D8D19929A5.asc b/static/0xA3ECC1D8D19929A5.asc new file mode 100644 index 0000000..5236472 --- /dev/null +++ b/static/0xA3ECC1D8D19929A5.asc @@ -0,0 +1,24 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mDMEXEdeQxYJKwYBBAHaRw8BAQdAbu89PKLtvGsFbpbQH68GKUJ5EErDoGeYGp8z +dYizouK0IEx1Y2EgU2NobWlkIDxsdWNhLnNjaG1pZEBmYXUuZGU+iJYEExYIAD4W +IQR0DfjqxKUw5p64Ifej7MHY0ZkppQUCYhKxbAIbAwUJB6XvKQUL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