forked from bucketfish/bucket-webring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
210 lines (157 loc) · 3.37 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
:root {
--red: #ffcaca;
--orange: #ffedc1;
--yellow: #feffb8;
--green: #c4ffcb;
--blue: #add8ff;
--purple: #ccafe9;
--darkgreen: #3E885B;
--darkblue: #7fb4f5;
--white: #fefefa;
--lightgray: #94B0C2;
--lightblue: #d1e9ff;
--gray: #ADACB5;
--darkgray: #333C57;
--black: #454545;
--trueblack: #242424;
--lessred: #ffcacaaa;
--lessorange: #ffedc1aa;
--lessyellow: #feffb8aa;
--lessgreen: #c4ffcbaa;
--lessblue: #add8ffaa;
--lesspurple: #ccafe9aa;
--rainbowright: linear-gradient(to right, var(--red) 0%, var(--orange) 20%, var(--yellow) 40%, var(--green) 60%, var(--blue) 80%, var(--purple) 100%);
--hrainbow: linear-gradient(to right, #00000000 0%, var(--lessred) 14%, var(--orange) 28%, var(--yellow) 42%, var(--green) 56%, var(--blue) 70%, var(--lesspurple) 84%, #00000000 100%);
--bgrainbow: linear-gradient(to right, var(--lessred) 0%, var(--lessorange) 20%, var(--lessyellow) 40%, var(--lessgreen) 60%, var(--lessblue) 80%, var(--lesspurple) 100%);
}
* {
font-family: Merriweather, Georgia, serif;
color: var(--lightblue);
}
html {
background-color: #454545;
}
body {
height: 100%;
width: 50%;
margin: 20px auto;
padding-bottom: 50px;
}
p {
font-size: 18px;
}
a {
font-size: inherit;
display: inline-block;
color: inherit;
position: relative;
text-decoration: none;
transition: linear 0.2s;
color: var(--purple);
}
a:before {
background: var(--rainbowright);
content: '';
height: 2px;
position: absolute;
bottom: -1px;
width: 100%;
left: 50%;
transform: translateX(-50%);
transition: width 0.2s ease-in-out;
}
a:hover{
color: var(--white);
}
a:hover:before{
width: 0;
}
li p{
margin: 5px 0;
}
hr {
background-image: var(--hrainbow);
width: 70%;
border: 0;
height: 1px;
}
h1 {
font-size: 60px;
text-align: center;
}
h2 {
font-size: 36px;
}
code {
font-family: 'Courier New', monospace;
}
strong{
font-weight: 100;
background-color: var(--white);
background: var(--bgrainbow);
-webkit-background-clip: highlight;
color: var(--trueblack);
padding: 1px 2px;
box-sizing: content-box;
border-radius: 5px;
}
#header span{
animation-delay: var(--n);
animation: wave 1s linear var(--n) infinite forwards running, rainbow 3s linear var(--n) infinite forwards running;
position: relative;
}
#peoplelist {
width: 100%;
/* margin-left: -10%; */
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 20px 20px;
padding-top: 10px;
padding-bottom: 20px;
}
#peoplelist p {
margin: 0;
/* padding: 0 5px; */
}
@media screen and (prefers-reduced-motion: reduce;)
{
#header span {
animation: none;
}
}
@keyframes wave{
0% {top: 0px;}
25% {top: -3px;}
50% {top: 0px;}
75% {top: 3px;}
100% {top: 0px;}
}
@keyframes rainbow{
0% {color: var(--red);}
17% {color: var(--orange);}
33% {color: var(--yellow);}
50% {color: var(--green);}
67% {color: var(--blue);}
83% {color: var(--purple);}
100% {color: var(--red);}
}
@media (max-width: 1024px)
{
body {
width: 90%;
}
a:before {
height: 2px;
bottom: -2px;
}
h1 {
font-size: 32px;
}
#peoplelist {
width: 100%;
margin: auto;
}
}