#4: fix footnotes styling

This commit is contained in:
Jana Deutschländer 2019-03-13 14:23:30 +01:00
commit f9439eee4d
2 changed files with 66 additions and 0 deletions

65
css/area_footnotes.less Normal file
View 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%;
}

View file

@ -62,6 +62,7 @@ css/base_design.less = all
css/area_content.less = all
css/area_header.less = all
css/area_footer.less = all
css/area_footnotes.less = all
css/area_msg.less = all
css/area_nav-direct.less = all
css/area_nav-breadcrumb.less = all