-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
82 lines (71 loc) · 1.46 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
:root {
--background: #22053d;
--gray-800: #696565;
--green-500: #13c03e;
}
* {
border: 0;
box-sizing: content-box;
font-family: 'Antonio','Arial';
margin: 0;
padding: 0;
}
body {
align-items: center;
background-image: url(img/Trofeu-Copa-do-Mundo.jpg);
background-position: center;
background-size: cover;
display: flex;
flex-direction: column;
height: 100vh;
justify-content: center;
width: 100%;
}
#count-down {
display: flex;
gap: 24px;
list-style: none;
}
#count-down li {
background-color: var(--gray-800);
border-radius: 15px;
color: #22053d);
font-size: 32px;
font-weight: bold;
height: 45px;
padding: 8px 12px;
position: relative;
text-align: center;
width: 35px;
}
#count-down li:before,
#count-down li:after {
position: absolute;
}
#count-down li:not(:last-child):before {
content: ":";
font-size: 24px;
right: -15px;
top: 15px;
}
#count-down li:after {
bottom: -16px;
display: flex;
font-family: 'Montserrat', sans-serif;
font-size: 10px;
font-weight: 100;
justify-content: center;
width: calc(100% - 22px);
}
#count-down li.days:after {
content: "dias";
}
#count-down li.hours:after {
content: "horas";
}
#count-down li.minutes:after {
content: "minutos";
}
#count-down li.seconds:after {
content: "segundos";
}