-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
54 lines (54 loc) · 977 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
@font-face {
font-family: "Digital-7";
src: url(digital-7\ \(mono\).ttf);
}
body {
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
height: 100vh;
justify-content: center;
background-size: cover;
overflow: hidden;
}
h2 {
text-transform: uppercase;
font-family: sans-serif;
letter-spacing: 4px;
font-size: 14px;
text-align: center;
color: black;
}
.clock {
display: flex;
font-family: 'Digital-7';
}
.clock div {
margin: 5px;
position: relative;
}
.clock span {
width: 100px;
height: 80px;
opacity: 0.8;
color: black;
display: flex;
justify-content: center;
align-items: center;
font-size: 50px;
}
.clock .text {
height: 30px;
font-size: 15px;
text-transform: uppercase;
letter-spacing: 2px;
opacity: 0.8;
}
.clock #ampm {
bottom: 0;
position: absolute;
width: 60px;
height: 30px;
font-size: 20px;
}