-
-
Notifications
You must be signed in to change notification settings - Fork 133
/
Copy pathstyle.css
81 lines (67 loc) · 1.06 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #333;
text-align: center;
display: grid;
place-content: center;
min-height: 100svh;
}
.calculator {
background-color: #fff;
background-color: gray;
color: #fff;
border-radius: 10px;
margin: 20px;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
min-height: 75svh;
}
.header {
display: flex;
flex-direction: column;
gap: 2rem;
}
.mode-switch {
align-self: flex-end;
}
.mode-switch label {
cursor: pointer;
}
input[type='checkbox'] {
visibility: hidden;
}
main {
height: 75%;
display: grid;
place-content: center;
}
#current-time{
display: flex;
flex-direction: column;
gap: 1rem;
margin-bottom: 10px;
}
.options,
.input-section,
.calculate-button {
margin: 20px 0;
}
select,input,button{
padding: 10px;
border-radius: .5rem;
}
.result {
margin: 20px 0;
}
#time-remaining {
font-weight: bold;
}
.light-mode {
background-color: #f0f0f0;
color: #000;
}