Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
93 lines (75 sloc) 1.43 KB
// Footnote references positioned at the end of main content, generated by Kramdown and Jekyll.
.footnotes {
@include bleed-right(1em);
clear: both;
margin-top: 2em;
padding: 1em 2em 2em;
@include min-width(s03) {
@include bleed-right(2em);
}
@include min-width(s04) {
@include bleed-right(2.5em);
margin-top: 2.5em;
}
@include min-width(l01) {
@include bleed-right(4.5em);
padding: 2.5em;
}
@include min-width(l03) {
@include bleed-right(9em);
}
ol {
padding-right: 1.25em;
}
li {
border-bottom: solid 1px;
padding-bottom: 1.25em;
}
li + li {
margin-top: 1.25em;
}
li:last-child {
border: 0;
padding: 0;
}
li p {
display: inline; // overwrites default block style
font-size: .875em;
}
ol li::before {
border: 1px solid;
border-radius: .125em;
content: counter(ol);
font-size: .875em;
margin-right: 0;
padding: 0 .25em;
}
}
.ancillary--endnotes + .footnotes {
margin-top: 0;
}
.reversefootnote {
float: right;
margin: .25em -1.5em;
padding: 0 .25em;
border: solid 1px;
border-radius: .125em;
@include min-width(l01) {
margin: .25em -2.5em;
}
}
.ancillary--endnotes + .footnotes {
border-top: solid 1px;
}
// Inline body footnotes
sup[id] {
margin: 0;
top: 0;
}
.footnote {
border: solid 1px;
border-radius: .125em;
font-weight: $weight-medium;
margin-right: .125em;
padding: 0 .25em;
}