-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
79 lines (71 loc) · 1.22 KB
/
index.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
*,
*::after,
*::before {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: sans-serif;
}
html,
body {
height: 100svh;
background-color: #111111;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
width: 100%;
position: relative;
overflow: hidden;
}
h1 {
width: 100%;
text-align: center;
padding: 2rem;
font-weight: 700;
font-size: 2rem;
color: #666666;
margin-top: 2rem;
user-select: none;
cursor: pointer;
transition: color 150ms;
}
h1:hover {
color: white;
transition: color 150ms;
}
a {
color: white;
padding: 1rem;
margin-bottom: 2rem;
text-decoration: none;
transition: scale 300ms;
z-index: 9999;
}
a:hover {
scale: 1.25 1.25;
transition: scale 300ms;
}
#tectus {
position: absolute;
animation: swing 5000ms ease-in-out infinite;
}
@media (prefers-reduced-motion) {
#tectus {
animation: none;
}
}
@keyframes swing {
0% {
transform: translateX(0%);
}
33% {
transform: translateX(-25%);
}
67% {
transform: translateX(25%);
}
100% {
transform: translateX(0%);
}
}