forked from alirahimi818/simple-PWA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
65 lines (56 loc) · 821 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
58
59
60
61
62
63
64
65
* {
box-sizing: border-box;
font-family: 'Roboto', sans-serif;
}
body {
margin: 0;
padding: 0;
width: 100vw;
height: 97vh;
background: black;
color: whitesmoke;
}
.clock {
height: 100%;
width: 100%;
display: flex;
font-size: calc(100vw/5);
justify-content: center;
align-items: center;
gap: 5vw;
}
.digits {
font-weight: bold;
}
.digits:last-of-type {
opacity: 0.95;
}
.separator {
font-size: 0.5em;
}
footer {
position: sticky;
bottom: 8px;
text-align: center;
}
.btn {
margin: 0;
padding: 0;
border: none;
background: unset;
color: unset;
cursor: pointer;
}
#a2hs {
display: none;
}
@media screen and (orientation: portrait) {
.clock {
flex-direction: column;
gap: 20px;
font-size: calc(100vh/5);
}
.separator {
display: none;
}
}