Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lyricat committed Mar 10, 2019
1 parent c31c05c commit 8edb6e8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@
'padding': '4px 8px',
}),
footnotes: COPY(BASE_BLOCK_STYLE, {
'margin': '10px 10px'
'margin': '10px 10px',
'font-size': '14px'
}),
footnote: COPY(BASE_STYLE, {
'font-size': '12px',
Expand All @@ -246,9 +247,9 @@
var buildFootnotes = function () {
var footnoteArray = footnotes.map(function (x) {
if (x[1] === x[2]) {
return '<code style="font-size: 80%">[' + x[0] + ']</code>: <i>' + x[1] +'</i><br/>'
return '<code style="font-size: 90%; opacity: 0.6;">[' + x[0] + ']</code>: <i>' + x[1] +'</i><br/>'
}
return '<code style="font-size: 80%">[' + x[0] + ']</code> ' + x[1] + ': <i>' + x[2] +'</i><br/>'
return '<code style="font-size: 90%; opacity: 0.6;">[' + x[0] + ']</code> ' + x[1] + ': <i>' + x[2] +'</i><br/>'
})
return '<h3 ' + S('h3') + '>References</h3><p ' + S('footnotes') + '>' + footnoteArray.join('\n') + '</p>'
}
Expand Down

0 comments on commit 8edb6e8

Please sign in to comment.