Skip to content

Commit d8a85b3

Browse files
committed
Initials added to first chapter title
The changes in this commit involve adding initials to the first chapter title in the book. Specifically, the CSS code now includes styling to hide the initial chapter title for chapter one, display the first letter of the first verse in an enlarged font size with specific styling, and set the first verse to display as a block element.
1 parent 6fd7158 commit d8a85b3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

style.css

+3
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,7 @@ chapter:before { content: attr(data-chapter); font-family: mono; font-weight: 60
2020
column { display: block; padding: 0 .5em; hyphens: auto; }
2121
verse { margin: 0; padding: 0; display: inline; }
2222
chapter verse[data-verse="1"]:before { display: none; }
23+
chapter[data-chapter="1"]:before { display: none; }
24+
chapter[data-chapter="1"] verse[data-verse="1"]::first-letter { font-size: 2.2em; float: left; line-height: 0.5em; }
25+
verse[data-verse="1"] { display: inline-block; }
2326
verse:before { content: attr(data-verse); font-family: mono; font-weight: 600; font-size: .6em; margin: 0 .5em; vertical-align: super; }

0 commit comments

Comments
 (0)