liebling/src/sass/components/author/_author.scss

74 lines
1.2 KiB
SCSS

.m-author {
padding: 40px $mobile-space;
border-color: $light-blue;
border-top-width: 2px;
border-bottom-width: 2px;
border-style: solid;
margin: 0 auto;
@include respond-to('medium') {
display: flex;
justify-content: center;
padding: 60px 40px;
}
@include respond-to('extra-large') {
padding: 60px 0;
}
&.no-subscribers {
background-color: $light-blue;
}
}
.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;
}
}