blob: 42628a9cb8507c47a01a23a4da03537924858e32 [file] [log] [blame]
pineafana5ce9102021-09-02 17:21:31 +01001html, body {
Samuel Shuert016ea022021-09-01 16:17:24 -05002 padding: 0;
3 margin: 0;
pineafana5ce9102021-09-02 17:21:31 +01004
pineafandf39fd42021-09-04 16:05:27 +01005 overflow-x: hidden;
6}
7
8html {
pineafana5ce9102021-09-02 17:21:31 +01009 --card-background-color: rgba(255, 255, 255, 0.65);
10 --card-text-color: #424242;
11 --card-overlay-color: rgba(0, 0, 0, 0);
12 --card-filter: drop-shadow(0px 0px 5px #00000080);
13 --page-background: #ffffff;
pineafand494b852021-09-03 19:49:49 +010014 --link-color: #6576CC;
15 --hint-color: #f1f1f1;
pineafandf39fd42021-09-04 16:05:27 +010016
17 background-color: var(--page-background);
18}
19
20@media (prefers-color-scheme: dark) {
21 html {
22 --card-background-color: rgba(0, 0, 0, 0.65);
23 --card-text-color: #ffffff;
24 --card-overlay-filter: brightness(0.75);
25 --card-filter: drop-shadow(0px 0px 5px #42424280);
26 --page-background: #252525;
27 --link-color: #6576CC;
28 --hint-color: #101010;
29 }
30}
31
32
33.light {
34 --card-background-color: rgba(255, 255, 255, 0.65);
35 --card-text-color: #424242;
36 --card-overlay-color: rgba(0, 0, 0, 0);
37 --card-filter: drop-shadow(0px 0px 5px #00000080);
38 --page-background: #ffffff;
39 --link-color: #6576CC;
40 --hint-color: #f1f1f1;
41}
42
43.dark {
44 --card-background-color: rgba(0, 0, 0, 0.65);
pineafana5ce9102021-09-02 17:21:31 +010045 --card-text-color: #ffffff;
46 --card-overlay-filter: brightness(0.75);
47 --card-filter: drop-shadow(0px 0px 5px #42424280);
pineafand494b852021-09-03 19:49:49 +010048 --page-background: #252525;
49 --link-color: #6576CC;
pineafandf39fd42021-09-04 16:05:27 +010050 --hint-color: #101010;
Samuel Shuert016ea022021-09-01 16:17:24 -050051}
52
pineafandf39fd42021-09-04 16:05:27 +010053
Samuel Shuert016ea022021-09-01 16:17:24 -050054a {
Samuel Shuert016ea022021-09-01 16:17:24 -050055 text-decoration: none;
pineafand494b852021-09-03 19:49:49 +010056 transition: 0.5s ease-in-out;
57 color: var(--link-color)
Samuel Shuert016ea022021-09-01 16:17:24 -050058}
59
60* {
61 box-sizing: border-box;
pineafana5ce9102021-09-02 17:21:31 +010062 font-family: 'Roboto', sans-serif;
Samuel Shuert604e31d2021-09-02 16:06:20 -050063 scroll-behavior: smooth;
Samuel Shuert016ea022021-09-01 16:17:24 -050064}
pineafand494b852021-09-03 19:49:49 +010065
66code {
67 font-family: monospace;
68 font-weight: bold;
69 color: #F27878;
70 background-color: var(--hint-color);
71 padding: 2px;
72 font-size: 105%;
73 border-radius: 5px;
74 padding-left: 5px;
75}