Fixes to list-straight-left. Change body fallback font to Charter from Baskervill. Some minor css fixes.

This commit is contained in:
Fredrik Jonsson 2017-05-27 22:40:11 +02:00
commit 12fc3bd4a2

View file

@ -1,14 +1,17 @@
// Lists with a straight left margin.
%ul-straight-left {
display: table;
list-style: none;
padding-left: 1rem;
text-indent: -1rem;
padding: 0;
& > li {
display: table-row;
&::before {
@include font-size(s);
@include padding-right(.5);
display: table-cell;
content: '\2022';
@include respond-to(xxl) {
@ -42,14 +45,16 @@
}
%ul-straight-left--off {
padding-left: 0;
text-indent: 0;
display: block;
list-style: inherit;
& > li {
display: list-item;
&::before {
font-size: inherit;
padding-right: 0;
content: '';
display: inline;
padding: inherit;
}
}
}