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
|
/* init */
@font-face {
font-family: "SputnicSans";
src: url('SputnicSans-2020.ttf');
}
/* main body and colors */
:root {
--sand1: hsla(59, 50%, 16%, 0.5);
--sand2: hsla(59, 100%, 86%, 0.2);
--sand3: hsla(59, 100%, 86%, 0.1);
--dark-blue: hsl(211, 100%, 50%);
--dark-blue-trans: hsla(211, 100%, 50%, 0.5);
--light-blue: hsl(179, 100%, 40%);
--light-blue-trans: hsla(179, 100%, 40%, 0.5);
--textcolor: hsla(0, 0%, 0%);
--visitedcolor: hsl(211, 100%, 50%);
--linkcolor: hsl(215, 100%, 50%);
--textshadow: hsl(211, 100%, 50%);
}
#beach {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
/* should be below everything else */
z-index: -1;
background: linear-gradient(-45deg, var(--sand2), var(--sand3), var(--sand3));
}
html {
width: 100%;
font: 1.6em "SputnicSans", sans-serif;
color: var(--textcolor);
background: linear-gradient(-45deg, var(--light-blue), var(--dark-blue));
background-size: 400% 400%;
animation: gradient 10s ease infinite;
height: 100vh;
z-index: 2;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes move {
from {
background-position: 2px 19px;
}
to {
background-position: 500px 19px;
}
}
a {
padding-bottom: 5px;
background: url("wave.svg");
background-repeat: repeat-x;
background-size: 20px 20px;
animation: move 15s linear infinite;
animation-play-state: paused;
text-decoration: none;
background-color: transparent;
}
a:hover {
color: var(--textcolor);
text-decoration-style: wavy;
animation-play-state: running;
text-shadow: 0 0 5px var(--textshadow);
}
a:visited {
color: var(--vistedcolor);
text-shadow: 0 0 5px var(--textshadow);
}
div.menu {
text-align: center;
}
ul.menu {
list-style-type: none;
padding: 0;
}
ul.menu li {
display: inline-block;
margin: 0 1em;
text-decoration: none;
}
div#copyright {
text-align: center;
font-size: 0.8em;
}
img#haha {
width: 3%;
height: 3%;
}
.content {
margin-bottom: 1em;
}
|