style.css
Unicode text, UTF-8 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 63:is(a:link, a:visited):not(nav a) { 64color: #009688; 65text-decoration-thickness: 0.0625em; 66text-underline-offset: 0.125em; 67font-weight: 550; 68} 69 70a:is(:hover, :focus):not(nav a) { 71background: #B2DFDB; 72color: #00796B; 73border-radius: 0.25rem; 74text-decoration: none; 75outline: none; 76} 77 78header { 79width: 100%; 80font-family: "Source Sans", sans-serif; 81position: sticky; 82top: 0; 83background: #eceff1; 84display: flex; 85justify-content: center; 86z-index: 2; 87} 88 89nav { 90width: min(800px, 100%); 91display: flex; 92justify-content: space-between; 93align-items: center; 94box-sizing: border-box; 95min-height: 4rem; 96padding: 1rem 0; 97margin: 0 0.5rem; 98} 99 100nav > ul { 101font-family: "Romanian League Gothic", sans-serif; 102display: flex; 103list-style: none; 104padding: 0; 105margin: 0; 106align-items: center; 107gap: 1rem; 108font-weight: normal; 109font-size: 1.75rem; 110line-height: 2rem; 111text-transform: uppercase; 112} 113 114@media (max-width: 576px) { 115nav > ul { 116flex-flow: row wrap; 117justify-content: center; 118row-gap: 0.5rem; 119} 120nav { 121flex-direction: column; 122gap: 1rem; 123} 124header { 125position: static; 126} 127} 128 129@media (max-width: 720px) { 130nav { 131flex-direction: column; 132padding: 0.5rem; 133gap: 0.5rem; 134} 135} 136 137nav > ul > li > a { 138font-weight: normal; 139text-decoration: none; 140color: #000000; 141text-decoration-thickness: 0.125em; 142text-shadow: none !important; 143} 144 145nav > ul > li > a:is(:hover, :focus) { 146text-decoration: underline; 147outline: none; 148} 149 150#skip-link { 151font-size: 1.75rem; 152line-height: 2rem; 153text-transform: uppercase; 154font-family: "Romanian League Gothic", sans-serif; 155font-weight: normal; 156text-decoration: none; 157text-shadow: none !important; 158text-decoration-thickness: 0.125em; 159position: absolute; 160transform: scaleY(0); 161transform-origin: top; 162background: #009688; 163color: #ffffff; 164padding: 0.5rem; 165border-radius: 0; 166} 167 168@media (prefers-reduced-motion: no-preference) { 169#skip-link { 170transition: transform 200ms; 171} 172} 173 174#skip-link:focus { 175transform: scaleY(1); 176z-index: 3; 177} 178 179footer { 180width: min(800px, 100%); 181padding: 1rem; 182box-sizing: border-box; 183font-family: "Source Sans", sans-serif; 184} 185 186main { 187width: min(800px, 100%); 188flex: 1 0 auto; 189gap: 1rem; 190display: flex; 191flex-direction: column; 192} 193 194.content-area { 195box-shadow: 0 0 1px #00000028, 1960 0 2px #00000020, 1970 2px 4px #00000010, 1980 2px 18px -6px #00000010; 199padding: 1rem; 200box-sizing: border-box; 201background: #ffffff; 202} 203 204h1 { 205font-family: "Romanian League Gothic Condensed", sans-serif; 206font-weight: normal; 207font-size: 4rem; 208line-height: 5rem; 209margin: 0; 210text-align: center; 211border-bottom: 0.5px solid #000000; 212} 213 214h2 { 215font-family: "Romanian League Gothic", sans-serif; 216font-weight: normal; 217font-size: 2.75rem; 218line-height: 3rem; 219margin: 0; 220} 221 222h3 { 223font-family: "Source Sans", sans-serif; 224font-weight: 725; 225font-size: 1.875rem; 226line-height: 3rem; 227margin: 0; 228} 229 230h4 { 231font-family: "Source Sans", sans-serif; 232font-weight: 800; 233font-size: 1.5rem; 234line-height: 2rem; 235margin: 0; 236} 237 238h5 { 239font-family: "Source Sans", sans-serif; 240font-weight: 800; 241font-size: 1.25rem; 242line-height: 2rem; 243margin: 0; 244} 245 246h6 { 247font-family: "Source Sans", sans-serif; 248font-weight: 900; 249font-size: 1.125rem; 250line-height: 2rem; 251margin: 0; 252} 253 254.article-title, .article-title a:link, .article-title a:visited { 255text-decoration: none; 256text-align: center; 257color: #00796B; 258display: block; 259width: 100%; 260background: transparent !important; 261font-family: "Romanian League Gothic", sans-serif; 262} 263 264#mail-link { 265color: #009688; 266text-transform: none; 267} 268 269pre, code, kbd, samp, var { 270font-family: "Source Code", monospace; 271font-feature-settings: "zero" on; 272} 273 274pre { 275overflow-x: auto; 276padding: 1rem; 277background: #263238; 278color: #ffffff; 279color-scheme: dark; 280font-size: 1rem; 281line-height: 1.25rem; 282} 283 284.project-title { 285display: flex; 286align-items: center; 287justify-content: space-between; 288gap: 1rem; 289width: 100%; 290border: none; 291} 292 293.project-title > h1 { 294padding: 0.5rem; 295border: none; 296} 297 298.project-title > a:any-link { 299text-decoration: none; 300background: #009688; 301color: #ffffff; 302padding: 0.5rem; 303border: 4px solid #00796B; 304box-sizing: border-box; 305line-height: 1.25em; 306font-size: 1.5em; 307font-family: "Romanian League Gothic", sans-serif; 308text-transform: uppercase; 309display: flex; 310align-items: center; 311justify-content: center; 312min-width: 25%; 313height: 2lh; 314 315transition: 400ms; 316} 317 318@media (max-width: 512px) { 319.project-title { 320flex-direction: column; 321align-items: center; 322} 323 324.project-title > a { 325min-height: 1.5lh; 326margin: auto; 327padding: 0 2rem; 328} 329} 330 331.project-title > a:hover { 332border-width: 8px; 333} 334 335strong, em { 336font: inherit; 337} 338 339.emphasis-1 { 340font-style: italic; 341} 342 343.emphasis-2 { 344font-weight: 625; 345} 346 347.emphasis-3 { 348font-variant: small-caps; 349font-synthesis-small-caps: none; 350} 351 352#article-date, .home-article-date { 353font-family: "Source Code", sans-serif; 354font-feature-settings: "zero" on; 355font-weight: 625; 356text-align: center; 357} 358 359blockquote { 360font-family: "Source Serif", serif; 361font-weight: 350; 362border-top: 0.5px solid #009688; 363border-bottom: 0.5px solid #009688; 364padding: 0.5rem 2rem; 365margin: 0; 366} 367 368blockquote > p:first-child { 369margin-top: 0; 370} 371 372blockquote > p:last-child { 373margin-bottom: 0; 374} 375 376img:not(.article-image) { 377max-width: 100%; 378height: auto; 379} 380 381.topic-posts { 382display: flex; 383flex-direction: column; 384gap: 0.5rem; 385} 386 387.topic-expander > summary { 388display: flex; 389justify-content: space-between; 390align-items: center; 391cursor: pointer; 392text-transform: uppercase; 393user-select: none; 394align-items: center; 395} 396 397.topic-expander > summary > h2 { 398font-family: "Romanian League Gothic", sans-serif; 399font-size: 2.75rem; 400} 401 402.topic-expander > summary::after { 403content: "▶"; 404transition: transform 400ms; 405font-size: 1.5rem; 406} 407 408.topic-expander[open] > summary::after { 409transform: rotate(90deg); 410} 411 412#index-container { 413display: grid; 414grid-template-columns: 1fr 1fr; 415gap: 1rem; 416margin: 0 1rem; 417} 418 419@media (max-width: 576px) { 420#index-container { 421grid-template-columns: 1fr; 422} 423} 424 425.article-image { 426width: calc(100% + 2rem) !important; 427aspect-ratio: 64/27; 428object-fit: cover; 429position: relative; 430z-index: 0; 431top: -1rem; 432left: -1rem; 433} 434 435.tags { 436margin: 0; 437display: flex; 438gap: 0.5rem; 439flex-wrap: wrap; 440font-family: "Source Sans", sans-serif; 441} 442 443.tag::before { 444content: "#"; 445} 446 447.tag { 448text-decoration: none; 449} 450 451p { 452margin: 1lh 0; 453} 454 455.content-area p:first-child { 456margin-top: 0; 457} 458 459.content-area p:last-child { 460margin-bottom: 0; 461} 462 463@media (prefers-color-scheme: dark) { 464:root { 465color-scheme: dark; 466} 467body, header { 468background: #37474F; 469color: #ffffff; 470} 471.content-area { 472background: #455A64; 473color: #ffffff; 474} 475nav > ul > li > a { 476color: #f5f5f5; 477} 478:is(a:link, a:visited):not(nav a), #mail-link { 479color: #80CBC4; 480} 481a:is(:hover, :focus):not(nav a) { 482background: #607D8B; 483color: #B2DFDB; 484} 485h1 { 486border-bottom: 0.5px solid #ffffff; 487} 488.article-title, .article-title a:link, .article-title a:visited { 489color: #4DB6AC; 490} 491blockquote { 492border-top: 0.5px solid #80CBC4; 493border-bottom: 0.5px solid #80CBC4; 494} 495} 496