forked from Ujjawalmaurya/countdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
119 lines (104 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
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
/*! root */
*{
margin: 0;
padding: 0;
font-family: "ubuntu", sans-serif;
}
/* ! body */
body{
background: #000 url(./assets/rtc.jpg);
background-size: cover;
background-attachment: fixed;
background-blend-mode: hard-light;
}
.container{
position: absolute;
top :20px;
left: 20px;
right: 20px;
bottom: 20px;
background: url(./assets/b.jpg);
background-size: cover;
background-attachment: fixed;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
box-shadow: 0 50px 50px rgba(0,0,0,0.5), 0 0 0 100px rgba(0,0,0,0.2);
}
.container h2{
text-align: center;
font-size: 16px;
color: #555;
margin-top:-250px;
}
.container h2 span{
display: block;
font-weight: 300;
font-size: 32px;
font-weight: 500;
margin: 25px;
color: #fff;
}
.countdown{
display:flex;
margin-top: 100px;
}
.countdown div{
position: relative;
width: 70px;
height: 60px;
line-height: 60px;
text-align: center;
background:#333;
color:#fff;
margin: 0 15px;
font-size: 35px;
font-weight: 250;
}
.result_number{
font-size: 36px;
font-weight: 750;
color: #f00000;
}
.result_text{
display:block;
font-size: 36px;
font-weight: 500;
color: #fff;
padding-top: 30px;
}
.votelink{
font-weight: 500;
color: #fff;
padding-top: 20px;
font-size: 28px;
}
/*
! countdown
*/
.countdown div:before{
content: '';
position: absolute;
bottom: -45px;
left: 0;
width: 100%;
height: 38px;
background: #ff0;
color:#333fff;
font-size: 0.47em;
line-height:38px;
font-weight: 500;
}
.countdown #day:before{
content: 'Days';
}
.countdown #hour:before{
content: 'Hours';
}
.countdown #minute:before{
content: 'Minutes';
}
.countdown #second:before{
content: 'Seconds';
}