/*```css */ @import "./float-label.theme"; html { /* Prevent horizontal overflow and scrolling, modern way. */ overflow-x: clip; /* Enable font smoothing */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } body { /* Ensure `body` takes at least the full height of the viewport (using dynamic viewport height for better mobile support). */ min-height: 100dvh; /* Make the `body` a flex container with column layout, and `main` to automatically fill available space. This is useful for creating sticky footers and full-height layouts. */ display: flex; flex-direction: column; > main { flex-grow: 1; } /* Evaluates the last ~4 lines of text blocks to prevent a single word from sitting on the final line. */ text-wrap: pretty; /* Enable global hyphenation */ hyphens: auto; /* ... except for links and tables which are better (safer) without hyphenation */ a, table { hyphens: none; } } a { &:not([href^="#"]) { text-decoration-thickness: 1px; &:hover { text-decoration-thickness: 2px; } } } h1, h2, h3, h4, h5, h6 { text-wrap: balance; } h1 { font-size: 2.5em; /* for pico.css & tw-typography */ margin-bottom: 1rem; /* for tw-typography */ } hr { margin-block: 2em; /* for pico.css & tw-typography */ } ul { ul { font-size: 87.5%; } } dl { dt { margin-block: 0.25rem; font-weight: 500; } dd { margin-block-end: 1rem; } } pre { small { opacity: 75%; font-weight: lighter; } &:has(code) { background: #181c25 !important; } } table { th { vertical-align: bottom; font-weight: bold; } td { vertical-align: top; } pre { margin-bottom: 0.25rem; } } [data-jump-to="top"] { opacity: 25%; &:hover { opacity: 75%; } > i { display: inline-block; padding: 0.25rem 0.375rem; margin: 0.5rem; font-size: 0.75rem; color: black; border-color: black; } } .breakout, .breakout-all { > img, > figure { margin-bottom: 1rem; } } .faded { a { text-decoration-style: dotted; } }