-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
90 lines (90 loc) · 1.74 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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: sans-serif;
background-color: rgb(12, 117, 100);
}
body{
width:100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
color:white
}
h1{
font-size: 48px;
margin-bottom: 35px;
letter-spacing: 2px;
color: rgb(235, 193, 10);
text-shadow: 4px 4px black;
}
.countdown{
display: flex;
justify-content: center;
align-items: center;
box-shadow :0 5px 25px rgba(0,0,0,0.3);
padding: 40px 15px;
border-radius: 20px;
backdrop-filter: blur(50px);
}
.timer{
background-color: rgba(255,255,255,0.2);
padding: 20px;
margin: 10px;
height: 100%;
width: 100%;
border-radius: 20px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
transition: background-color 0.8s ease-in-out;
}
.label{
background-color: rgba(255,255,255,0.03);
color: rgb(29, 235, 10);
font-size: 35px;
font-weight: 400;
margin: 10px;
text-transform: uppercase;
text-shadow: 1px 1px white;
}
.time{
background-color: rgba(255,255,255,0.03);
color: white;
text-shadow: 3px 3px black;
font-weight: 700;
font-size: 60px;
}
.timer:hover{
background-color: rgba(255,255,255,0.5);
}
@media (max-width:1024px) {
.countdown{
flex-wrap: wrap;
}
.timer{
max-height:150px;
max-width: 130px;
margin: 15px;
}
}
@media (max-width:1024px) {
h1{
font-size: 40px;
}
.time{
font-size: 30px;
}
.label{
font-size: 20px;
}
.timer{
max-height:100px;
max-width: 90px;
margin: 15px;
}
}