-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
76 lines (65 loc) · 1.35 KB
/
main.css
File metadata and controls
76 lines (65 loc) · 1.35 KB
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
@font-face {
font-family: "Classic Console Neue";
src: url(./fonts/clacon2.woff2);
}
body {
background-color: black;
color: white;
text-align: center;
font-family: "Classic Console Neue", monospace;
margin: auto;
max-width: 650px;
font-size: 16px;
}
h1 {
font-size: 32px;
font-weight: normal;
}
a:visited {
color: white;
}
a:link {
color: white;
}
a:hover {
color: black;
background-color: white;
}
a:active {
color: white;
background-color: black;
}
main {
margin-top: 2em;
background-color: rgba(0, 0, 0, 0.7);
padding: 2em;
}
.links p {
line-height: 0.5em;
}
.sharp {
image-rendering: optimizeSpeed; /* STOP SMOOTHING, GIVE ME SPEED */
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
image-rendering: pixelated; /* Universal support since 2021 */
image-rendering: optimize-contrast; /* CSS3 Proposed */
}
.background-image {
z-index: -1;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
animation: rotateHue 30s linear infinite;
overflow: hidden;
}
@keyframes rotateHue {
0% {
filter: hue-rotate(0deg);
}
100% {
filter: hue-rotate(360deg);
}
}