summaryrefslogtreecommitdiffstats
path: root/style.css
blob: 6049c25c6595ac8ede1566cf88d9d2c4d91caf70 (plain)
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
/* init */

@font-face {
  font-family: "SputnicSans";
  src: url('SputnicSans-2020.ttf');
}

/* main body and colors */

:root {
  --sand1: hsl(59, 100%, 86%, 0.5);
  --sand2: hsl(59, 100%, 86%, 0.2);
  --sand3: hsl(59, 100%, 86%, 0.1);
  --beachborder: hsl(255, 0, 0, 0.1);
  --dark-blue: hsl(211, 100%, 50%);
  --light-blue: hsl(179, 100%, 40%);
  /* The 0.75 alpha here is so the dark black text flows with the gradient */
  --textcolor: hsla(0, 0%, 0%, 0.75);
  --visitedcolor: hsl(211, 100%, 50%);
  --linkcolor: hsl(215, 100%, 50%);
  --textshadow: hsl(211, 100%, 50%);
}

html {
  width: 100%;
  font: 1.6em "SputnicSans", sans-serif;
  color: var(--textcolor);
  background: linear-gradient(-45deg, var(--sand1), var(--light-blue), var(--dark-blue));
  background-size: 400% 400%;
  animation: gradient 10s ease infinite;
  height: 100vh;
}

/*
body {
  width: 100%;
  height: 100%;
  background: linear-gradient(to top left , var(--sand1), var(--sand2), var(--sand3), hsla(10,10%,10%,.10));
  background-size: 100% 100%;
}
*/

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

a {
  color: var(--linkcolor);
  text-shadow: 0 0 5px var(--textshadow);
  font-weight: 400;
  padding-bottom: 5px;
  background: url("wave.svg");
  /*
  background-repeat: repeat;
  background-position-x: 0%;
  background-position-y: 0%;
  background-size: auto auto;
  */
  background-repeat: repeat-x;
  background-size: 15px 5px; 
  background-position: 1px 19px;
  animation: move 15s linear infinite;
  -webkit-animation: move 15s linear infinite;
  animation-play-state: paused;
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

@-webkit-keyframes move {
from {
    background-position: 2px 19px;
  }
  to {
    background-position: 500px 19px;
  }
}

@keyframe move {
from {
    background-position: 2px 19px;
  }
  to {
    background-position: 500px 19px;
  }
}

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);
}

.content {
  margin-bottom: 1em;
}

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%;
}