-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
60 lines (53 loc) · 973 Bytes
/
styles.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
*{
margin: 0;
padding: 0;
font-family: sans-serif;
}
body {
margin: 0;
}
.video-background {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%; /* Maintain 16:9 aspect ratio (9 / 16 * 100) */
object-fit: cover;
}
.video-element {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.nav{
justify-content: space-between;
align-items: center;
gap: 2rem;
padding: 0 1rem;
}
.site-title {
font-size: 2rem;
}
.nav ul {
padding: 0;
margin: 0;
list-style: none;
display: flex;
gap: 1rem;
}
.nav a {
color: inherit;
text-decoration: none;
height: 100%;
display: flex;
align-items: center;
padding: .25rem;
}
.nav li.active {
background-color: #555;
}
.nav li:hover {
background-color: #777;
}