-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
71 lines (60 loc) · 1.08 KB
/
index.css
File metadata and controls
71 lines (60 loc) · 1.08 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
:root {
--color-bg: #fffffe;
--color-heading: #232946;
--color-content: var(--color-heading);
--color-bg-btn: #232946;
--color-text-btn: #b8c1ec;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #232946;
--color-heading: #fffffe;
--color-content: #b8c1ec;
--color-bg-btn: #eebbc3;
--color-text-btn: #232946;
}
}
* {
text-align: center;
}
body {
width: 100vw;
min-height: 100vh;
background-color: var(--color-bg);
}
h1 {
color: var(--color-heading);
}
p {
color: var(--color-content);
}
button {
padding: 0.5em 1em;
border: none;
border-radius: 0.5em;
outline: none;
background-color: var(--color-bg-btn);
color: var(--color-text-btn);
font-size: 1em;
}
button:hover {
cursor: pointer;
box-shadow: 0 1px 10px 10px rgba(0, 0, 0, 0.1);
}
/* :root {
--color-bg: #fffffe;
--color-heading: #232946;
--color-content: var(--color-heading);
--color-bg: #232946;
--color-heading: #fffffe;
--color-content: #b8c1ec;
}
* {
text-align: center;
}
h1 {
color: var(--color-heading);
}
p {
color: var(--color-content);
} */