hugo-theme-zzo/assets/sass/layout/_sidebar.scss

65 lines
1.1 KiB
SCSS
Raw Normal View History

2019-11-04 13:09:44 +00:00
.sidebar {
margin-top: 1rem;
&-recent {
padding: 0.25rem;
2019-11-04 13:09:44 +00:00
&__title {
font-family: $title-font;
2019-11-04 13:09:44 +00:00
font-weight: 700;
font-size: 0.95rem;
2019-11-04 13:09:44 +00:00
@include themify($themes) {
color: themed('sidebar-title-color');
&:hover {
color: themed('link-hover');
}
}
2019-11-04 13:09:44 +00:00
}
&__ul {
margin-left: 0.25rem;
li {
text-indent: -0.4em;
padding-left: 0.5em;
&::before {
padding-right: 0.125rem;
font-size: 1rem;
display: inline-block;
content: "\2022";
}
}
2019-11-04 13:09:44 +00:00
}
&__a {
2020-01-29 15:02:49 +00:00
font-family: $title-font;
font-size: 0.95rem;
2019-11-04 13:09:44 +00:00
@include themify($themes) {
color: themed('sidebar-li-color');
}
}
}
&-hr {
margin: 1.5rem 0;
}
&__menu {
margin-top: $grid_navbar_height;
padding: 0 1rem;
@include flexbox();
@include flex-direction(column);
}
}
li.sidebar-recent {
text-indent: -0.4em;
padding-left: 0.5em;
&::before {
padding-right: 0.125rem;
font-size: 1rem;
display: inline-block;
content: "\2022";
}
2019-11-04 13:09:44 +00:00
}