style.css
ASCII text
1@font-face { 2font-family: "Romanian League Gothic"; 3src: url("/static/fonts/RoLeagueGothic-Regular.woff2") format("woff2"); 4font-weight: normal; 5font-style: normal; 6} 7 8@font-face { 9font-family: "Romanian League Gothic Condensed"; 10src: url("/static/fonts/RoLeagueGothic-Condensed.woff2") format("woff2"); 11font-weight: normal; 12font-style: normal; 13} 14 15@font-face { 16font-family: "Source Serif"; 17src: url("/static/fonts/SourceSerif4Variable-Roman.otf.woff2") format("woff2-variations"); 18} 19 20@font-face { 21font-family: "Source Serif"; 22src: url("/static/fonts/SourceSerif4Variable-Italic.otf.woff2") format("woff2-variations"); 23font-style: italic; 24} 25 26@font-face { 27font-family: "Source Sans"; 28src: url("/static/fonts/SourceSans3VF-Upright.otf.woff2") format("woff2-variations"); 29} 30 31@font-face { 32font-family: "Source Sans"; 33src: url("/static/fonts/SourceSans3VF-Italic.otf.woff2") format("woff2-variations"); 34font-style: italic; 35} 36 37@font-face { 38font-family: "Source Code"; 39src: url("/static/fonts/SourceCodeVF-Upright.otf.woff2") format("woff2-variations"); 40} 41 42@font-face { 43font-family: "Source Code"; 44src: url("/static/fonts/SourceCodeVF-Italic.otf.woff2") format("woff2-variations"); 45font-style: italic; 46} 47 48body { 49line-height: 1.5rem; 50font-family: "Source Serif", serif; 51font-weight: 375; 52font-size: 1.125rem; 53 54min-height: 100vh; 55margin: 0; 56display: flex; 57flex-direction: column; 58align-items: center; 59background: #eceff1; 60font-variation-settings: "opsz" 14; 61} 62 63a { 64color: #009688; 65text-decoration-thickness: 0.125em; 66} 67 68header { 69width: 100%; 70font-family: "Source Sans", sans-serif; 71position: sticky; 72top: 0; 73background: #eceff1; 74display: flex; 75justify-content: center; 76} 77 78nav { 79width: min(800px, 100%); 80display: flex; 81justify-content: space-between; 82align-items: center; 83box-sizing: border-box; 84min-height: 4rem; 85padding: 1rem 0; 86margin: 0 0.5rem; 87} 88 89nav > ul { 90font-family: "Romanian League Gothic", sans-serif; 91display: flex; 92list-style: none; 93padding: 0; 94margin: 0; 95align-items: center; 96gap: 1rem; 97font-weight: normal; 98font-size: 1.75rem; 99line-height: 2rem; 100text-transform: uppercase; 101} 102 103@media (max-width: 576px) { 104nav > ul { 105flex-flow: row wrap; 106justify-content: center; 107row-gap: 0.5rem; 108} 109nav { 110flex-direction: column; 111gap: 1rem; 112} 113header { 114position: static; 115} 116} 117 118@media (max-width: 720px) { 119nav { 120flex-direction: column; 121padding: 0.5rem; 122gap: 0.5rem; 123} 124} 125 126nav > ul > li > a { 127font-weight: normal; 128text-decoration: none; 129color: #000000; 130text-decoration-thickness: 0.125em; 131} 132 133nav > ul > li > a:hover { 134text-decoration: underline; 135} 136 137footer { 138width: min(800px, 100%); 139padding: 1rem; 140box-sizing: border-box; 141font-family: "Source Sans", sans-serif; 142} 143 144main { 145width: min(800px, 100%); 146flex: 1 0 auto; 147gap: 1rem; 148display: flex; 149flex-direction: column; 150} 151 152.content-area { 153box-shadow: 0 0 1px #00000028, 1540 0 2px #00000020, 1550 2px 4px #00000010, 1560 2px 18px -6px #00000010; 157padding: 1rem; 158box-sizing: border-box; 159background: #ffffff; 160} 161 162h1 { 163font-family: "Romanian League Gothic Condensed", sans-serif; 164font-weight: normal; 165font-size: 4rem; 166line-height: 5rem; 167margin: 0; 168text-align: center; 169border-bottom: 0.5px solid #000000; 170} 171 172h2 { 173font-family: "Romanian League Gothic", sans-serif; 174font-weight: normal; 175font-size: 2.75rem; 176line-height: 3rem; 177margin: 0; 178} 179 180h3 { 181font-family: "Source Sans", sans-serif; 182font-weight: 725; 183font-size: 1.875rem; 184line-height: 3rem; 185margin: 0; 186} 187 188h4 { 189font-family: "Source Sans", sans-serif; 190font-weight: 800; 191font-size: 1.5rem; 192line-height: 2rem; 193margin: 0; 194} 195 196h5 { 197font-family: "Source Sans", sans-serif; 198font-weight: 800; 199font-size: 1.25rem; 200line-height: 2rem; 201margin: 0; 202} 203 204h6 { 205font-family: "Source Sans", sans-serif; 206font-weight: 900; 207font-size: 1.125rem; 208line-height: 2rem; 209margin: 0; 210} 211 212.article-title { 213text-decoration: none; 214text-align: center; 215color: #009688; 216display: block; 217width: 100%; 218} 219 220#mail-link { 221color: #009688; 222text-transform: none; 223} 224 225pre, code, kbd, samp, var { 226font-family: "Source Code", monospace; 227} 228 229pre { 230overflow-x: auto; 231padding: 1rem; 232background: #263238; 233color: #ffffff; 234color-scheme: dark; 235font-size: 1rem; 236line-height: 1.25rem; 237} 238 239.project-title { 240display: flex; 241align-items: center; 242justify-content: space-between; 243gap: 1rem; 244width: 100%; 245border: none; 246} 247 248.project-title > span { 249padding: 0.5rem; 250} 251 252.project-title > a { 253text-decoration: none; 254background: #009688; 255color: #ffffff; 256padding: 0 1rem; 257border: 4px solid #00796B; 258box-sizing: border-box; 259line-height: 1.25em; 260font-size: 0.875em; 261font-family: "Romanian League Gothic Condensed", sans-serif; 262align-self: stretch; 263display: flex; 264align-items: center; 265justify-content: center; 266min-width: 25%; 267 268transition: 400ms; 269} 270 271@media (max-width: 512px) { 272.project-title { 273flex-direction: column; 274align-items: center; 275} 276 277.project-title > a { 278min-height: 1.5lh; 279margin: auto; 280padding: 0 2rem; 281} 282} 283 284.project-title > a:hover { 285border-width: 8px; 286} 287 288strong, em { 289font: inherit; 290} 291 292.emphasis-1 { 293font-style: italic; 294} 295 296.emphasis-2 { 297font-weight: 625; 298} 299 300.emphasis-3 { 301font-variant: small-caps; 302font-synthesis-small-caps: none; 303} 304 305#article-date, .home-article-date { 306font-family: "Source Code", sans-serif; 307font-feature-settings: "zero" on; 308font-weight: 625; 309text-align: center; 310} 311 312blockquote { 313font-family: "Source Serif", serif; 314font-weight: 350; 315border-top: 0.5px solid #009688; 316border-bottom: 0.5px solid #009688; 317padding: 0.5rem 2rem; 318margin: 0; 319} 320 321blockquote > p:first-child { 322margin-top: 0; 323} 324 325blockquote > p:last-child { 326margin-bottom: 0; 327} 328 329img { 330max-width: 100%; 331height: auto; 332} 333