-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
93 lines (77 loc) · 1.58 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
body {
font-size: var(--font-3);
text-align: center;
}
::-webkit-scrollbar {
width: 10px;
height: 8px;
background-color: rgb(222, 211, 211);
}
::-webkit-scrollbar-thumb {
border-radius: 25px;
background: gray;
}
header {
/* background: var(--purple); */
background-image: linear-gradient(rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.50)), url("./images/haunted-house.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
color: var(--white);
padding: var(--spacing-6) var(--spacing-0) var(--spacing-6);
text-align: center;
}
footer {
margin-top: 20px;
background: var(--dark);
color: var(--white);
padding: var(--spacing-5) var(--spacing-0) var(--spacing-5);
text-align: center;
}
.center {
margin-top: 15px;
display: block;
margin-left: auto;
margin-right: auto;
}
.banner {
position: absolute;
top: -10px;
left: var(--spacing-4);
}
.banner img {
height: 80px;
}
.banner:hover img {
animation: wave-flag 0.5s linear infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
.banner:hover img {
transition: 0.1875s cubic-bezier(0.375, 0, 0.675, 1) transform;
transform-origin: top left;
}
}
@keyframes wave-flag {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(-5deg);
}
}
header>p,
header>p>a {
color: var(--white) !important;
}
.container {
margin: var(--spacing-4) auto;
}
.blurb {
border: 2px dashed var(--border);
border-radius: var(--radii-default);
font-size: var(--font-4);
padding: var(--spacing-4);
}
.title {
margin-bottom: var(--spacing-4);
}