cycat-project-website/_sass/components/_intro.scss

48 lines
866 B
SCSS
Raw Permalink Normal View History

2018-12-09 08:21:01 +01:00
.intro {
display: flex;
justify-content: flex-start;
align-items: center;
2020-08-23 12:01:06 +02:00
padding-top: 60px;
padding-bottom: 60px;
overflow: hidden;
2018-12-09 08:21:01 +01:00
@include media-breakpoint-up(md) {
2020-08-23 12:01:06 +02:00
padding-top: 140px;
padding-bottom: 140px;
2018-12-09 08:21:01 +01:00
}
h1 {
2020-08-23 12:01:06 +02:00
color: $black;
font-size: 42px;
font-weight: bold;
2018-12-09 08:21:01 +01:00
line-height: 1.2;
@include media-breakpoint-up(md) {
2020-08-23 12:01:06 +02:00
width: 80%;
font-size: 48px;
2018-12-09 08:21:01 +01:00
}
@include media-breakpoint-up(lg) {
2020-08-23 12:01:06 +02:00
font-size: 50px;
2018-12-09 08:21:01 +01:00
}
}
2020-08-23 12:01:06 +02:00
h2 {
2018-12-09 08:21:01 +01:00
width: 80%;
2020-08-23 12:01:06 +02:00
font-size: 1.2rem;
2018-12-09 08:21:01 +01:00
line-height: 1.4;
2020-08-23 12:01:06 +02:00
margin-bottom: 30px;
color: $black;
font-family: $font-family-base;
}
p {
font-size: 1.2rem;
font-weight: light;
line-height: 1.5;
color: $steel;
2018-12-09 08:21:01 +01:00
@include media-breakpoint-up(md) {
2020-08-23 12:01:06 +02:00
width: 80%;
2018-12-09 08:21:01 +01:00
}
}
}
2020-08-23 12:01:06 +02:00
2018-12-09 08:21:01 +01:00
.intro-small {
padding-top: 100px;
padding-bottom: 30px;
}