Skip to content

Commit

Permalink
Add ligatures setting
Browse files Browse the repository at this point in the history
The ligatures setting for historical ligatures has been added to the CSS
file. This modification enhances the typography of the project,
providing a more sophisticated and visually appealing text display. By
including font-variant-ligatures property with the value of
'historical-ligatures', the text now features ligatures that represent
combined characters, improving the overall readability and aesthetic of
the content.
  • Loading branch information
placek committed Apr 19, 2024
1 parent 343070e commit afd2000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@page book:blank { @top-left { content: ""; } @top-right { content: ""; } }

* { margin: 0; padding: 0; }
body { font-size: var(--size); text-align: justify; font-family: greek, mono, f1, f2; line-height: 1.2; }
body { font-size: var(--size); text-align: justify; font-family: greek, mono, f1, f2; line-height: 1.2; font-variant-ligatures: historical-ligatures; }
h1 { font-family: mono; font-weight: 600; font-size: 6vh; margin: 46vh 0; padding: 0; text-align: center; }
info { display: flex; width: 100%; justify-content: space-between; }
book { string-set: book attr(data-book); display: block; break-before: left; page: book; -prince-bookmark-level: 1; -prince-bookmark-label: attr(data-book); }
Expand Down

0 comments on commit afd2000

Please sign in to comment.