blob: 1b6e93d0d88886f13533203d59dbdb6de7392c98 (
plain)
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
|
@use "reset";
$background: hsl(15, 10%, 5%);
body {
font-size: 22px;
font-family: sans-serif;
background: $background;
color: white;
}
h1 {
font-size: 3em;
font-weight: bold;
margin-bottom: 1rem;
font-family: serif;
}
h2 {
font-size: 2em;
font-weight: bold;
margin-bottom: 1rem;
}
h3 {
font-size: 1.5em;
}
h4 {
font-size: 1.25em;
}
p {
line-height: 1.15em;
}
header {
height: 100vh;
box-sizing: border-box;
padding: 2.5% 5%;
color: white;
background-image: url("/home.jpg");
background-size: cover;
background-position: center;
}
.tags {
display: flex;
gap: 1rem;
font-size: 1.75rem;
}
section {
min-height: 100vh;
position: relative;
}
.content {
position: absolute;
display: flex;
flex-direction: column;
left: 50%;
top: 60%;
transform: translate(-50%, -50%);
gap: 1rem;
background: $background;
color: white;
max-width: 800px;
margin: auto;
padding: 2rem;
&__header {
text-align: center;
margin-bottom: 2rem;
&:last-child {
margin-bottom: 0;
}
}
}
.bg img {
height: 100%;
}
.bg video {
height: 100%;
}
|