From f22bfe138d0ceda4ca95cb0d5d4ec49234dfa7a7 Mon Sep 17 00:00:00 2001 From: RochDLY Date: Fri, 28 Jun 2024 18:10:04 +0200 Subject: =?UTF-8?q?css=20:=E2=80=AFfaire=20bien=20l'appel=20pour=20les=20e?= =?UTF-8?q?mphases=20+=20supression=20de=20la=20propri=C3=A9t=C3=A9=20line?= =?UTF-8?q?-height=20de=20la=20classe=20.content?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/css/styles.css | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'docs/css') diff --git a/docs/css/styles.css b/docs/css/styles.css index e8c894b..3b5da5c 100644 --- a/docs/css/styles.css +++ b/docs/css/styles.css @@ -1,30 +1,25 @@ @font-face { font-family: 'Bagnard'; - font-weight: 400; src: url('/fonts/Bagnard.otf') format('otf'); } @font-face { font-family: 'TeX Gyre Heros'; - font-weight: 400; src: url('/fonts/texgyreheroscn-regular.otf') format('otf'); } @font-face { - font-family: 'TeX Gyre Heros'; - font-weight: 600; + font-family: 'TeX Gyre Heros Bold'; src: url('/fonts/texgyreheroscn-bold.otf') format('otf'); } @font-face { - font-family: 'TeX Gyre Heros'; - font-style: italic; + font-family: 'TeX Gyre Heros Italic'; src: url('/fonts/texgyreheroscn-italic.otf') format('otf'); } @font-face { - font-family: 'TeX Gyre Heros'; - font-weight: 600; + font-family: 'TeX Gyre Heros Bold Italic'; src: url('/fonts/texgyreheroscn-bolditalic') format('otf'); } @@ -47,6 +42,10 @@ body { font-size: 1em; } +em { + font-family: 'TeX Gyre Heros Italic'; +} + footer { text-align: center; background-color: rgb(255, 255, 255); @@ -65,6 +64,14 @@ img { max-height : 400px; } +strong { + font-family: 'TeX Gyre Heros Bold'; +} + +strong > em { + font-family: 'TeX Gyre Heros Bold Italic'; +} + .container { grid-column: 2; grid-row: 2; @@ -76,7 +83,6 @@ img { .content { padding: 1em 4em; font-size: 1.3em; - line-height: 1.2; } .content h2, -- cgit v1.2.3