-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
63 lines (54 loc) · 993 Bytes
/
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
body {
margin: 0;
}
.wrapper {
height: 100vh;
overflow-y: auto;
overflow-x: hidden;
perspective: 10px;
}
header {
position: relative;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
transform-style: preserve-3d;
z-index: -1;
}
.background {
transform: translateZ(-10px) scale(2);
}
.foreground {
transform: translateZ(-5px) scale(1.5);
}
.background,
.foreground {
position: absolute;
height: 100%;
width: 100%;
object-fit: cover;
z-index: -1;
}
.title {
font-size: 7rem;
color: white;
text-shadow: 0 0 5px black;
;
}
section {
font-size: 2rem;
padding: 2rem;
background-color: #333;
color: white;
}
.attribution {
background-color: #333;
font-size: 25px;
text-align: center;
}
.attribution a {
color: hsla(0, 13%, 9%, 0.897);
text-decoration: none;
}