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

64 lines
1.1 KiB
SCSS
Raw Normal View History

2019-11-04 13:09:44 +00:00
.sidebar {
margin-top: 1rem;
margin-right: 1rem;
&-home {
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 {
&::before {
padding-right: 0.5rem;
font-size: 1rem;
display: inline-block;
content: "\2022";
}
}
2019-11-04 13:09:44 +00:00
}
&__a {
2019-11-04 13:09:44 +00:00
@include themify($themes) {
color: themed('sidebar-li-color');
}
}
}
&-list {
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: 1rem;
}
&__a {
font-family: $sidebar_list_font;
2019-11-04 13:09:44 +00:00
@include themify($themes) {
color: themed('sidebar-li-color');
}
}
}
}