You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
883 B
CSS
52 lines
883 B
CSS
5 years ago
|
.hero {
|
||
|
background: linear-gradient(#0f0f0f, #080808);
|
||
|
position: relative;
|
||
|
box-shadow: inset 0 -15px 7.5px -7.5px rgba(0,0,0,0.2);
|
||
|
margin-top: -15px;
|
||
|
}
|
||
|
|
||
|
.hero > div {
|
||
|
margin: 0;
|
||
|
margin-right: 0px;
|
||
|
margin-left: 0px;
|
||
|
max-width: 2000px;
|
||
|
margin-left: auto;
|
||
|
margin-right: auto;
|
||
|
padding: 0;
|
||
|
position: relative;
|
||
|
top: 0;
|
||
|
background-size: cover;
|
||
|
background-position: center center;
|
||
|
min-height: 400px;
|
||
|
box-shadow: inset 0 -15px 7.5px -7.5px rgba(0,0,0,0.2);
|
||
|
}
|
||
|
|
||
|
.hero img.icon {
|
||
|
position: absolute;
|
||
|
right: 60%;
|
||
|
margin-right: 20px;
|
||
|
margin-top: -10px;
|
||
|
top: 80px;
|
||
|
max-width: 300px;
|
||
|
|
||
|
}
|
||
|
|
||
|
.hero div.content {
|
||
|
position: absolute;
|
||
|
left: 40%;
|
||
|
right: 20%;
|
||
|
padding-left: 20px;
|
||
|
top: 80px;
|
||
|
color: white;
|
||
|
font-family: 'Cormorant Infant',serif;
|
||
|
}
|
||
|
|
||
|
.hero h2 {
|
||
|
font-family: 'Cormorant SC',serif;
|
||
|
font-size: 36px;
|
||
|
}
|
||
|
|
||
|
.hero p {
|
||
|
opacity: .7;
|
||
|
}
|