diff --git a/config.toml b/config.toml index 037f274..90c402c 100644 --- a/config.toml +++ b/config.toml @@ -1,6 +1,6 @@ title = "user0x42" base_url = "https://u42.dev" -description = "Home of a Random Dude." +description = "Home of a Random Dude" theme = "duckquill" @@ -30,8 +30,8 @@ taxonomies = [{ name = "tags", feed = true }] highlight_code = true highlight_theme = "css" highlight_themes_css = [ - { theme = "solarized-dark", filename = "syntax-theme-dark.css" }, - { theme = "solarized-light", filename = "syntax-theme-light.css" } + { theme = "solarized-dark", filename = "syntax-theme-dark.css" }, + { theme = "solarized-light", filename = "syntax-theme-light.css" } ] smart_punctuation = true bottom_footnotes = true @@ -63,7 +63,7 @@ fix_contrast_dark = true # Whether to use fonts bundled with Duckquill instead of system ones. # Keep in mind that it also changes the style of headings. # -bundled_fonts = true +bundled_fonts = false # # Use emoji as a favicon. # Only one emoji is being rendered, everything else is truncated. @@ -77,15 +77,12 @@ source_url = "https://codeberg.org/user0x42/u42" # Additional CSS styles; expects them to be in the "./static/" directory. # If you are using Sass it will be generated there automatically. # -styles = [ - "mods.css" -] +styles = ["mods.css"] # # Additional JavaScript scripts; expects them to be in the "./static/" directory. # # scripts = [ # "YOUR_SCRIPT.js", -# "ALSO_YOUR_SCRIPT.js" # ] # # Whether to show "copy code" button on all code blocks @@ -142,11 +139,11 @@ csp = [ [extra.nav] # Whether to automatically hide nav when not hovered or focused -auto_hide = true +auto_hide = false # Whether to show the Atom/RSS feed button in the nav show_feed = true # Whether to show the manual theme switcher in the nav -show_theme_switcher = true +show_theme_switcher = false # Whether to show the link to the source repository in the nav show_repo = true # Links used in the nav. @@ -161,15 +158,15 @@ show_repo = true #] links = [ { url = "@/blog/_index.md", name = "Blog" }, - { url = "https://diadz.de", name = "DIADZ" } + { url = "https://xsiz.eu", name = "XSIZ" }, ] [extra.footer] # Links used in the footer. # Same as the nav ones. links = [ - { url = "@/blog/_index.md", name = "Blog" }, - { url = "https://diadz.de", name = "DIADZ" } + { url = "@/blog/_index.md", name = "Blog" }, + { url = "https://diadz.de", name = "DIADZ" }, ] # Social links in the footer. # Any URL-encoded SVG can be used as an icon. @@ -178,8 +175,8 @@ links = [ # Make sure that "external quotes" are set to "double". socials = [ { url = "https://codeberg.org/user0x42", name = "Codeberg", icon = "%3Csvg role='img' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3ECodeberg%3C/title%3E%3Cpath d='M11.955.49A12 12 0 0 0 0 12.49a12 12 0 0 0 1.832 6.373L11.838 5.928a.187.14 0 0 1 .324 0l10.006 12.935A12 12 0 0 0 24 12.49a12 12 0 0 0-12-12 12 12 0 0 0-.045 0zm.375 6.467l4.416 16.553a12 12 0 0 0 5.137-4.213z'/%3E%3C/svg%3E" }, - { url = "https://github.com/user0x42", name = "GitHub", icon = "%3Csvg role='img' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EGitHub%3C/title%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E" }, - { url = "https://social.vivaldi.net/@user0x42", name = "Mastodon", icon = "%3Csvg role='img' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EMastodon%3C/title%3E%3Cpath d='M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z'/%3E%3C/svg%3E" } + { url = "https://github.com/user0x42", name = "GitHub", icon = "%3Csvg role='img' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EGitHub%3C/title%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E" }, + { url = "https://social.vivaldi.net/@user0x42", name = "Mastodon", icon = "%3Csvg role='img' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EMastodon%3C/title%3E%3Cpath d='M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z'/%3E%3C/svg%3E" } ] # Whether to show "© Title, YEAR" show_copyright = true @@ -208,6 +205,9 @@ user = "user0x42" show_qr = true # GoatCounter analytics; enabled only if present in config. -[extra.goatcounter] +# [extra.goatcounter] # host = "YOUR_SERVER" -user = "u42" +# user = "u42" +# +# Additional JavaScript scripts; expects them to be in the "./static/" directory. +# diff --git a/content/_index.md b/content/_index.md index 09bd6f1..ca77742 100644 --- a/content/_index.md +++ b/content/_index.md @@ -15,6 +15,3 @@ title = "Home" ╚──────────────────────────────────────────────────────────────────╝ ``` {% end %} - - -
Website Status
diff --git a/content/u42-aaabstract.png b/content/bg.png similarity index 100% rename from content/u42-aaabstract.png rename to content/bg.png diff --git a/sass/mods.scss b/sass/mods.scss index 7746f74..96aaa98 100644 --- a/sass/mods.scss +++ b/sass/mods.scss @@ -1,6 +1,28 @@ body { - background-image: var(--bg-overlay), url("u42-aaabstract.png"); + font-family: "U42SansNerd", sans-serif; + background-image: var(--bg-overlay), url("bg.png"); background-position: center; background-size: cover; background-attachment: fixed; } + +@font-face { + font-family: "U42SansNerd"; + src: url("/fonts/U42SansNerdFont-Extended.woff2") format("woff2"); + font-weight: normal; + font-style: normal; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + text-wrap: balance; + margin: 2rem 0 1rem; + font-weight: bold; + line-height: normal; + font-family: "U42SansNerd", sans-serif; + letter-spacing: 0em; +} diff --git a/static/fonts/U42SansNerdFont-Extended.woff2 b/static/fonts/U42SansNerdFont-Extended.woff2 new file mode 100644 index 0000000..6de70c1 Binary files /dev/null and b/static/fonts/U42SansNerdFont-Extended.woff2 differ diff --git a/static/img/u42.png b/static/img/u42.png new file mode 100644 index 0000000..cfe6b72 Binary files /dev/null and b/static/img/u42.png differ diff --git a/static/img/u42c.png b/static/img/u42c.png new file mode 100644 index 0000000..0149ce7 Binary files /dev/null and b/static/img/u42c.png differ diff --git a/templates/partials/head.html b/templates/partials/head.html new file mode 100644 index 0000000..d0fb7f3 --- /dev/null +++ b/templates/partials/head.html @@ -0,0 +1,125 @@ + + + + + + + {%- if config.extra.accent_color_dark %} + + {%- endif %} + {%- if config.extra.csp %} + {%- include "partials/csp.html" %} + {%- endif %} +