From 003b085f11d4180af35c81455c4521f424f846c6 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 17 May 2021 17:39:55 +0200 Subject: Tweaked the css --- assets/base.css | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'assets') diff --git a/assets/base.css b/assets/base.css index df3e93b..d6efa1d 100644 --- a/assets/base.css +++ b/assets/base.css @@ -2,13 +2,19 @@ box-sizing: border-box; } body { - font-family: open sans,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,helvetica neue,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol; - font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; display: grid; grid-template-rows: auto 1fr auto; + + font-family: open sans,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,helvetica neue,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol; + font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; + } -main p { +p { text-align: justify; + hyphens: auto; + hyphenate-limit-lines: 2; + text-justify: inter-character; + word-break: break-word; } nav#TableOfContents ul { padding: 0; @@ -23,6 +29,9 @@ nav#TableOfContents ul li ul li ul { nav#TableOfContents ul li ul li ul li ul { padding-left:3em; } +h1, h2, h3, h4, h5 { + font-family: open; +} @media only screen and (min-width: 60rem) { body { max-width:60rem; -- cgit v1.2.3