Added footnote support

This commit is contained in:
2016-03-06 23:25:13 +08:00
parent eda4250533
commit 041617f0b4
9 changed files with 228 additions and 8 deletions
@@ -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;
}