From afd2000ae892df5931589a0d695e5e00ccd36f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Placzy=C5=84ski?= Date: Fri, 19 Apr 2024 23:57:09 +0200 Subject: [PATCH] Add ligatures setting 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. --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.css b/style.css index f1aee16..c5fc7ac 100644 --- a/style.css +++ b/style.css @@ -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); }