hugo-theme-zzo/assets/sass/components/_bio.scss

95 lines
1.9 KiB
SCSS
Raw Normal View History

2019-12-11 02:18:44 +00:00
.bio {
@include flexbox();
@include justify-content(center);
@include align-items(flex-start);
@include flex-direction(column);
2020-01-26 13:10:37 +00:00
@include themify($codeblock) {
color: themed('content-pre-color');
}
2019-12-11 02:18:44 +00:00
width: 100%;
2020-01-23 13:00:38 +00:00
max-width: 928px;
2019-12-11 02:18:44 +00:00
font-family: $title-font;
&__photo {
border-radius: 0.25rem;
width: 100%;
2020-01-23 13:00:38 +00:00
max-width: 250px;
2019-12-11 02:18:44 +00:00
height: auto;
2019-12-23 09:45:22 +00:00
@include box-shadow(0, 2px, 4px, 0, rgba(0, 0, 0, 0.25));
@include animation('slide-in-down-little .2s .6s 1 ease-in both');
2019-12-11 02:18:44 +00:00
&-wrapper {
width: 90%;
height: 100%;
border-radius: 0.25rem;
margin: 1rem auto;
@include flexbox();
@include align-items(center);
@include justify-content(center);
}
}
&__name {
font-weight: 700;
letter-spacing: 1px;
font-family: inherit;
font-size: 26px;
2019-12-20 04:20:53 +00:00
margin-top: 0.8rem;
2019-12-11 02:18:44 +00:00
}
&__desc {
margin: 0.5rem 0;
font-size: 14px;
}
&__info {
font-size: 14px;
margin: 0.1rem 0;
@include flexbox();
@include align-items(center);
@include justify-content(center);
&--icon {
margin-right: 0.25rem;
@include flexbox();
@include align-items(center);
@include themify($themes) {
color: themed('social-icon-color');
}
}
a {
padding-right: 1rem;
@include truncate($sidebar-width);
2019-12-11 02:18:44 +00:00
}
}
&__social {
width: 100%;
margin-top: 0.5rem;
@include flexbox();
2019-12-31 02:26:57 +00:00
@include flex-wrap(wrap);
a {
2019-12-11 02:18:44 +00:00
text-decoration: none !important;
padding: 0.5rem;
border-radius: 0.125rem;
2019-12-31 02:26:57 +00:00
@include flexbox();
@include flex-grow(1);
2019-12-11 02:18:44 +00:00
@include align-items(center);
2019-12-31 02:26:57 +00:00
@include justify-content(flex-start);
2019-12-11 02:18:44 +00:00
@include themify($themes) {
color: themed('social-icon-color');
@include on-event {
color: themed('social-icon-hover-color');
}
}
}
}
&-hr {
border-radius: 0.5rem;
}
}