-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
115 lines (95 loc) · 1.94 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
html {
scroll-behavior: smooth;
}
body {
background-color: black;
color: white;
font-family: "Mountains of Christmas", cursive;
}
.heading {
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -80%);
font-size: 9vmax;
line-height: 1.1;
}
.red {
color: red;
}
.green {
color: green;
}
#content {
text-align: center;
}
#content h2 {
font-size: 5vmax;
}
#content p {
font-family: sans-serif;
margin: 1rem;
}
#los {
color: white;
text-decoration: none;
font-size: 15vmax;
position: absolute;
top: 80%;
left: 50%;
transform: translate(-50%, -50%);
}
.snow-wrapper {
left: 50%;
position: absolute;
animation-name: snowingMove;
animation-duration: 5s;
animation-iteration-count: infinite;
animation-timing-function: ease-out;
z-index: -10;
}
@keyframes snowingMove {
0% {
}
100% {
transform: translateY(150vh);
}
}
.snow-flake {
color: white;
animation-name: snowing;
animation-iteration-count: infinite;
animation-timing-function: ease-out;
user-select: none;
text-shadow: 0 0 10px rgba(255, 255, 255, 0.7),
0 0 15px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.5),
0 0 25px rgba(255, 255, 255, 0.4), 0 0 30px rgba(255, 255, 255, 0.3),
0 0 35px rgba(255, 255, 255, 0.2), 0 0 40px rgba(255, 255, 255, 0.1);
}
@keyframes snowing {
0% {
}
100% {
transform: rotate(360deg);
opacity: 0;
}
}
/* media query für pc ansicht */
@media only screen and (min-width: 1000px) {
.heading {
font-size: 6rem;
}
#los {
font-size: 10rem;
}
#content h2 {
font-size: 4rem;
}
#content p {
font-size: 1.2rem;
max-width: 50%;
margin: auto;
padding: 0.5rem, 0;
}
}