Demas ajustes
This commit is contained in:
@@ -121,3 +121,81 @@ body {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Hero paints before the bundled stylesheet arrives. */
|
||||
.hero {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-height: 650px;
|
||||
overflow: hidden;
|
||||
color: #fff;
|
||||
background: #c8c2bc;
|
||||
}
|
||||
|
||||
.hero__media {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
}
|
||||
|
||||
.hero__poster,
|
||||
.hero__still,
|
||||
.hero__poster-image {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: none;
|
||||
object-fit: cover;
|
||||
object-position: center center;
|
||||
}
|
||||
|
||||
.hero__content {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
min-height: 650px;
|
||||
padding: 104px 160px 80px 100px;
|
||||
}
|
||||
|
||||
.hero__title {
|
||||
margin: 0;
|
||||
color: #fff;
|
||||
font-family: Archivo, sans-serif;
|
||||
font-size: 70px;
|
||||
font-weight: 500;
|
||||
line-height: 69px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.hero__title-line {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.hero__title-line--light {
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.hero__title-line--medium {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
@media (max-width: 1023px) {
|
||||
.hero,
|
||||
.hero__content {
|
||||
min-height: 550px;
|
||||
}
|
||||
|
||||
.hero__poster-image {
|
||||
object-position: center 22%;
|
||||
}
|
||||
|
||||
.hero__content {
|
||||
align-items: flex-end;
|
||||
padding: 24px 20px 15px;
|
||||
}
|
||||
|
||||
.hero__title {
|
||||
font-size: 35px;
|
||||
line-height: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user