blob: a5024dff985e9dd15438ce6820c2e8cce5266f67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
:root {
--colour-scheme: light;
--background-color: #ffffff;
--text-color: #333333;
--subtitle-color: #444444;
--border-color: #eeeeee;
--button-background-color: #007bff;
--button-hover-background-color: #0069d9;
--button-disabled-background-color: #cccccc;
--star-color: #ffcc00;
--message-background-color: #f8f9fa;
font-family: 'Roboto Variable', Roboto, Arial, sans-serif;
}
[data-theme='dark'] {
--colour-scheme: dark;
--background-color: #121212;
--text-color: #ffffff;
--subtitle-color: #bbbbbb;
--border-color: #444444;
--button-background-color: #1e88e5;
--button-hover-background-color: #1565c0;
--button-disabled-background-color: #555555;
--star-color: #ffcc00;
--message-background-color: #333333;
}
body {
color-scheme: var(--colour-scheme, light);
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: var(--background-color);
display: flex;
flex-direction: column;
height: 100dvh;
width: 100%;
overflow: hidden;
}
.main-content {
flex: 1;
overflow: auto;
overflow-x: hidden;
}
.navigation-bar {
display: flex;
justify-content: space-around;
align-items: center;
padding: 0.5rem 0;
background-color: var(--background-color);
border-top: 1px solid var(--border-color);
}
.navigation-bar__link {
flex: 1 0;
display: flex;
flex-direction: column;
align-items: center;
text-decoration: none;
color: var(--text-color);
padding: .25rem 0;
border-radius: .5rem;
}
.navigation-bar__link svg {
width: 1.75rem;
height: 1.75rem;
margin-bottom: 5px;
fill: none;
stroke-width: 2;
}
.navigation-bar__link span {
font-size: 14px;
line-height: 1;
}
.navigation-bar__link.active {
color: var(--button-background-color);
}
.theme-toggle {
background: none;
border: none;
cursor: pointer;
color: inherit;
display: flex;
align-items: center;
justify-content: center;
padding: 8px;
}
.theme-toggle:hover {
color: var(--button-hover-background-color);
}
.page-container {
max-width: 100%;
padding: 0 16px;
background-color: var(--background-color);
color: var(--text-color);
}
@media (min-width: 768px) {
.page-container {
width: 90%;
max-width: 768px;
margin: 0 auto;
}
.page-title {
font-size: 2.2rem;
}
}
@media (min-width: 1024px) {
.page-container {
max-width: 1024px;
}
}
|