This repository has been archived by the owner on Jun 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
149 lines (129 loc) · 2.99 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
user-select: none;
font-family: 'Poppins', sans-serif;
}
.container {
position: relative;
display: flex;
width: 100%;
height: 100vh;
/* height: 100%; */
background: #ff4e2b;
}
.container .imgBx {
position: relative;
height: 100%;
/* height: 100vh; */
width: 450px;
background: url(img/bg2.jpg);
background-size: cover;
background-position: center;
}
.container .countdownBx {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
width: calc(100% - 450px);
/* width: calc(550px - 450px); */
}
.container .countdownBx h2 {
text-align: center;
color: white;
font-size: 50px;
text-transform: uppercase;
letter-spacing: 10px;
font-weight: 500;
}
.container .countdownBx h2 span {
font-size: 96px;
font-weight: 700;
}
.container .countdownBx h2 span i {
font-style: initial;
font-weight: 700;
color: yellow;
/* color: #ff0; */
}
.container .countdownBx .countdown {
display: flex;
justify-content: center;
align-items: center;
margin-top: 30px;
background: rgba(0,0,0,0.1);
width: 100%;
height: 120px;
}
.container .countdownBx .countdown div {
position: relative;
width: 100px;
text-align: center;
color: white;
font-size: 50px;
font-weight: 500;
margin: 0 45px 10px;
}
.container .countdownBx .countdown div::before {
content: 'text';
/* position: relative; */
position: absolute;
bottom: -35px;
left: 0;
width: 100%;
height: 35px;
color: white;
font-size: 13.5px;
font-weight: 600;
line-height: 10px;
letter-spacing: 2.5px;
text-transform: uppercase;
}
.container .countdownBx .countdown div#day::before {
content: 'days';
}
.container .countdownBx .countdown div#hour::before {
content: 'hours';
}
.container .countdownBx .countdown div#minute::before {
content: 'minute';
}
.container .countdownBx .countdown div#second::before {
content: 'seconds';
}
.container .countdownBx .countdown div#second {
color: yellow;
}
@media (max-width: 991px) {
.container .imgBx {
position: absolute;
top: 0;
width: 100%;
height: 250px;
background-image: url(img/bg.jpg);
background-repeat: repeat;
background-size: cover;
}
.container .countdownBx {
width: 100%;
}
}
@media (max-width: 600px) {
.container .countdownBx h2 {
/* font-size: 1.1em; */
font-size: 2em;
font-weight: bolder;
}
.container .countdownBx .countdown {
height: 100px;
}
.container .countdownBx .countdown div {
width: 80px;
color: #fff;
margin: 0;
margin-top: -25px;
}
}