blob: a9601064b9f34050a5925c5b3d98693f6451921b [file] [log] [blame]
pineafanad183522021-10-24 09:24:59 +01001@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
pineafan4f9cf4d2021-10-24 09:02:30 +01002
3
pineafana5ce9102021-09-02 17:21:31 +01004html, body {
Samuel Shuert016ea022021-09-01 16:17:24 -05005 padding: 0;
6 margin: 0;
pineafana5ce9102021-09-02 17:21:31 +01007
pineafandf39fd42021-09-04 16:05:27 +01008 overflow-x: hidden;
9}
10
11html {
pineafana5ce9102021-09-02 17:21:31 +010012 --card-background-color: rgba(255, 255, 255, 0.65);
13 --card-text-color: #424242;
14 --card-overlay-color: rgba(0, 0, 0, 0);
15 --card-filter: drop-shadow(0px 0px 5px #00000080);
16 --page-background: #ffffff;
pineafand494b852021-09-03 19:49:49 +010017 --link-color: #6576CC;
18 --hint-color: #f1f1f1;
pineafan30307e62021-11-02 21:09:43 +000019 --card-border-color: #C4C4C4;
pineafan4f9cf4d2021-10-24 09:02:30 +010020
pineafandf39fd42021-09-04 16:05:27 +010021 background-color: var(--page-background);
22}
23
24@media (prefers-color-scheme: dark) {
25 html {
26 --card-background-color: rgba(0, 0, 0, 0.65);
27 --card-text-color: #ffffff;
28 --card-overlay-filter: brightness(0.75);
29 --card-filter: drop-shadow(0px 0px 5px #42424280);
30 --page-background: #252525;
31 --link-color: #6576CC;
32 --hint-color: #101010;
pineafan30307e62021-11-02 21:09:43 +000033 --card-border-color: #424242;
pineafandf39fd42021-09-04 16:05:27 +010034 }
35}
36
37
38.light {
39 --card-background-color: rgba(255, 255, 255, 0.65);
40 --card-text-color: #424242;
41 --card-overlay-color: rgba(0, 0, 0, 0);
42 --card-filter: drop-shadow(0px 0px 5px #00000080);
43 --page-background: #ffffff;
44 --link-color: #6576CC;
45 --hint-color: #f1f1f1;
pineafan30307e62021-11-02 21:09:43 +000046 --card-border-color: #C4C4C4;
pineafandf39fd42021-09-04 16:05:27 +010047}
48
49.dark {
50 --card-background-color: rgba(0, 0, 0, 0.65);
pineafana5ce9102021-09-02 17:21:31 +010051 --card-text-color: #ffffff;
52 --card-overlay-filter: brightness(0.75);
53 --card-filter: drop-shadow(0px 0px 5px #42424280);
pineafand494b852021-09-03 19:49:49 +010054 --page-background: #252525;
55 --link-color: #6576CC;
pineafandf39fd42021-09-04 16:05:27 +010056 --hint-color: #101010;
pineafan30307e62021-11-02 21:09:43 +000057 --card-border-color: #424242;
Samuel Shuert016ea022021-09-01 16:17:24 -050058}
59
pineafandf39fd42021-09-04 16:05:27 +010060
Samuel Shuert016ea022021-09-01 16:17:24 -050061a {
Samuel Shuert016ea022021-09-01 16:17:24 -050062 text-decoration: none;
pineafand494b852021-09-03 19:49:49 +010063 transition: 0.5s ease-in-out;
64 color: var(--link-color)
Samuel Shuert016ea022021-09-01 16:17:24 -050065}
66
67* {
68 box-sizing: border-box;
pineafanad183522021-10-24 09:24:59 +010069 font-family: 'Roboto', sans-serif;
Samuel Shuert604e31d2021-09-02 16:06:20 -050070 scroll-behavior: smooth;
Samuel Shuert016ea022021-09-01 16:17:24 -050071}
pineafand494b852021-09-03 19:49:49 +010072
73code {
74 font-family: monospace;
75 font-weight: bold;
76 color: #F27878;
77 background-color: var(--hint-color);
78 padding: 2px;
79 font-size: 105%;
80 border-radius: 5px;
81 padding-left: 5px;
82}