-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
245 lines (202 loc) · 4.38 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
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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
/* GLobal Styles */
background-image: url(media/clock.jpg);
* {
margin: 0;
padding: 0;
box-sizing: border-box;
justify-content: center;
place-items: center;
align-items: center;
}
h1 {
color: rgb(212, 242, 213);
background-color: rgb(3, 37, 37);
font-style: oblique;
margin: 0;
}
body {
min-height: 100vh;
font-family: sans-serif;
display: block;
max-height: none;
}
.d-flex {
display: flex;
}
.wrapper flex {
justify-items: center;
}
.container {
height: 30vh;
display: flex;
justify-content: center;
align-items: center;
}
.logo {
width: 30px;
margin: auto;
/* adjust the width as needed */
height: auto;
}
.clock {
font-size: 24px;
/* adjust the font size as needed */
}
.wrapper img {
height: auto;
width: 150px;
justify-items: center;
}
.wrapper img :hover {
box-shadow: 0px 1px 1px 10px rgba(194, 39, 39, 0.3);
}
.btn {
outline: none;
border: none;
background-color: #c6ca1e;
cursor: pointer;
padding: 0.5rem;
border-radius: 1px;
transition: all 0.3s ease-in-out;
}
select {
appearance: none;
outline: black;
background-color: #d6c8c8;
padding: 0.5rem;
font-weight: bold;
border: none;
border-radius: 2rem;
margin-right: 0.3rem;
cursor: pointer;
color: #0e141b;
border-color: black;
}
.mb {
margin-bottom: 1rem;
}
.date{
font-size: 20px;
font-weight: 600;
font-style: oblique;
text-align: center;
letter-spacing: 3px;
}
.time{
font-size: 60px;
display: flex;
justify-content: center;
align-items: center;
}
.time span:not(:last-child){
position: relative;
max-width: 0 6px;
font-weight: 600;
text-align: center;
}
.time span:last-child{
background: #2E94E3;
font-size: 30px;
font-weight: 600;
text-transform: uppercase;
margin-top: 10px;
padding: 0 5px;
border-radius: 3px;
}
/* End GLobal Styles */
.main-container {
min-height: 100vh;
align-items: center;
justify-content: center;
background-image: url(media/clock.jpg);
height: 100%;
/*background: linear-gradient(90deg, #00d2ff 0%, #3a47d5 100%);*/
}
.clock-container {
padding: 2rem;
flex-flow: column;
justify-content: flex-start;
align-items: center;
width: 100%;
min-height: 100vh;
background-color: #96a6947a;
}
.current-time {
font-size: 2rem;
font-weight: bold;
color: black;
text-align: center;
}
.alarm-form {
justify-content: space-between;
width: 115%;
}
#stopAlarm{
border-color: black;
background-color: #dc1133;
border: 100px;
border-radius: 2rem;
font-weight: bold;
height: 25px;
cursor: pointer;
box-shadow: 2px 3px rgba(0, 0, 0, 0.2);
margin: -1em 2em 0 20em;
box-shadow: ##fd1402 2px 2px 2px 1px inset, #f4db03 -2px -2px 10px 1px inset;
}
.submit-button {
border-color: black;
border: 100px;
border-radius: 2rem;
font-weight: bold;
justify-content: space-around;
}
.set-alarm-container {
width: 100%;
}
.set-alarm-container .set-alarm-container-title {
color: black;
font-weight: bold;
font-size: 1rem;
}
.alarm {
justify-content: space-between;
border-radius: 30px;
padding: 0.1rem 1rem;
align-items: center;
}
.alarm .delete-alarm {
border-radius: 2rem;
background-color: rgba(230, 13, 13, 0.918);
font-weight: bold;
color: wheat;
font-size: xx-medium;
}
.time {
color: #0e141b;
font-size: 1rem;
font-weight: bold;
}
.btn:focus,
.btn:hover {
box-shadow: #f8f7fc 2px 2px 2px 1px inset, #0f0f0e -2px -2px 10px 1px inset;
}
.page-title {
background: linear-gradient(90deg, #00d2ff 0%, #3a47d5 100%);
align-items: center;
justify-content: center;
text-align: center;
color: black;
}
/* style of devices of screen size less than 768px */
@media only screen and (min-width: 600px) {
/* adding padding to container */
.main-container {
padding-block: 2rem;
}
.clock-container {
justify-content: center;
border-radius: 50px;
width: 400px;
min-height: auto;
}
}