liebling/src/sass/components/author/_author.scss
2019-05-21 21:50:29 +02:00

66 lines
1,012 B
SCSS

.m-author {
padding: 40px $mobile-space;
margin: 0 auto;
@include respond-to('medium') {
display: flex;
justify-content: center;
padding: 60px 40px;
}
@include respond-to('extra-large') {
padding: 60px 0;
}
}
.m-author__content {
@include respond-to('medium') {
display: flex;
width: 100%;
max-width: 820px;
}
}
.m-author__picture {
width: 90px;
margin: 0 auto 25px;
@include respond-to('medium') {
width: 100px;
margin: 0 30px 0 0;
}
}
.m-author__info {
text-align: center;
@include respond-to('medium') {
flex: 1;
text-align: left;
}
}
.m-author__name {
color: $dark-blue;
letter-spacing: 0.2px;
line-height: 1.3;
font-size: 1.125rem;
font-weight: 400;
margin: 0 0 15px;
@include respond-to('medium') {
letter-spacing: 0.3px;
font-size: 1.250rem;
}
}
.m-author__bio {
letter-spacing: 0.2px;
line-height: 1.5;
margin-bottom: 20px;
@include respond-to('medium') {
margin-bottom: 15px;
}
}