Merge pull request #25 from cosmocode/footnotes

#4 Footnotes
This commit is contained in:
Andreas Gohr 2019-04-10 10:18:42 +02:00 committed by GitHub
commit 0c4625072c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 60 additions and 0 deletions

59
css/area_footnotes.less Normal file
View file

@ -0,0 +1,59 @@
/**
* This file provides the design styles for the footnotes.
*
*/
/* + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* footnotes section */
.dokuwiki div.footnotes {
div.fn {
margin-bottom: .2rem;
display: table;
vertical-align: top;
> sup,
.content {
display: table-cell;
}
> sup {
vertical-align: top;
// footnote anchor
a.fn_bot {
font-size: .86em;
padding-right: .2em;
}
}
.content {
vertical-align: top;
line-height: 135%;
}
// footnote text
div.content {
line-height: 135%;
}
}
}
/* + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* footnotes in content */
.main-content sup,
.main-content > div > p sup,
.main-content > div > ul > li .li sup {
a.fn_top {
font-size: .7rem;
font-weight: bold;
padding-right: .2em;
}
}
.insitu-footnote {
line-height: 130%;
}