zeus.ugent.be/content/assets/stylesheets/includes/blogpost.scss
2017-02-02 15:48:38 +01:00

41 lines
539 B
SCSS

#markdown-toc {
@extend .menu-list;
&, ul {
margin: 0;
list-style: none;
}
}
$sel: '';
@for $i from 1 through 9 {
$sel: if($i == 1, "ul", selector-nest($sel, "ul")) !global;
#markdown-toc.toc-depth-#{$i} #{$sel} {
display: none;
}
}
// Definition list is not defined in bulma
dl {
dt {
display: inline;
font-weight: bold;
}
dd {
display: inline;
&::after {
content: "\A";
white-space: pre;
}
}
}
.blogwidth{
width: 75%;
margin:auto;
word-wrap: normal;
}