-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
57 lines (50 loc) · 883 Bytes
/
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
* {
margin: 0;
padding: 0;
}
#container {
align-items: center;
background-color: cadetblue;
display: flex;
flex-direction: column;
justify-content: center;
min-height: 100vh;
min-width: 100vw;
}
#clock {
align-items: center;
background-color: burlywood;
border-radius: 8px;
display: flex;
height: 40vh;
justify-content: center;
width: 80vh;
}
#display {
align-items: center;
background-color: darkgray;
border-radius: 8px;
color: antiquewhite;
display: grid;
font-size: 25vh;
grid-template-columns: 4fr 1fr 4fr 1fr;
height: calc(100% - 3rem);
width: calc(100% - 3rem);
}
#hours {
display: flex;
justify-content: flex-end;
}
#colon {
padding-bottom: 1rem;
}
#seconds_am-pm {
align-items: inherit;
display: grid;
font-size: 5vh;
grid-template-rows: 1fr 1fr;
height: 20vh;
}
.spans {
display: none;
}