-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
99 lines (90 loc) · 1.58 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
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
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600&family=Roboto+Mono:wght@700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #09090a;
color: #cecece;
height: 100vh;
}
header {
position: fixed;
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
background: #09090a;
padding: 3rem;
gap: 1rem;
}
button {
padding: 1rem 1.5rem;
border-radius: 0.5rem;
border: 1px solid #5cf661;
background-color: transparent;
color: #cecece;
display: flex;
align-items: center;
gap: 0.75rem;
font-family: 'Inter', sans-serif;
font-weight: 600;
font-size: 1rem;
line-height: 125%;
}
#form-habits {
display: flex;
padding: 11rem 3rem 3rem;
width: fit-content;
}
.habits {
display: flex;
flex-direction: column;
margin-top: 3.5rem;
gap: 1.5rem;
}
.habit {
display: flex;
align-items: center;
justify-content: center;
width: 4rem;
height: 4rem;
font-size: 2rem;
}
.days {
display: flex;
margin-left: 2rem;
gap: 2.5rem;
}
.day {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.day div {
text-align: center;
margin-bottom: 0.5rem;
font-family: 'Roboto Mono', 'Consolas';
font-size: 1.25rem;
line-height: 125%;
color: #a1a1a1aa;
}
input {
-webkit-appearance: none;
appearance: none;
width: 4rem;
height: 4rem;
border: 2px solid #27272a;
border-radius: 0.5rem;
background: #18181b;
}
input:checked {
background: #5cf65c;
border: 2px solid #b5fdbe;
}
@media (max-width: 570px) {
button p {
display: none;
}
}