Skip to content

Commit

Permalink
Add a small margin to the beginning of the book to increase visibility
Browse files Browse the repository at this point in the history
This commit introduces a small modification to the CSS file by adding a
margin to the beginning of the book. This adjustment aims to enhance the
visibility of the book content for better readability.
  • Loading branch information
placek committed Apr 19, 2024
1 parent d8a85b3 commit 343070e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ book { string-set: book attr(data-book); display: block; break-before: left; pag
chapter { string-set: chapter attr(data-chapter); display: flex; -prince-bookmark-level: 2; -prince-bookmark-label: attr(data-chapter); }
chapter:before { content: attr(data-chapter); font-family: mono; font-weight: 600; }
column { display: block; padding: 0 .5em; hyphens: auto; }
verse { margin: 0; padding: 0; display: inline; }
verse { display: inline; }
chapter verse[data-verse="1"]:before { display: none; }
chapter[data-chapter="1"]:before { display: none; }
chapter[data-chapter="1"] verse[data-verse="1"] { padding-top: 1em; }
chapter[data-chapter="1"] verse[data-verse="1"]::first-letter { font-size: 2.2em; float: left; line-height: 0.5em; }
verse[data-verse="1"] { display: inline-block; }
verse:before { content: attr(data-verse); font-family: mono; font-weight: 600; font-size: .6em; margin: 0 .5em; vertical-align: super; }

0 comments on commit 343070e

Please sign in to comment.