-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
106 lines (91 loc) · 1.86 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
100
101
102
103
104
105
106
/* ===== GENERAL STYLES ===== */
* {
margin: 0;
font-family: inherit;
box-sizing: border-box;
}
.container {
width: min(800px, 85vw);
margin-inline: auto;
}
body {
background-color: #09090A;
color: #A1A1AA;
font-family: 'Roboto Mono', monospace;
min-height: 100vh;
}
header {
background-color: #09090A;
position: fixed;
width: 100%;
top: 0;
}
header .container {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 100px;
padding-bottom: 48px;
}
header .container button {
background-color: transparent;
color: white;
font-size: 16px;
font-family: 'Inter', sans-serif;
border: 1px solid #8B5CF6;
border-radius: 8px;
display: flex;
align-items: center;
gap: 12px;
height: 52px;
padding: 16px 24px;
}
main {
padding-top: 232px;
padding-bottom: 48px;
}
main .container #form-habits {
display: flex;
gap: 32px;
padding-right: 7.5vw;
width: fit-content;
}
main .container #form-habits .habits {
margin-top: 45px;
display: flex;
flex-direction: column;
gap: 24px;
}
main .container #form-habits .habits .habit {
font-size: 32px;
line-height: 64px;
}
main .container #form-habits .days {
display: flex;
gap: 48px;
}
main .container #form-habits .days .day {
display: flex;
flex-direction: column;
gap: 24px;
}
main .container #form-habits .days .day p {
font-size: 20px;
}
main .container #form-habits .days .day input {
appearance: none;
background-color: #18181B;
width: 64px;
height: 64px;
border: 2px solid #27272A;
border-radius: 8px;
}
main .container #form-habits .days .day input:checked {
background-color: #8B5CF6;
border-color: #A78BFA;
}
@media (max-width: 570px) {
header .container button span {
display: none;
}
}