-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhero.css
More file actions
83 lines (72 loc) · 1.46 KB
/
Copy pathhero.css
File metadata and controls
83 lines (72 loc) · 1.46 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
77
78
79
80
81
82
83
/* Hero Section */
#hero {
/* background-color: var(--carnellian); */
background-image: url(./img/bakerpsd.webp);
background-size: cover;
background-position: top center;
position: relative;
z-index: -1;
}
#hero .container {
min-height: 100vh;
width: 100%;
display: flex;
align-items: center;
justify-content: flex-start;
}
#hero .hero {
/* max-width: 1200px; */
margin: 0;
padding: 0 50px;
justify-content: flex-start;
/* justify-content: center; */
}
#hero::after {
content: '';
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
/* background-color: var(--carnellian); */
background-color: black;
opacity: 0.8;
z-index: -2;
}
#hero span {
color: var(--carnellian)
}
#hero titleelement {
margin-top: 20rem;
}
#hero h1 {
display: block;
width: fit-content;
font-size: 3rem;
position: relative;
color: white;
text-transform: uppercase;
/* color: var(--carnellian); */
/* margin-top: 4rem; */
}
#hero h2 {
display: block;
font-size: 2rem;
position: relative;
color: white;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
margin: 0rem;
}
#hero .cta {
display: inline-block;
padding: 10px 30px;
color: black;
background-color: transparent;
/* border: 2px solid var(--carnellian); */
border: 2px solid black;
}
#hero .cta:hover {
background-color: white;
}
/* End Hero Section */