-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
62 lines (61 loc) · 1.38 KB
/
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
61
62
/* Styling for the entire page */
html, body{
margin: 0;
padding: 0;
width: 100%;
height: auto;
}
/* This will style the header section */
header{
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(resources/spaghetti.jpg);
background-size: cover;
background-repeat: no-repeat;
}
/* The first section of the header */
header section:first-child{
display: flex;
}
header section:first-child h1{
font-family: Oleo Script Swash Caps;
color: white;
font-size: 2rem;
padding: 2rem 8rem;
}
header section:first-child ul{
display: flex;
list-style: none;
padding: 3rem 0 0 20rem;
}
header section:first-child ul li a{
text-decoration: none;
color: white;
padding-left: 2rem;
}
/* The second section of the header */
header section:last-child{
color: white;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
header section:last-child h1{
font-family: Oleo Script Swash Caps;
font-size: 5rem;
margin: 0.5rem;
}
header section:last-child p{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-size: 1.5rem;
}
header section:last-child button{
background-color: #ee7600;
height: 3rem;
width: 10rem;
border-radius: 3rem;
border: none;
margin-bottom: 8rem;
}