#4: fix footnotes styling
This commit is contained in:
parent
09dd0a60f8
commit
f9439eee4d
2 changed files with 66 additions and 0 deletions
65
css/area_footnotes.less
Normal file
65
css/area_footnotes.less
Normal file
|
@ -0,0 +1,65 @@
|
|||
/**
|
||||
* 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%;
|
||||
}
|
||||
|
||||
> sup {
|
||||
|
||||
}
|
||||
|
||||
// footnote text
|
||||
div.content {
|
||||
line-height: 135%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
/* footnotes in content */
|
||||
sup,
|
||||
.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%;
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue