Skip to content

Commit

Permalink
Fix print.css stylesheet for print version
Browse files Browse the repository at this point in the history
The print.css stylesheet was updated to adjust the size of the root
element and the font size for the verse:before selector. These changes
were made to improve the styling and layout specifically for the print
version of the document. The root element size was increased from 2.1vh
to 2.3vh, and the font size for the verse:before selector was adjusted
from .6em to .5em for better readability and aesthetics in the printed
format.
  • Loading branch information
placek committed May 20, 2024
1 parent a812474 commit bc40cc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions print.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:root { --size: 2.1vh; }
:root { --size: 2.3vh; }

@font-face { font-family: greek; src: url(fonts/newathu.ttf); }
@font-face { font-family: mono; src: url(fonts/mono.ttf); }
Expand Down Expand Up @@ -33,7 +33,7 @@ book chapter:first-of-type verse[number="1"] { display: block; }
book chapter:first-of-type verse[number="1"]::first-letter { font-size: 2.2em; float: left; line-height: 0.5em; }
book chapter:first-of-type verse[number="1"]:before { display: none; }
verse { display: inline; }
verse:before { content: attr(number); font-family: mono; font-weight: 600; font-size: .6em; margin: 0 .5em; vertical-align: super; }
verse:before { content: attr(number); font-family: mono; font-weight: 600; font-size: .5em; margin: 0 .5em; vertical-align: super; }

reference { font-family: mono; font-size: .6em; margin: 0 .5em; vertical-align: baseline; display: inline; }

Expand Down

0 comments on commit bc40cc2

Please sign in to comment.