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

56 lines
964 B
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');
}
}
}
&__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 {
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;
}
}
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
}