-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
76 lines (67 loc) · 1.37 KB
/
style.css
File metadata and controls
76 lines (67 loc) · 1.37 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
/* CSS below is to reset default values such as margin, padding and box-sizing and increase the resolution of the text (From Karins codealong) */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
body {
font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
}
.image-header {
height: 50vh;
width: 100vw;
background-image: url('/assets/lollie.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
display: grid;
justify-items: center;
align-items: center;
}
.video-header {
height: 50vh;
width: 100vw;
border: 3px solid black;
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.video-header video {
position: absolute;
left: 0;
top: 0;
object-fit: cover;
height: 100%;
width: 100%;
}
h1 {
position: absolute;
color: white;
text-shadow: -2px -2px 3px black;
}
form {
border: 1px solid;
border-radius: 0.5rem;
padding: 2rem;
width: 100%;
max-width: 600px;
margin: 3rem auto;
display: grid;
gap: 1rem;
}
form button {
width: 100px;
border-radius: 2rem;
border: none;
background-color: #ffc5c4;
padding: 0.5rem;
font-size: 1rem;
text-transform: uppercase;
cursor: pointer;
}