dwrz.css (6554B)
1 html { 2 background-color: #efefef; 3 color: #1d1f21; 4 font-family: serif; 5 margin: 1em; 6 } 7 8 body { 9 margin: 0em auto 0em auto; 10 } 11 12 main { 13 background-color: #ffffff; 14 margin: 1em auto 1em auto; 15 } 16 17 header { 18 background-color: #ffffff; 19 padding: 1em 0em 1em 0em; 20 } 21 22 footer { 23 background-color: #ffffff; 24 margin: 0em auto 1em auto; 25 padding: 1em 0em 1em 0em; 26 } 27 28 article { 29 line-height: 1.625; 30 margin: 0em auto 0em auto; 31 padding: 1em; 32 max-width: 95%; 33 } 34 35 section { 36 margin: 0em auto 0em auto; 37 } 38 39 40 /* Blocks */ 41 audio, video { 42 display: block; 43 height: 100%; 44 margin: 0 auto 1em auto; 45 max-width: 100; 46 text-align: center; 47 width: 100%; 48 } 49 50 aside { 51 color: #4d4d4c; 52 font-size: 0.75em; 53 width: 100%; 54 } 55 56 blockquote { 57 color: #282a2e; 58 font-family: serif; 59 margin: 0 auto 0 auto; 60 width: 80%; 61 } 62 63 canvas { 64 display: block; 65 margin: 0em auto 0em auto; 66 padding: 0em; 67 } 68 69 p { 70 font-size: 1.25em; 71 } 72 73 ol, 74 ul { 75 font-size: 1.25em; 76 margin: 1em auto 1em auto; 77 } 78 79 h1 { 80 font-size: 2.5em; 81 hyphens: none; 82 margin: 0em; 83 text-align: center; 84 } 85 86 h2 { 87 font-size: 2em; 88 margin: 1em 0em 1em 0em; 89 text-align: center; 90 } 91 92 h3 { 93 font-size: 1.5em; 94 margin: 0em; 95 } 96 97 h4 { 98 font-size: 1em; 99 margin: 0em; 100 } 101 102 iframe { 103 border: 0; 104 height: 100%; 105 left: 0; 106 position: absolute; 107 top: 0; 108 width: 100%; 109 } 110 111 img { 112 height: auto; 113 max-width: 100%; 114 } 115 116 table { 117 border-collapse: collapse; 118 border: 3px solid; 119 max-width: 100%; 120 width: 100%; 121 } 122 123 td, 124 th { 125 border: 1px solid; 126 } 127 128 /* Inline */ 129 a { 130 color: #4271ae; 131 text-decoration: none; 132 } 133 134 a:hover { 135 color: #3e999f; 136 } 137 138 a:visited { 139 color: #8959a8; 140 text-decoration: none; 141 } 142 143 blockquote > cite { 144 color: #4d4d4c; 145 margin: 0 auto 0 auto; 146 } 147 148 code { 149 font: 1em, monospace; 150 } 151 152 pre > code { 153 background-color: #efefef; 154 display: block; 155 padding: 0em 0.5em 0em 0.5em; 156 white-space: pre-wrap; 157 word-wrap: break-word; 158 } 159 160 /* Classes */ 161 .bold { 162 font-style: bold; 163 } 164 165 .bordered { 166 border: solid 3px; 167 box-sizing: border-box; 168 margin: 1em 0em 1em 0em; 169 max-width: 100%; 170 padding: 0em 1em 0em 1em; 171 } 172 173 .entry-nav { 174 display: grid; 175 grid-template-columns: 1fr 1fr; 176 margin: 1em 0em 0em 0em; 177 } 178 179 .caption { 180 display: block; 181 font-size: 0.75em; 182 margin: 0 auto 0 auto; 183 text-align: center; 184 width: 80%; 185 } 186 187 .excerpt { 188 color: #222244; 189 display: block; 190 margin: 0 auto 0 auto; 191 font-size: 1em; 192 width: 100%; 193 } 194 195 .hlist li { 196 display:inline-block; 197 } 198 199 .hlist li:before { 200 content: "|"; 201 font-size: 1em; 202 } 203 204 .hlist li:first-child:before { 205 content: ''; 206 } 207 208 .nobullets { 209 list-style-type: none; 210 } 211 212 .img-center { 213 display: block; 214 margin: 1em auto 1em auto; 215 width: 100%; 216 } 217 218 .img-center-small { 219 display: block; 220 margin: 1em auto 1em auto; 221 width: 75%; 222 } 223 224 .img-round { 225 border-radius: 50%; 226 } 227 228 .italic { 229 font-style: italic; 230 } 231 232 .nav { 233 font-size: 1.25em; 234 text-align: center; 235 } 236 237 .poetry { 238 color: #4d4d4c; 239 display: block; 240 hyphens: none; 241 margin: 0 auto 0 auto; 242 width: 80%; 243 } 244 245 .text-center { 246 text-align: center; 247 } 248 249 .text-large { 250 font-size: 1.5em; 251 } 252 253 .text-normal { 254 font-size: 1em; 255 } 256 257 .text-right { 258 text-align: right; 259 } 260 261 .text-right-if-wide { 262 text-align: left; 263 } 264 265 .text-small { 266 font-size: 0.75em; 267 } 268 269 .split-row { 270 display: grid; 271 grid-template-columns: auto; 272 max-width: 100%; 273 } 274 275 .timeline-row-single { 276 display: grid; 277 grid-column-gap: 1em; 278 grid-template-columns: 1fr; 279 line-height: 1.25; 280 margin: 1em 0em 0em 0em; 281 padding: 0; 282 } 283 284 .timeline-row { 285 display: grid; 286 grid-column-gap: 1em; 287 grid-template-columns: 1fr; 288 grid-template-rows: min-content; 289 line-height: 1.25; 290 margin: 1em 0em 0em 0em; 291 padding: 0; 292 } 293 294 .video-container { 295 padding-bottom: 56.25%; /* 16:9 */ 296 position: relative; 297 width: 100%; 298 } 299 300 .wide64 { 301 max-width: 64ch; 302 } 303 304 .wide128 { 305 max-width: 128ch; 306 } 307 308 /* Background Colors */ 309 .bg-black { 310 background-color: #1d1f21; 311 } 312 313 .bg-blue { 314 background-color: #4271ae; 315 } 316 317 .bg-brown { 318 background-color: #a3685a; 319 } 320 321 .bg-cyan { 322 background-color: #3e999f; 323 } 324 325 .bg-gray0 { 326 background-color: #efefef; 327 } 328 329 .bg-gray1 { 330 background-color: #e0e0e0; 331 } 332 333 .bg-gray2 { 334 background-color: #d6d6d6; 335 } 336 337 .bg-gray3 { 338 background-color: #8e908c; 339 } 340 341 .bg-gray4 { 342 background-color: #969896; 343 } 344 345 .bg-gray5 { 346 background-color: #4d4d4c; 347 } 348 349 .bg-gray6 { 350 background-color: #282a2e; 351 } 352 353 .bg-green { 354 background-color: #718c00; 355 } 356 357 .bg-orange { 358 background-color: #f5871f; 359 } 360 361 .bg-purple { 362 background-color: #8959a8; 363 } 364 365 .bg-red { 366 background-color: #c82829; 367 } 368 369 .bg-white { 370 background-color: #ffffff; 371 } 372 373 .bg-yellow { 374 background-color: #eab700; 375 } 376 377 /* Border Colors */ 378 .br-black { 379 border-color: #1d1f21; 380 } 381 382 .br-blue { 383 border-color: #4271ae; 384 } 385 386 .br-brown { 387 border-color: #a3685a; 388 } 389 390 .br-cyan { 391 border-color: #3e999f; 392 } 393 394 .br-gray0 { 395 border-color: #efefef; 396 } 397 398 .br-gray1 { 399 border-color: #e0e0e0; 400 } 401 402 .br-gray2 { 403 border-color: #d6d6d6; 404 } 405 406 .br-gray3 { 407 border-color: #8e908c; 408 } 409 410 .br-gray4 { 411 border-color: #969896; 412 } 413 414 .br-gray5 { 415 border-color: #4d4d4c; 416 } 417 418 .br-gray6 { 419 border-color: #282a2e; 420 } 421 422 .br-green { 423 border-color: #718c00; 424 } 425 426 .br-orange { 427 border-color: #f5871f; 428 } 429 430 .br-purple { 431 border-color: #8959a8; 432 } 433 434 .br-red { 435 border-color: #c82829; 436 } 437 438 .br-white { 439 border-color: #ffffff; 440 } 441 442 .br-yellow { 443 border-color: #eab700; 444 } 445 446 /* Colors */ 447 .black { 448 color: #1d1f21; 449 } 450 451 .blue { 452 color: #4271ae; 453 } 454 455 .brown { 456 color: #a3685a; 457 } 458 459 .cyan { 460 color: #3e999f; 461 } 462 463 .gray0 { 464 color: #efefef; 465 } 466 467 .gray1 { 468 color: #e0e0e0; 469 } 470 471 .gray2 { 472 color: #d6d6d6; 473 } 474 475 .gray3 { 476 color: #8e908c; 477 } 478 479 .gray4 { 480 color: #969896; 481 } 482 483 .gray5 { 484 color: #4d4d4c; 485 } 486 487 .gray6 { 488 color: #282a2e; 489 } 490 491 .green { 492 color: #718c00; 493 } 494 495 .orange { 496 color: #f5871f; 497 } 498 499 .purple { 500 color: #8959a8; 501 } 502 503 .red { 504 color: #c82829; 505 } 506 507 .white { 508 color: #ffffff; 509 } 510 511 .yellow { 512 color: #eab700; 513 } 514 515 /* Media */ 516 @media print { 517 h1, h2, h3, h4, h5, h6 { 518 page-break-after: avoid; 519 } 520 } 521 522 @media only screen and (min-width: 1px) { 523 body { 524 max-width: 95%; 525 } 526 } 527 528 @media only screen and (min-width: 600px) { 529 body { 530 max-width: 95%; 531 } 532 .timeline-row { 533 grid-template-columns: 1fr 1fr; 534 } 535 } 536 537 @media only screen and (min-width: 800px) { 538 body { 539 max-width: 80%; 540 } 541 .timeline-row { 542 grid-template-columns: 1fr 1fr; 543 } 544 } 545 546 @media only screen and (min-width: 1000px) { 547 body { 548 max-width: 66%; 549 } 550 .split-row { 551 grid-template-columns: auto auto; 552 } 553 .text-right-if-wide { 554 text-align: right; 555 } 556 .timeline-row { 557 grid-template-columns: 1fr 1fr; 558 } 559 } 560 561 @media only screen and (min-width: 1200px) { 562 body { 563 max-width: 50%; 564 } 565 }