630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
|
# File 'lib/asciidoctor-multipage.rb', line 630
def process doc
if doc.attr('multipage-disable-css')
return
end
css = []
css << %(.toc-current{font-weight: bold;})
css << %(.toc-root{font-family: "Open Sans","DejaVu Sans",sans-serif;
font-size: 0.9em;})
css << %(#content{display: flex; flex-direction: column; flex: 1 1 auto;}
.nav-footer{text-align: center; margin-top: auto;}
.nav-footer > p > a {white-space: nowrap;})
%(<style>#{css.join(' ')}</style>)
end
|