-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
83 lines (79 loc) · 1.78 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
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #080e2e;
font-family: 'Montserrat', sans-serif;
}
#clock h2{
position: relative;
display: block;
color: white;
text-align: center;
margin: 10px 0;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.4em;
font-size: 1em;
}
#clock h1{
position: relative;
display: block;
color: rgb(252, 104, 104);
text-align: center;
margin: 10px 0;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.4em;
font-size: 2.5em;
}
#clock #time{
display: flex;
}
#clock #time div{
position: relative;
margin: 0 5px;
-webkit-box-reflect: below 1px linear-gradient(transparent,#0004);
}
#clock #time div span{
position: relative;
display: block;
width: 100px;
height:80px;
background: #108aaf;
color: white;
font-weight: 300;
display: flex;
justify-content: center;
align-items: center;
font-size: 3em;
z-index: 10;
box-shadow: 0 0 0 1px rgba(0, 0, 0, .2);
}
#clock #time div span:nth-child(2){
height: 30px;
font-size: 0.7em;
letter-spacing: 0.2em;
font-weight: 500;
z-index: 9;
box-shadow: none;
background: #064457;
text-transform: uppercase;
}
#clock #time div:nth-last-child(2) span{
background: #ff006a;
}
#clock #time div:nth-last-child(2) span:nth-child(2){
background: #81083b;
}
#clock #time div:nth-last-child(1) span{
position: absolute;
bottom: 0;
width: 60px;
height: 40px;
font-size: 1.5em;
background: #fff;
color: #000;
-webkit-box-reflect: below 1px linear-gradient(transparent,#0004);
}