cli-web/src/components/header/index.scss
2021-08-27 19:13:28 +02:00

56 lines
998 B
SCSS

@use "../../scss/abstracts/colors" as *;
@use "../../scss/abstracts/fonts" as *;
header {
// width: 100vw;
width: calc(100vw - 12px);
height: 100vh;
display: flex;
background-image: url("../../images/pen-blue.webp");
overflow-y: auto;
background-position: center;
background-size: cover;
padding-top: 5rem;
color: $light;
.hero {
display: flex;
flex-direction: column;
justify-content: center;
padding-bottom: 10rem;
width: 100%;
position: relative;
text-align: center;
h1 {
margin: 0.3rem 1rem;
font-size: 2.3rem;
font-weight: 900;
color: $dark;
}
.hero-box {
display: flex;
flex-direction: column;
color: $dark;
.hero-text {
display: flex;
flex-direction: column;
align-items: center;
font-size: 1.3rem;
padding: 0 1.5rem;
.hero-paragraph {
line-height: 1.7rem;
text-align: center;
width: 75vw;
}
.hero-highlight {
color: $primary-darker;
font-weight: bold;
}
}
}
}
}