zeus.ugent.be/content/assets/stylesheets/includes/blogpost.scss

74 lines
1 KiB
SCSS
Raw Normal View History

2016-10-31 02:23:28 +01:00
#markdown-toc {
@extend .menu-list;
&, ul {
2016-10-31 12:37:19 +01:00
margin: 0;
2016-10-31 02:23:28 +01:00
list-style: none;
}
}
2017-02-02 15:48:38 +01:00
$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
2016-10-10 22:13:38 +02:00
dl {
dt {
display: inline;
font-weight: bold;
}
dd {
display: inline;
&::after {
content: "\A";
white-space: pre;
}
}
}
2017-04-20 14:20:32 +02:00
.blog-heading {
display: flex;
flex-direction: column;
.titlewrap {
position: relative;
margin: auto;
.title {
font-size: 4rem;
font-weight: bolder;
}
.subtitle {
position: absolute;
}
.details {
right: 0;
position: absolute;
margin-top: -1.1rem;
line-height: 1;
text-align: right;
}
}
&::after {
content: '';
width: 80px;
height: 1px;
margin-top: 30px;
margin-right: auto;
margin-left: auto;
margin-bottom: 30px;
display: block;
background: $zeus-orange;
}
2016-10-06 14:21:01 +02:00
}