From 515ea0d3be867842a6755afd112925e629c1a96c Mon Sep 17 00:00:00 2001 From: NinoReichardt Date: Tue, 17 Nov 2026 18:55:41 +0100 Subject: refactor: cleaner css and html --- assets/main.css | 87 +++++++++++++++++++--------------- index.html | 141 +++++++++++++++++++++++++++++++------------------------- 2 files changed, 129 insertions(+), 99 deletions(-) diff --git a/assets/main.css b/assets/main.css index cae7aed..b9625c1 100644 --- a/assets/main.css +++ b/assets/main.css @@ -7,41 +7,47 @@ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } -html { - background: #eeeeee -} +:root { + --font-body: "Inter", system-ui, sans-serif; -#renderer { - position: fixed; - padding: 0; - margin: 0; - top: 0; - bottom: 0; - left: 0; - right: 0; - z-index: -5; + --color-background: #eee; + --color-text: #333; + --color-muted: #666; + --color-heading: #000; + + + --text-sm: 0.875rem; + --text-base: 1rem; + --text-section: 1.25rem; + --text-title: 2rem; } -* { - font-family: "Inter", sans-serif; - font-optical-sizing: auto; - font-weight: 400; - font-style: normal; +*, *::before, *::after { + box-sizing: border-box; +} - --text-dim: #666; - --text-normal: #333; - --text-highlighted: #000; +html { + background: var(--color-background) +} - --text-md: 16px; - --text-sm: 13px; +body { + margin: 0; + font-family: var(--font-body); + font-size: var(--text-base); + font-weight: 400; + line-height: 1.6; + color: var(--color-text); } -p, ul { - font-weight: 500; - color: var(--text-normal); - font-size: var(--text-md); +h1, h2 { + color: var(--color-heading); + font-weight: 600; + line-height: 1.2; } +h1 { font-size: var(--text-title); } +h2 { font-size: var(--text-section); } + ul li { padding-block: 0.25rem; } @@ -50,13 +56,11 @@ hr { margin-block: 1.25rem; opacity: 0.5; border: 0; - border-top: 1px solid var(--text-dim); + border-top: 1px solid var(--color-muted); } -b, a { - font-weight: 700; - color: var(--text-highlighted) -} +small { font-size: var(--text-sm); } +b, strong { font-weight: 700; } .padding-x-md { padding-inline: 0.75rem @@ -66,12 +70,21 @@ b, a { padding-block: 0.75rem } -.content-width { - max-width: 30rem; - width: 100vw; +.page { + width: 100%; + max-width: 32rem; + margin-inline: auto; + padding: 1.5rem 1rem; } -.center { - display: flex; - justify-content: center; + +#renderer { + position: fixed; + padding: 0; + margin: 0; + top: 0; + bottom: 0; + left: 0; + right: 0; + z-index: -5; } diff --git a/index.html b/index.html index 52763cd..1ad7465 100644 --- a/index.html +++ b/index.html @@ -1,76 +1,93 @@ - - - - - - + + + + + + - - - - - - - - + + + + + + + + - - + + - - Nino Reichardt | Software Engineer | nire.dev - - + + Nino Reichardt | Software Engineer | nire.dev + + - - -
-
-
-
-

Nino Reichardt

+ + +
+
+
+

Nino Reichardt

-

- Welcome to nire.dev! I'm a software engineer and a recreational programmer. -

+

+ I'm a software engineer and a recreational programmer. +

-

- Check out my - GitHub or you can send me an email. -

-
+

+ Check out my + GitHub or you can send me an email. +

+
-
+
-
-

- Interested in: -

-
    -
  • Writing efficient and stable software. Meaning I like the Rust programming language.
  • -
  • Expanding my knowledge by trying to learn new things every day.
  • -
  • Eating food...
  • -
-
+
+

+ Interested in: +

+
    +
  • Writing efficient and stable software. Meaning I like the Rust programming language.
  • +
  • Expanding my knowledge by trying to learn new things every day.
  • +
  • Eating food...
  • +
+
-
+
-
-

- Working on in my free time: -

+
+

+ Working on in my free time: +

-
    -
  • RIDP: A Rust based IDP, with a focus on being lightweight, accessible, customizable and simple
  • -
  • And more...
  • -
-
-
-
- + + + +
+ +
+

+ Hobbies: +

+ + +
+ + -- cgit v1.2.3