mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-06-25 01:21:15 +12:00
css and kepubify fix
This commit is contained in:
parent
c66c73494c
commit
e49c082fec
|
@ -84,7 +84,7 @@ em em {
|
|||
text-align: right !important;
|
||||
white-space: nowrap;
|
||||
|
||||
span {
|
||||
span.label {
|
||||
font-size: 0.8em;
|
||||
opacity: 0.6;
|
||||
font-style: italic;
|
||||
|
|
|
@ -93,8 +93,8 @@ export function createChapter (ffc, ch, isNotesChapter) {
|
|||
m('body', {'epub:type': 'bodymatter chapter'}, m('section', [
|
||||
title ? m('.chapter-title', [
|
||||
!isNotesChapter ? m('aside.info',
|
||||
m('span', ffc.options.wordsPerMinute ? calcReadingTime(ffc, ffc.storyInfo.chapters[index].realWordCount) : ''),
|
||||
m('span', ffc.storyInfo.chapters[index].realWordCount.toLocaleString('en-GB') + ' words')
|
||||
m('span.label', ffc.options.wordsPerMinute ? calcReadingTime(ffc, ffc.storyInfo.chapters[index].realWordCount) : ''),
|
||||
m('span.label', ffc.storyInfo.chapters[index].realWordCount.toLocaleString('en-GB') + ' words')
|
||||
) : null,
|
||||
m('header', m('h1', title)),
|
||||
m('hr.old')
|
||||
|
@ -305,7 +305,7 @@ export function createNav (ffc) {
|
|||
)
|
||||
if (ffc.options.includeAuthorNotes && ffc.options.useAuthorNotesIndex && ffc.hasAuthorNotes) {
|
||||
list.push(m('li', m('a', {href: 'notesnav.xhtml'}, 'Author\'s Notes')))
|
||||
prettyList.push(m('.item.double', m('a.leftalign', {href: 'notesnav.xhtml'}, 'Author\'s Notes')))
|
||||
prettyList.push(m('li.item.double', m('a', {href: 'notesnav.xhtml'}, 'Author\'s Notes')))
|
||||
}
|
||||
|
||||
return render(
|
||||
|
@ -454,7 +454,7 @@ export function createTitlePage (ffc) {
|
|||
m('#description', tokenContent),
|
||||
m('.bottom', [
|
||||
m('section', {className: 'completed-status completed-status-' + ffc.storyInfo.status.toLowerCase()}, [
|
||||
m('i.fa.fa-fw.fa-' + completedIcon[ffc.storyInfo.status.toLowerCase()]),
|
||||
m('i.fa.fa-fw.fa-' + completedIcon[ffc.storyInfo.status.toLowerCase()], ' '),
|
||||
ffc.storyInfo.status
|
||||
]),
|
||||
ffc.storyInfo.publishDate && infoBox('First Published', prettyDate(new Date(ffc.storyInfo.publishDate * 1000))),
|
||||
|
|
Loading…
Reference in a new issue