-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
216 lines (180 loc) · 3.66 KB
/
style.css
File metadata and controls
216 lines (180 loc) · 3.66 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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: system-ui, sans-serif;
}
html {
font-size: 16px;
}
body {
background-color: #202020;
}
header nav {
border: 2px solid rgb(41, 41, 41);
box-shadow: 2px 2px 20px rgba(11, 11, 11, 0.37);
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
position: sticky;
top: 0;
}
header nav .logo {
font-weight: bold;
font-size: 1.5rem;
font-variant: small-caps;
color: crimson;
padding: 0 1em;
letter-spacing: 0.1em;
padding: 0.5em 1em;
}
header nav ul {
display: flex;
gap: 1em;
list-style: none;
margin: 0 1em;
align-items: center;
}
header nav ul li a {
/* font-weight: bold; */
display: inline-block;
text-decoration: none;
font-size: 1.4rem;
color: rgb(200, 200, 200);
padding: 0.5em 0;
margin: 0.2em;
transition: transform 0.5s ease-in-out;
}
header nav ul li a:hover {
color: gold;
}
main {
display: flex;
align-items: center;
justify-content: center;
height: calc(100vh - 69px);
/* adjust based on nav height */
}
.timer-section {
width: 20em;
height: 20em;
border-radius: 50%;
border: 2px solid rgb(41, 41, 41);
box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.35), -5px -5px 20px rgba(60, 60, 60, 0.286);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.timer-section .timer,span {
font-size: 4rem;
font-weight: bold;
/* color: goldenrod; */
color: rgb(200, 200, 200);
}
.timer-section .timer {
letter-spacing: 0.05em;
}
.buttons {
margin-top: 1em;
}
.buttons .btn {
border: none;
outline: none;
background: transparent;
margin: 0 0.5em;
padding: 0.5em;
color: crimson;
transition: transform 0.1s ease-in-out;
}
.buttons .btn i {
font-size: 1.5rem;
}
.buttons .btn:active {
transform: scale(1.3);
}
.status {
display: flex;
align-items: center;
justify-content: space-around;
padding: 0.2em;
/* margin-top: 0.9em; */
}
.status .light {
width: 0.5em;
height: 0.5em;
background-color: grey;
box-shadow: 0 0 10px rgba(128, 128, 128, 0.5);
border-radius: 50%;
margin: 0 0.4em;
}
.status .light.work {
background-color: #00ff88;
box-shadow: 0 0 15px rgba(0, 255, 136, 0.7);
}
.status .light.break {
background-color: gold;
box-shadow: 0 0 15px gold;
}
.status p {
color: grey;
font-size: 1.1rem;
letter-spacing: 0.1rem;
}
/* setting panel */
#settingBtn{
background-color: transparent;
color: rgb(188, 188, 188);
border: none;
font-size: 1.5rem;
padding: 0.5em 0;
margin: 0.2em;
transition: transform 0.4s ease-in-out;
}
#settingBtn:hover{
/* transform: rotate(180deg); */
color: gold;
}
.settingPanel {
display: flex;
flex-direction: column;
gap: 0.5em;
position: fixed;
top: 5em;
right: 1em;
background-color: #202020;
border: 2px solid rgb(41, 41, 41);
padding: 1em;
border-radius: 0.5em;
color: rgb(188, 188, 188);
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.35);
z-index: 100;
width: 15em;
}
.settingPanel label {
display: block;
margin-top: 1em;
font-size: 0.9rem;
}
.settingPanel span{
font-size: 2rem;
font-weight: 600;
}
.settingPanel input[type="range"] {
width: 100%;
}
.settingPanel button {
margin-top: 2em;
padding: 0.4em 1em;
background: green;
color: white;
border: none;
cursor: pointer;
border-radius: 0.3em;
font-weight: bold;
letter-spacing: 0.1rem;
}
#settingPanel[hidden] {
display: none;
}