-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathe500.css
More file actions
89 lines (81 loc) · 1.65 KB
/
Copy pathe500.css
File metadata and controls
89 lines (81 loc) · 1.65 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
77
78
79
80
81
82
83
84
85
86
87
88
89
body {
background-image: linear-gradient(360deg, rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 0) 30%), linear-gradient(180deg, rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 0) 30%), url("../assets/img/500-palantir.jpg");
background-position: top center, bottom center, center center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
display: grid;
place-items: center;
color: #daa520;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
text-align: center;
}
h1 {
font-size: 20dvh;
line-height: 20dvh;
}
h3 {
font-size: 3dvh;
margin: 0 auto;
padding: 1rem 2rem;
border-radius: 1rem;
background-color: rgba(0, 0, 0, 0.5);
}
main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 2rem;
}
p {
max-width: 80%;
text-align: center;
font-size: 2.5dvh;
line-height: 3dvh;
}
a:link,
a:visited {
margin-top: 2rem;
display: block;
width: 7rem;
height: 7rem;
background: #daa520 url("../assets/img/hobbit-home-alt.png") center 0.8rem no-repeat;
background-size: 4.8rem;
border-radius: 50%;
text-indent: -9999px;
}
@media (min-width: 768px) {
p {
max-width: 90%;
}
a:link,
a:visited {
margin-top: 3rem;
}
}
@media (hover: hover) {
a {
transition: all 0.5s ease;
}
a:hover {
animation-name: beat;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-fill-mode: both;
}
}
@keyframes beat {
0%,
100% {
transform: scale(1);
}
20%,
60% {
transform: scale(1.1);
}
40%,
80% {
transform: scale(0.9);
}
}