blob: bcfd055daa434c9a6fb7636b4aefee24cdb767b5 [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;
pineafan4f9cf4d2021-10-24 09:02:30 +010019
pineafandf39fd42021-09-04 16:05:27 +010020 background-color: var(--page-background);
21}
22
23@media (prefers-color-scheme: dark) {
24 html {
25 --card-background-color: rgba(0, 0, 0, 0.65);
26 --card-text-color: #ffffff;
27 --card-overlay-filter: brightness(0.75);
28 --card-filter: drop-shadow(0px 0px 5px #42424280);
29 --page-background: #252525;
30 --link-color: #6576CC;
31 --hint-color: #101010;
32 }
33}
34
35
36.light {
37 --card-background-color: rgba(255, 255, 255, 0.65);
38 --card-text-color: #424242;
39 --card-overlay-color: rgba(0, 0, 0, 0);
40 --card-filter: drop-shadow(0px 0px 5px #00000080);
41 --page-background: #ffffff;
42 --link-color: #6576CC;
43 --hint-color: #f1f1f1;
44}
45
46.dark {
47 --card-background-color: rgba(0, 0, 0, 0.65);
pineafana5ce9102021-09-02 17:21:31 +010048 --card-text-color: #ffffff;
49 --card-overlay-filter: brightness(0.75);
50 --card-filter: drop-shadow(0px 0px 5px #42424280);
pineafand494b852021-09-03 19:49:49 +010051 --page-background: #252525;
52 --link-color: #6576CC;
pineafandf39fd42021-09-04 16:05:27 +010053 --hint-color: #101010;
Samuel Shuert016ea022021-09-01 16:17:24 -050054}
55
pineafandf39fd42021-09-04 16:05:27 +010056
Samuel Shuert016ea022021-09-01 16:17:24 -050057a {
Samuel Shuert016ea022021-09-01 16:17:24 -050058 text-decoration: none;
pineafand494b852021-09-03 19:49:49 +010059 transition: 0.5s ease-in-out;
60 color: var(--link-color)
Samuel Shuert016ea022021-09-01 16:17:24 -050061}
62
63* {
64 box-sizing: border-box;
pineafanad183522021-10-24 09:24:59 +010065 font-family: 'Roboto', sans-serif;
Samuel Shuert604e31d2021-09-02 16:06:20 -050066 scroll-behavior: smooth;
Samuel Shuert016ea022021-09-01 16:17:24 -050067}
pineafand494b852021-09-03 19:49:49 +010068
69code {
70 font-family: monospace;
71 font-weight: bold;
72 color: #F27878;
73 background-color: var(--hint-color);
74 padding: 2px;
75 font-size: 105%;
76 border-radius: 5px;
77 padding-left: 5px;
78}