-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
67 lines (60 loc) · 1.33 KB
/
style.css
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
*{
box-sizing: border-box;
}
body{
--main_color: aqua;
--accent_color: salmon;
--button_text_color:var(var(--main_color));
--button-bg-color:var(var(--accent_color));
--link-text-color:var(--accent_color);
--transition: 0.3s;
padding: 0;
margin: 0;
background-color: var(--main_color);
color: var(--accent_color);
font-family: "Press Start 2P", cursive;
transition: var(--transition);
}
body.dark {
--main_color:#000;
--accent_color:#7af9c3;
--button_text_color:var(--main_color);
--button-bg-color:var(--accent_color);
--link-text-color:var(--accent_color);
background-color: var(--main_color);
color: var(--accent_color);
}
.page-wrapper{
max-width: 900px;
width: 90%;
margin: 0 auto;
}
.header {
padding: 1.5rem 0;
}
.options-wrapper {
display: flex;
flex-direction: column-reverse;
align-items: start;
}
.current-date {
font-size: clamp(0.75rem, 2.5vw, 1.5rem);
}
.mode-btn {
font-size: clamp(0.5rem, 2.5vw, 0.75rem);
}
@media (min-width: 800px) {
.options-wrapper {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.main {
padding: 9rem;
}
.btns-wrapper {
flex-direction: row;
justify-content: space-evenly;
}
}