forked from SaiRamana-IITH/countdown-clock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtimer.css
128 lines (122 loc) · 2.05 KB
/
timer.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
.display {
flex: 1;
display: flex;
flex-direction : column;
align-items : center;
justify-content : center;
background: #001f3f;
font-family: tahoma !important;
padding-bottom: 60px;
}
.event_title {
color: #fff;
text-align: center;
font-size: 74px;
letter-spacing: 10px;
}
p.action_caption{
color: #fff;
text-align: center;
font-size: 16px;
letter-spacing: 5px;
font-weight: 100;
}
#door{
text-align: center;
}
.call_to_action_button{
margin-top: 40px;
border-radius: 20px;
}
button.call_to_action_button {
letter-spacing: 2px;
text-align: center;
font-size: 16px;
top: 50%;
left: 50%;
color: #fff;
padding: 20px;
width: 0 auto;
border-radius: 20px;
box-sizing: border-box;
background: #0074D9;
border-style: none;
}
button:hover{
background: #fff;
color: #0074D9;
font-weight: bold;
}
button:active{
background: #fff;
color: #0074D9;
font-weight: bold;
}
button:focus{
background: #fff;
color: #0074D9;
font-weight: bold;
}
.clock{
width: auto;
}
#numbers{
width: auto;
}
#numbers span{
float: left;
text-align: center;
font-size: 60px;
margin: 0 2.5%;
color: #fff;
padding: 20px;
width: 20%;
border-radius: 20px;
box-sizing: border-box;
}
#numbers span:nth-child(1){
background: #fa5559;
}
#numbers span:nth-child(2){
background: #26c2b9;
}
#numbers span:nth-child(3){
background: #f6bc58;
}
#numbers span:nth-child(4){
background: #2dcb74;
}
#numbers:after{
content: "";
display: block;
clear: both;
}
#units span{
float: left;
width: 25%;
text-align: center;
margin-top: 30px;
color: #ddd;
text-transform: uppercase;
font-size: 16px;
letter-spacing: 2px;
text-shadow: 1px 1px 1px rgba(10,10,10, 0.7);
}
span.turn{
animation: turn 0.7s ease forwards;
}
@keyframes turn{
0%{transform: rotateX(0deg)}
100%{transform: rotateX(360deg)}
}
.hide{
display: none;
}
.author{
padding-top: 60px;
color: #fff;
text-align: center;
font-size: 13px;
letter-spacing: 2px;
font-weight: 100;
}