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

44 lines
801 B
SCSS
Raw Normal View History

2019-11-04 13:09:44 +00:00
.sidebar {
margin-top: 1rem;
margin-right: 1rem;
&-recent {
2019-11-04 13:09:44 +00:00
padding: 0.5rem;
&__title {
font-family: $sidebar_title_font;
2019-11-04 13:09:44 +00:00
font-weight: 700;
@include themify($themes) {
color: themed('sidebar-title-color');
&:hover {
color: themed('link-hover');
}
}
}
&__ul {
margin-left: 0.5rem;
li {
text-indent: -0.35em;
padding-left: 0.5em;
&::before {
padding-right: 0.5rem;
font-size: 1rem;
display: inline-block;
content: "\2022";
}
}
2019-11-04 13:09:44 +00:00
}
&__a {
font-family: $sidebar_list_font;
2019-11-04 13:09:44 +00:00
@include themify($themes) {
color: themed('sidebar-li-color');
}
}
}
&-hr {
margin: 1.5rem 0;
}
2019-11-04 13:09:44 +00:00
}