-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
78 lines (61 loc) · 1.07 KB
/
style.css
File metadata and controls
78 lines (61 loc) · 1.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
:root {
--colorSecondary: #888888;
}
body {
--colorPrimary: #FFFFFF;
--colorText: #000000;
}
/* https://stackoverflow.com/questions/62904683/how-are-themes-implemented-in-css */
body.dark {
--colorPrimary: #000000;
--colorText: #FFFFFF;
}
html, body {
background-color: var(--colorPrimary);
color: var(--colorText);
height: 100%;
margin: 0;
}
html {
display: table;
margin: auto;
font-size: 100%;
}
body {
min-height: 100vh;
margin: 0;
display: flex;
flex-direction: column;
overflow: auto;
justify-content: center;
align-items: center;
}
* {
box-sizing: border-box;
}
button {
background-color: var(--colorSecondary);
}
p {
margin: 0;
padding: 0;
font-size: 5vh;
}
h1 {
font-size: 10vh;
}
button {
font-size: 5vh;
margin: 0.5vh;
width: 100vh;
}
input {
background-color: var(--colorPrimary);
border-color: var(--colorText);
color: var(--colorText);
font-size: 5vh;
width: 100vw;
height: 10vh;
overflow: hidden;
text-align: center;
}