/* Copyright (c) 2024 Julian Müller (ChaoticByte) */ :root { --color-text: black; --color-footer: #00000080; --color-search-box-placeholder: #00000060; --color-search-box-border: #00000040; --background: #dfd4d0; --font-family: sans-serif; } body { display: flex; flex-direction: column; margin: 0; padding: 0; min-height: 100vh; font-family: var(--font-family); background: var(--background); } a:hover, a:focus { text-decoration: underline; } a { color: var(--color-text); text-decoration: none; outline: none; } footer { display: flex; flex-wrap: wrap; margin-top: auto; box-sizing: border-box; padding: 1rem; } footer > div { margin: 0 .5rem; } footer, footer * { color: var(--color-footer) !important; font-size: .9rem; } .main > h1 { font-size: 1.4rem; margin-top: .6rem; margin-bottom: 1.5rem; } .main > h1, .content { max-width: 42rem; } .content { white-space: pre-line; } .home-main, .main { padding: 2rem; box-sizing: border-box; } .home-main { width: fit-content; min-width: 30rem; gap: 1rem; } .about { margin-bottom: 2rem; } .about > h1 { font-size: 1.6rem; margin-top: .4rem; margin-bottom: 1.5rem; } .description { white-space: pre-line; } .home-main, .toc, #search-results { display: flex; flex-direction: column; } .toc, #search-results, #search-box { padding: 0 .2rem; } .toc, #search-results { gap: .2rem; } #search-box { width: 100%; height: 2rem; border: none; outline: none; border-bottom: 1px solid var(--color-search-box-border); background: transparent; font-size: 1rem; } #search-box::placeholder { color: var(--color-search-box-placeholder); } #search-box:not(:placeholder-shown), #search-box:active, #search-box:focus, #search-box:hover { border-bottom: 1px solid var(--color-text); } .hidden { display: none !important; } @media only screen and (max-width: 750px) { .main > h1, .content { width: 100%; max-width: unset; } }