capsul.org webapp
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request 'add optional light color theme to style.css' (#51) from reese/capsul-flask:main into main

Reviewed-on: https://git.cyberia.club/cyberia/capsul-flask/pulls/51

forest 24672f61 d4ba12a8

+61 -11
+61 -11
capsulflask/static/style.css
··· 1 + @media (prefers-color-scheme: light) { 2 + .yellow { 3 + color: rgba(221, 169, 56, 1) !important; 4 + } 5 + 6 + html { 7 + color: #241e1e !important; 8 + background-color: #eaeed9 !important; 9 + } 10 + 11 + a { 12 + color:#2ea1d2 !important; 13 + text-shadow: 1px 1px 0px #0001 !important; 14 + } 15 + input[type=submit].form-submit-link { 16 + color:#2ea1d2 !important; 17 + } 18 + a:hover, a:active, a:visited { 19 + color: #94a12d !important; 20 + } 21 + h1, h2, h3, h4, h5 { 22 + text-shadow: 2px 2px 0px #0001 !important; 23 + } 24 + 25 + main { 26 + border-color: #777e73 !important; 27 + } 28 + 29 + input, select, textarea { 30 + color: #241e1e !important; 31 + background-color: #fff3 !important; 32 + } 33 + 34 + thead { 35 + background: #dbe5d6 !important; 36 + } 37 + th { 38 + border-color: #eaf4e5 !important; 39 + } 40 + 41 + .code { 42 + background: #fff3 !important; 43 + } 44 + 45 + .metric img, .metrics img { 46 + filter: brightness(50%) saturate(250%); 47 + } 48 + } 49 + 50 + 1 51 html { 2 52 color: #bdc7b8; 3 53 font: calc(0.40rem + 1vmin) monospace; ··· 10 60 margin-left: auto; 11 61 min-width: 33rem; 12 62 max-width: 53rem; 13 - } 63 + } 14 64 15 65 @media only screen and (max-width: 53rem) { 16 66 body { ··· 29 79 30 80 a:hover, a:active, a:visited { 31 81 color: #b5bd68; 32 - } 82 + } 33 83 34 84 .nav-links a { 35 85 margin: 0 1em; ··· 196 246 -webkit-appearance: none; 197 247 -moz-appearance: none; 198 248 appearance: none; 199 - background-image: url(/static/dropdown-handle.png); 249 + background-image: url(/static/dropdown-handle.png); 200 250 background-repeat: no-repeat; 201 251 background-position: bottom 0.65em right 0.8em; 202 252 background-size: 0.5em; ··· 235 285 236 286 input[type=submit].form-submit-link { 237 287 border: none; 238 - background-color: initial; 288 + background-color: #0000 !important; 239 289 color: #6CF; 240 290 padding: 0; 241 291 margin: 0; ··· 265 315 margin-left: 1.2rem; 266 316 } 267 317 268 - .long-form p, 318 + .long-form p, 269 319 .long-form li, 270 320 .long-form blockquote { 271 321 line-height: 2em; 272 322 } 273 323 274 324 275 - .long-form p .code, 325 + .long-form p .code, 276 326 .long-form li .code, 277 327 .long-form blockquote .code 278 328 { ··· 336 386 } 337 387 td { 338 388 font: calc(0.35rem + 0.95vmin) monospace; 339 - border-bottom: 2px dotted #777e7355; 389 + border-bottom: 2px dotted #777e7388; 340 390 padding-top: 0.4rem; 341 391 padding-bottom: 0.4rem; 342 392 } ··· 435 485 436 486 form.megaphone { 437 487 margin-top: 1rem; 438 - width: 640px; 488 + width: 640px; 439 489 max-width: 100%; 440 490 } 441 491 442 492 form.megaphone input[type=text], 443 493 form.megaphone textarea { 444 - width: 100%; 494 + width: 100%; 445 495 } 446 496 form.megaphone textarea { 447 - height: 360px; 448 - } 497 + height: 360px; 498 + }