-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.css
More file actions
175 lines (171 loc) · 3.07 KB
/
Copy pathsettings.css
File metadata and controls
175 lines (171 loc) · 3.07 KB
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
/* v0.2.5 */
#main {
margin: 0px;
display: flex;
height: 100%;
}
footer {
margin: 0px;
}
/* Menu */
#menu {
background-color: lightgray;
display: flex;
flex-direction: column;
width: clamp(100px, 20vw, 500px);
margin: 0px;
padding: 8px 0px;
}
#menu.darkmode {
background-color: gray;
}
#menu h1 {
padding: 0.5vw 0px;
margin: 0px 1vw;
border-radius: 10px;
display: flex;
justify-content: center;
user-select: none;
font-size: clamp(15px, 4vw, 30px);
}
#menu h1:hover {
background-color: darkgray;
}
#menu hr {
width: 90%;
border: none;
background-color: gray;
height: 2px;
}
#menu.darkmode hr {
background-color: lightgray;
}
/* Content */
#content {
display: flex;
flex-direction: column;
padding: 1vh 2vw;
overflow-y: auto;
overflow-x: hidden;
flex: 1;
}
#content * {
user-select: none;
}
#content h1 {
margin: 0.25% 0px;
}
#content h2 {
margin: 0.5% 0px;
}
#content p {
margin: 0px;
overflow-wrap: break-word;
}
#content .copy {
margin-left: 1vw;
color: darkgray;
}
#content .copy:hover {
cursor: pointer;
}
#content form label {
display: block;
}
#content label {
margin: 1vh 0px;
}
#content input {
margin: 0px;
}
#content form input {
margin: 0px;
}
#content button {
margin: 0.25% 0px;
width: fit-content;
}
:root {
--toggle-size: 25px;
}
#content p.toggle {
display: flex;
align-items: center;
justify-content: space-between;
}
#content label.toggle {
width: calc(var(--toggle-size) * 2);
height: var(--toggle-size);
border-radius: 100vw;
display: flex;
align-items: center;
background-color: red;
transition-duration: 0.4s;
}
#content label.toggle:has(input.toggle:checked) {
background-color: green;
}
#content span.toggle {
height: calc(var(--toggle-size) * 0.8);
width: calc(var(--toggle-size) * 0.8);
border-radius: 100vw;
display: inline-block;
background-color: #f2f2f2;
position: relative;
left: calc(var(--toggle-size) * 0.1);
transition-duration: 0.4s;
}
#content label.toggle input.toggle:checked + span.toggle {
left: calc(var(--toggle-size) + calc(var(--toggle-size) * 0.1));
}
#content input.toggle {
position: absolute;
left: -100vw;
}
#content p.select {
display: flex;
justify-content: space-between;
}
#content.darkmode {
background-color: dimgray;
}
/* Login Screen */
#login-sidebar {
position: fixed;
}
#login {
position: fixed;
background-color: darkgray;
display: flex;
flex-direction: column;
text-align: center;
align-items: center;
}
#login.darkmode {
background-color: dimgray;
}
#login h1 {
margin-top: 5vh;
}
#login form {
display: flex;
flex-direction: column;
align-items: center;
}
#login-other {
margin: 10vw 0px;
}
#login #show-password {
color: blue;
user-select: none;
}
#login #show-password:hover {
cursor: pointer;
}
#login button:hover {
background-color: green;
}
#login button {
width: clamp(10px, 50vw, 200px);
margin: 1vw 0px;
}