diff options
| -rw-r--r-- | assets/main.css | 87 | ||||
| -rw-r--r-- | 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; } @@ -1,76 +1,93 @@ <!DOCTYPE html> <html lang="en"> - <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <meta http-equiv="X-UA-Compatible" content="ie=edge"> - <link rel="preload" href="./assets/fonts/inter-latin-v20.woff2" as="font" type="font/woff2" crossorigin> - <link rel="stylesheet" href="./assets/main.css"> + <head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta http-equiv="X-UA-Compatible" content="ie=edge"> + <link rel="preload" href="./assets/fonts/inter-latin-v20.woff2" as="font" type="font/woff2" crossorigin> + <link rel="stylesheet" href="./assets/main.css"> - <!-- Favicon --> - <link rel="icon" href="./favicon.ico" type="image/x-icon"> - <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> - <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> - <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> - <link rel="icon" type="image/svg+xml" sizes="any" href="/assets/ridp_logo.svg" media="(prefers-color-scheme: light)"> - <link rel="icon" type="image/svg+xml" sizes="any" href="/assets/ridp_logo_white.svg" media="(prefers-color-scheme: dark)"> - <link rel="manifest" href="/site.webmanifest"> + <!-- Favicon --> + <link rel="icon" href="./favicon.ico" type="image/x-icon"> + <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> + <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> + <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> + <link rel="icon" type="image/svg+xml" sizes="any" href="/assets/ridp_logo.svg" media="(prefers-color-scheme: light)"> + <link rel="icon" type="image/svg+xml" sizes="any" href="/assets/ridp_logo_white.svg" media="(prefers-color-scheme: dark)"> + <link rel="manifest" href="/site.webmanifest"> - <!-- Background animation --> - <script defer src="./assets/trees.js"></script> + <!-- Background animation --> + <script defer src="./assets/trees.js"></script> - <!-- Social Preview --> - <title>Nino Reichardt | Software Engineer | nire.dev</title> - <meta - name="description" - content="I'm Nino Reichardt, a software engineer and a recreational programmer." - > - <link rel="canonical" href="https://nire.dev/"> + <!-- Social Preview --> + <title>Nino Reichardt | Software Engineer | nire.dev</title> + <meta + name="description" + content="I'm Nino Reichardt, a software engineer and a recreational programmer." + > + <link rel="canonical" href="https://nire.dev/"> - </head> - <body> - <div id="renderer"></div> - <div class="center"> - <main class="content-width padding-x-md"> - <section> - <h1>Nino Reichardt</h1> + </head> + <body> + <div id="renderer"></div> + <main class="page"> + <section> + <h1>Nino Reichardt</h1> - <p> - Welcome to nire.dev! I'm a software engineer and a recreational programmer. - </p> + <p> + I'm a software engineer and a recreational programmer. + </p> - <p> - Check out my - <a href="https://github.com/NinoReichardt">GitHub</a> or you can <a href="mailto:nino.reichardt@tuta.com">send me an email</a>. - </p> - </section> + <p> + Check out my + <a href="https://github.com/NinoReichardt">GitHub</a> or you can <a href="mailto:nino.reichardt@tuta.com">send me an email</a>. + </p> + </section> - <hr/> + <hr/> - <section> - <p> - Interested in: - </p> - <ul> - <li>Writing efficient and stable software. Meaning I like the Rust programming language.</li> - <li>Expanding my knowledge by trying to learn new things every day.</li> - <li>Eating food...</li> - </ul> - </section> + <section> + <h2> + Interested in: + </h2> + <ul> + <li>Writing efficient and stable software. Meaning I like the Rust programming language.</li> + <li>Expanding my knowledge by trying to learn new things every day.</li> + <li>Eating food...</li> + </ul> + </section> - <hr/> + <hr/> - <section> - <p> - Working on in my free time: - </p> + <section> + <h2> + Working on in my free time: + </h2> - <ul> - <li><b>RIDP</b>: A Rust based IDP, with a focus on being lightweight, accessible, customizable and simple</li> - <li>And more...</li> - </ul> - </section> - </main> - </div> - </body> + <ul> + <li><strong>RIDP</strong>: A Rust based IDP, with a focus on being lightweight, accessible, customizable and simple</li> + <li>And more...</li> + </ul> + </section> + + <hr/> + + <section> + <h2> + Hobbies: + </h2> + + <ul> + <li>Programming</li> + <li> + Gaming + <ul> + <li>Dark Souls</li> + </ul> + </li> + <li></li> + </ul> + </section> + </main> + </body> </html> |
