@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Ubuntu+Sans:ital,wght@0,100..800;1,100..800&family=Victor+Mono:wght@100..700&display=swap'); :root { font-variant-ligatures: none!important; font-size: 18px; @media (min-width: 2000px) { font-size: 22px; } @media (max-width: 2000px) and (min-width: 1500px) { font-size: 20px; } @media (max-width: 1500px) and (min-width: 1200px) { font-size: 18px; } @media (max-width: 1200px) and (min-width: 800px) { font-size: 16px; } @media (max-width: 800px) and (min-width: 600px) { font-size: 14px; } @media (max-width: 600px) and (min-width: 400px) { font-size: 12px; } @media (max-width: 400px) { font-size: 10px; } } html, body, p { font-family: "Ubuntu Sans", sans-serif; } h1, h2, h3, h4, h5, h6, button, a, .date { font-family: "Comfortaa", cursive; } pre, code { font-family: "Victor Mono", monospace; } a { text-decoration: none; } html { height: 100%; width: 100%; margin: 0; padding: 0; } body { width: calc(100% - 50px); max-width: 1500px; margin: 0 auto; padding: 0; min-height: 100%; height: auto; max-height: max-content; } footer { padding: 0; margin: 0; display: block; position: sticky; width: 100%; top: 100%; transform: translateY(-50%); background-color: inherit; } header { padding: 0; margin: 0; display: block; position: sticky; width: 100%; top: 0; background-color: inherit; } header > div { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; flex-wrap: wrap; } header a { display: contents; } header h1 { font-weight: 700; margin: 0; padding: 0; line-height: 1.5; } header h1::before { content: ' '; display: inline-block; width: 0.9em; aspect-ratio: 1; transform: translateY(0.1em); background-repeat: no-repeat; background-size: contain; background-position: center center; background-image: url("/static/favicon.webp"); padding: 0; margin: 0 0.25ch 0 0; } header nav { margin: 0 0 0 auto; } .center { display: flex; flex-direction: column; justify-content: center; align-items: center; flex-wrap: wrap; margin: 0; padding: 0; } hr { margin: 0; padding: 0; border: none; border-bottom-style: solid; border-bottom-width: 1px; width: calc(100% + 1rem); transform: translateX(-0.5rem); } .about-me { flex-wrap: wrap; display: flex; flex-direction: row-reverse; justify-content: center; align-items: center; } .about-me > div { @media (max-width: 800px) { max-width: 100%; width: 100%; padding: 0; margin: 10px auto; } @media (min-width: 800px) { max-width: calc(100% - 240px); width: 100%; padding: 0; margin: 10px auto; } } .about-me img { width: 200px; height: auto; margin: 10px 10px 10px 0; border-radius: 1em; } button:hover { transform: translateY(-2px); } button:active { transform: translateY(0); } button { border-radius: 1ch; box-sizing: border-box; cursor: pointer; font-size: 1rem; font-weight: 700; padding: 0.5ch 1ch; margin: 0 0 0 0.5ch; text-decoration: none; transition: all 300ms cubic-bezier(.23, 1, 0.32, 1); } @font-face { font-family: "sophuwuicons"; src: url("/static/icons.woff2") format("woff2"), url("/static/icons.ttf") format("truetype") } .icon { font-family: "sophuwuicons"; font-size: inherit; font-weight: normal!important; font-style: normal; height: 1em; } h2 { margin: 0.5lh 0 0.25lh; font-size: 1.5rem; } p { line-height: 1.2; margin: 0.25lh 0; text-align: justify; } .date { font-size: 0.75rem; font-weight: bold; line-height: 1.5; } .ref-name { margin: 0.25lh 0; font-size: 1.2rem; } .blog-row { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; flex-wrap: wrap; margin: 0.25em 0; } article { margin: 1lh 0; } .animation { max-height: 20rem; max-width: 95%; border-radius: 15px; padding: 5px; } .anim-row { margin: 0; padding: 0; } .anim-media { display: flex; flex-direction: row; justify-content: center; align-items: center; flex-wrap: wrap; margin: 0; padding: 0; } h3 { margin: 0.5lh 0 0.25lh; font-size: 1.25rem; }