-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
102 lines (86 loc) · 2.13 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
@import url('https://fonts.googleapis.com/css2?family=Actor&family=Montserrat+Alternates&display=swap');
* {
box-sizing: border-box;
}
body {
/*Background */
background-color: black;
background-size: cover;
overflow: hidden;
height: 100vh;
width: 100vw;
/*Aligns elements in the body */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
/*General Styling */
font-family: 'Montserrat Alternates', sans-serif;
margin: 0;
padding: 0;
color: whitesmoke
}
h1 {
font-size: 3.5rem;
font-weight: normal;
margin: 0.7rem;
align-items: center;
justify-content: center;
flex-wrap: nowrap;
}
@media (max-width: 414px) {
h1 {
font-size: 2rem;
}
.bigtext {
font-size: 3.5rem;
}
}
.countdowntimer {
margin-top: -40px;
}
.countdown-container {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
.bigtext {
font-size: 5rem;
font-weight: bold;
line-height: 1;
margin: 0.7rem 2rem;
}
.center {
text-align: center;
}
.center span {
font-size: 1.2rem;
margin-left: 0.5rem;
}
canvas {
width: 100vw;
height: 100vh;
display: block;
position: fixed;
top: 0;
left: 0;
z-index: -9999;
}
.wave {
animation-name: wave-animation; /* Refers to the name of your @keyframes element below */
animation-duration: 2.5s; /* Change to speed up or slow down */
animation-iteration-count: infinite; /* Never stop waving :) */
transform-origin: 70% 70%; /* Pivot around the bottom-left palm */
display: inline-block;
}
@keyframes wave-animation {
0% { transform: rotate( 0.0deg) }
10% { transform: rotate(14.0deg) } /* The following five values can be played with to make the waving more or less extreme */
20% { transform: rotate(-8.0deg) }
30% { transform: rotate(14.0deg) }
40% { transform: rotate(-4.0deg) }
50% { transform: rotate(10.0deg) }
60% { transform: rotate( 0.0deg) } /* Reset for the last half to pause */
100% { transform: rotate( 0.0deg) }
}