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

89 lines
1.6 KiB
SCSS
Raw Normal View History

.whoami {
padding: 0 1rem;
margin: 1rem 0;
border-radius: 0.25rem;
width: 100%;
2019-11-17 16:44:04 +00:00
@include flexbox();
2019-12-08 14:29:02 +00:00
@media only screen and (max-width: 769px) {
@include align-items(center);
@include flex-direction(column);
}
&__contents {
width: 100%;
margin-top: 0.5rem;
2019-12-08 14:29:02 +00:00
@media only screen and (max-width: 769px) {
@include flexbox();
@include flex-direction(column);
@include justify-content(center);
@include align-items(center);
}
}
&__image {
width: 100%;
height: 100%;
object-fit: contain;
border-radius: 0.25rem;
2019-12-23 09:45:22 +00:00
@include box-shadow(0, 2px, 3px, 0, rgba(0, 0, 0, 0.25));
&-wrapper {
2019-12-28 13:43:33 +00:00
min-width: 150px;
max-width: 150px;
height: auto;
margin-right: 1rem;
@include flexbox();
2019-12-28 13:43:33 +00:00
@include flex-direction(column);
}
}
&__title {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 0.5rem;
padding-bottom: 0.5rem;
@include themify($codeblock) {
text-decoration: underline double themed('content-pre-main-color');
}
}
&__desc {
font-size: 1rem;
padding-left: 0.25rem;
2019-12-08 14:29:02 +00:00
@media only screen and (max-width: 769px) {
width: 75%;
}
}
&__gutter {
height: 2rem;
}
&__social {
margin-top: 0.5rem;
a {
@include themify($themes) {
text-decoration: none;
color: themed('social-icon-color');
&:hover {
color: themed('social-icon-hover-color');
@include transition(color, 0.2s, ease);
}
}
}
}
2019-11-20 06:55:05 +00:00
&__written-by {
font-size: 0.9rem;
opacity: 0.65;
}
2019-11-20 06:55:05 +00:00
&-hr {
border-radius: 0.5rem;
}
}