hugo-theme-zzo/assets/sass/pages/_talk.scss

84 lines
1.7 KiB
SCSS
Raw Normal View History

2019-12-31 02:26:57 +00:00
.talk {
&__li {
margin: 0.75rem 0 0.75rem 4rem;
z-index: 0;
@include transition(margin-left, 0.1s, ease);
@include flexbox();
@include align-items(flex-start);
@media only screen and (max-width: 769px) {
margin-left: 0;
position: relative;
}
}
&__date {
border-radius: 0.25rem;
min-width: 100px;
max-width: 100px;
margin-top: 0.25rem;
font-size: 16px;
height: 26px;
line-height: 26px;
text-align: center;
@include animation('slide-in-left .2s .5s 1 ease both');
@include themify($themes) {
color: themed('archive-meta-color');
background-color: themed('archive-type-background-color');
}
}
&__type {
border-radius: 0.25rem;
min-width: 100px;
max-width: 100px;
margin-top: 0.25rem;
font-size: 14px;
height: 20px;
line-height: 20px;
text-align: center;
@include flexbox();
@include align-items(center);
@include justify-content(center);
@include themify($themes) {
color: themed('archive-type-color');
background-color: themed('archive-type-background-color');
}
}
&__title {
2019-12-31 02:51:46 +00:00
@include truncate2($grid-max-width);
2019-12-31 02:26:57 +00:00
&--margin {
margin-right: 0.5rem;
margin-left: 0.75rem;
}
}
&__links {
@include flexbox();
@include flex-direction(column);
li {
padding-left: 0.5em;
margin: 0.25rem 0 0.25rem -3.75rem;
@include flexbox();
@include align-items(center);
2019-12-31 02:51:46 +00:00
@include truncate2(650px);
2019-12-31 02:26:57 +00:00
@media only screen and (max-width: 769px) {
margin-left: -6.8rem;
2019-12-31 02:51:46 +00:00
@include truncate2(350px);
2019-12-31 02:26:57 +00:00
}
}
&--item {
padding-left: 0.5rem;
margin: 0.25rem 0;
@include flexbox();
}
}
}