Add wrap figures

This commit is contained in:
2020-12-13 22:27:03 +01:00
parent 0c43e074e3
commit f3c73d38b0
10 changed files with 447 additions and 170 deletions

View File

@@ -307,3 +307,20 @@ span[id*='MathJax-Span']{
border-radius:.1em;
}
.figure.wrap-right {
float: right;
&:after {
content:'';
display:block;
clear: both;
}
}
.figure.wrap-left {
float: left;
&:after {
content:'';
display:block;
clear: both;
}
}

View File

@@ -22,12 +22,14 @@ h1{
}
h2{
clear: both; // used if float is present before heading
font-size:150%;
margin-bottom: 1em;
font-weight: $bold;
}
h3{
clear: both;
font-size:125%;
margin-bottom: 0.5em;
}