-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
134 lines (127 loc) · 2.77 KB
/
style.css
File metadata and controls
134 lines (127 loc) · 2.77 KB
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
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@700&display=swap');
:root, :before, ::after{
margin: 0;
padding: 0;
box-sizing: border-box;
--Grayishblue: hsl(237, 18%, 59%);
--Softred: hsl(345, 95%, 68%);
--White: hsl(0, 0%, 100%);
--Darkdesaturatedblue: hsl(236, 21%, 26%);
--Verydarkblue: hsl(235, 16%, 14%);
--Verydarkmostlyblackblue: hsl(234, 17%, 12%);
}
body{
font-family: 'Red Hat Display', sans-serif;
font-size: 14px;
background-color: var(--Verydarkmostlyblackblue);
/* height: 100vh;
width: 100%; */
background-image: url('./images/bg-stars.svg');
}
.countdown-container{
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
text-align: center;
height: 75vh;
/* position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%); */
}
.counter, .counter-label{
display: flex;
justify-content: space-around;
align-items: center;
text-transform: uppercase;
}
.counter div{
padding: 10px;
margin: 30px 30px 0px 30px;
height: 120px;
color: var(--Softred);
font-size: 80px;
background-color: var(--Darkdesaturatedblue);
text-align: center;
outline: none;
width: 120px;
border: none;
border-radius: 5px;
}
.counter-label div{
padding: 10px;
text-align: center;
text-transform: uppercase;
width: 200px;
color: var(--Grayishblue);
}
.counter-label{
color: var(--Verydarkblue);
}
.text-count h1{
color: var(--White);
text-transform: uppercase;
letter-spacing: 0.6em;
font-size: 18px;
}
section{
/* display: flex; */
height: 20vh;
background-image: url('./images/pattern-hills.svg');
background-position: top;
background-repeat: repeat-x;
}
section a{
margin: 10px;
padding: 10px;
display: flex;
align-items: center;
justify-content: center;
}
.icons{
display: flex;
justify-content: center;
align-items: center;
}
.imgs:hover{
background-color: var(--Softred);
border-radius: 5px;
}
@media screen and (max-width:760px) {
.counter{
height: 90px;
margin: 15px;
}
.counter div{
padding: 5px;
margin: 10px 10px 0px 10px;
height: 60px;
font-size: 45px;
width: 58px;
}
.counter-container{
height: 30vh;
}
.counter-label div{
text-align: center;
margin: 1px;
font-size: 13px;
width: 80px;
}
}
@media screen and (max-width:360px){
.counter div{
padding: 5px;
margin: 7px;
height: 40px;
font-size: 30px;
width: 32px;
}
.counter-label div{
text-align: center;
margin: 7px;
font-size: 13px;
width: 32px;
}
}