1
0
mirror of https://github.com/ipdb/website.git synced 2024-11-12 00:04:48 +01:00
website/_src/_assets/scss/_board.scss

73 lines
1.3 KiB
SCSS
Raw Normal View History

2017-08-30 13:58:03 +02:00
.boardmember {
margin-top: $spacer * $line-height;
}
.boardmember__name,
.boardmember__position,
.boardmember__social {
margin: 0;
}
.boardmember__name {
font-size: $font-size-h3;
2017-08-30 13:58:03 +02:00
}
.boardmember__info {
margin-bottom: $spacer;
position: relative;
@media ($screen-xs) {
display: flex;
align-items: center;
}
}
$avatar-size: 100px;
.boardmember__avatar {
width: $avatar-size;
height: $avatar-size;
border-radius: $border-radius;
margin-right: $spacer;
border: 3px solid $brand-02;
background: $brand-02;
}
.boardmember__social {
font-size: $font-size-small;
@media ($screen-md) {
position: absolute;
top: calc(#{$avatar-size} + #{$spacer});
left: 0;
width: $avatar-size;
text-align: center;
a {
display: inline-block;
margin: 0 $spacer / 4;
2017-08-30 13:58:03 +02:00
}
}
.icon {
width: $font-size-small;
height: $font-size-small;
}
}
.boardmember__bio {
2017-08-30 13:58:03 +02:00
p {
opacity: .75;
font-size: $font-size-small;
&:first-child {
opacity: 1;
font-size: $font-size-base;
}
}
2017-08-30 13:58:03 +02:00
@media ($screen-md) {
padding-left: calc(#{$avatar-size} + #{$spacer});
}
}