/* style.css - For The Absolute Basics:tm: */ /* ---------------------------------- - background wallpaper, global font - ---------------------------------- */ body { background: linear-gradient(var(--background), color-mix(in srgb, var(--accent) 25%, var(--background))); min-height: calc(100vh - 4rem); font-family: var(--font-family); font-size: 1.125rem; text-transform: lowercase; margin: unset !important; /* idk why it does that */ } /* text formatting and config stuff */ /* headings */ h1, h1 a { color: var(--foreground); font-size: 2rem; text-decoration: none; } /* apparently having more than one h1 is against web standards but i prefer how it looks so i just use the same styling again */ h2, h2 a { color: var(--foreground); font-size: 2rem; text-decoration: none; } h3, h3 a { font-size: 2rem; } /* text */ p, li, button { font-size: 1.125rem; [class^="tabler--"] { transform: scale(1.13); } } /* links should look good i think */ a { font-size: 1.125rem; color: var(--accent); transition: 0.2s; } a:hover { transition: 0.2s; text-shadow: 0em 0em 0.25em var(--accent); } /* smol text */ small, small a { font-size: 0.875rem; } /* lists need some styling */ li { margin-left: -1em; padding-bottom: 18px; } /* gay ass text */ .rainbow { animation: 2s linear infinite rainbow; -webkit-animation: 2s linear infinite rainbow; -moz-animation: 2s linear infinite rainbow; } /* heading 1 is also clickable */ h1 a:hover { text-decoration: underline; } /* the tabler icons svgs styling */ .tabler-icon, .icon .icon-tabler { width: 1.3rem; height: 1.3rem; padding-bottom: .2rem; vertical-align: middle !important; color: var(--foreground) !important; } /* code (enforced monospace) */ .code { font-family: 'JetBrains Mono', monospace, 'Segoe UI', Tahoma, Geneva, Verdana, system-ui, sans-serif !important; } /* caption styled text */ .caption { font-size: small; opacity: .8; .section { font-size: smaller; opacity: .9; } } /* the dot */ .dot { display: inline-flex; width: .4rem; height: .4rem; background-color: var(--foreground); border-radius: 100%; vertical-align: middle; margin-left: .2rem; margin-right: .2rem; margin-bottom: .1rem; } /* seperator */ .seperator::before { border-bottom: .1rem solid var(--border); content: ''; display: block; height: .5rem; margin-bottom: .5rem; margin-top: -.7rem; min-width: max-content; } /* audio */ audio { border-radius: 3rem; } /* summary styling */ summary { display: flex; } /* ----------------------- - styled summary styling - ----------------------- */ details.styled { summary { max-width: 30%; font-size: 1.5rem; padding: .5rem; border-radius: .5rem; } } details.styled[open] { background-color: color-mix(in srgb, var(--background) 90%, var(--accent)); summary { border-radius: .5rem; } section { padding: .5rem; border-radius: .5rem; } } /* --------------- - alt text popup - --------------- */ .alt-popup { position: fixed; text-transform: none !important; background-color: color-mix(in srgb, var(--background) 85%, transparent); backdrop-filter: blur(.5rem); color: var(--foreground); padding: .5rem; border: solid .01rem var(--accent); border-radius: .5rem; font-size: 1rem; max-width: 30rem; z-index: 1000; pointer-events: none; opacity: 0; transition: opacity 0.4s; }