-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
102 lines (90 loc) · 2.15 KB
/
styles.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
html, body {
min-height: 100%;
height: 100vh;
overflow: hidden;
}
body {
background-image: url(assets/background.jpg);
background-repeat: no-repeat;
background-size: cover;
}
@media screen and (max-width: 1280px) {
body {
background-attachment: fixed;
}
}
.snow::before, .snow::after {
position: absolute;
top: -650px;
left: 0;
bottom: 0;
right: 0;
background-image:
radial-gradient(4px 4px at 100px 50px, #fff , transparent),
radial-gradient(6px 6px at 200px 150px, #fff, transparent),
radial-gradient(3px 3px at 300px 250px, #fff 50%, transparent),
radial-gradient(4px 4px at 400px 350px, #fff 50%, transparent),
radial-gradient(6px 6px at 500px 100px, #fff 50%, transparent),
radial-gradient(3px 3px at 50px 200px, #fff 50%, transparent),
radial-gradient(4px 4px at 150px 300px, #fff 50%, transparent),
radial-gradient(6px 6px at 250px 400px, #fff 50%, transparent),
radial-gradient(3px 3px at 350px 500px, #fff 50%, transparent);
background-size: 650px 650px;
animation: snow 3s linear infinite;
content: "";
}
.snow:before {
margin-left: -350px;
opacity: 0.7;
filter: blur(1px);
animation-duration: 9s;
animation-direction: reverse;
}
.snow:after {
margin-left: -250px;
opacity: 0.5;
filter: blur(2px);
animation-duration: 6s;
animation-direction: reverse;
}
@keyframes snow {
to {
transform: translateY(650px);
}
}
.link {
position: relative;
background-color: transparent;
color: white;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
border: solid black;
border-radius: 30px;
font-size: 1rem;
text-align: center;
display: block;
margin-left: 10px;
margin-right: 10px;
margin-bottom: 10px;
padding: 10px; /* 17px */
text-decoration:none;
/* transition: all .25s cubic-bezier(.08, .59, .29, .99); */
-webkit-tap-highlight-color: transparent;
}
#links {
max-width: 675px;
width: auto;
display: block;
margin: 27px auto;
color:white;
}
@media (hover: hover) {
.link:hover {
background-color: #fff;
color: black;
text-decoration: none;
}
}
.link:active {
background-color: var(--accentColor);
color: var(--bgColor);
}