forked from Botanical/BotanJS
Added footnote support
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
.footnote {
|
||||
padding-top: 0.25em;
|
||||
position: relative;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.footnote {
|
||||
color: #555;
|
||||
list-style-type: decimal;
|
||||
list-style-position: inside;
|
||||
}
|
||||
|
||||
.footnote > li {
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
|
||||
.footnote > li[focused] {
|
||||
background-color: #EE5;
|
||||
}
|
||||
|
||||
.footnote:before {
|
||||
content: "";
|
||||
|
||||
position: absolute;
|
||||
|
||||
top: 0;
|
||||
|
||||
width: 40%;
|
||||
|
||||
border-top: 1px black solid;
|
||||
}
|
||||
Reference in New Issue
Block a user