From 238e91661b23ad48c40581c9f106ed7fe7962ca1 Mon Sep 17 00:00:00 2001 From: RochDLY Date: Fri, 28 Jun 2024 14:25:58 +0200 Subject: correction de l'appel de la font TeX Gire Heros dans le css --- static/css/styles.css | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'static/css/styles.css') diff --git a/static/css/styles.css b/static/css/styles.css index cb496e8..d463ad5 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -5,25 +5,25 @@ } @font-face { - font-family: 'texgyreheroscn'; + font-family: 'TeX Gyre Heros'; font-weight: 400; src: url('/fonts/texgyreheroscn-regular.otf') format('otf'); } @font-face { - font-family: 'texgyreheroscn'; + font-family: 'TeX Gyre Heros'; font-weight: 700; src: url('/fonts/texgyreheroscn-bold.otf') format('otf'); } @font-face { - font-family: 'texgyreheroscn'; + font-family: 'TeX Gyre Heros'; font-style: italic; src: url('/fonts/texgyreheroscn-italic.otf') format('otf'); } @font-face { - font-family: 'texgyreheroscn'; + font-family: 'TeX Gyre Heros'; font-weight: 700; src: url('/fonts/texgyreheroscn-bolditalic') format('otf'); } @@ -43,8 +43,9 @@ body { display: grid; gap: 20px; grid-template-columns: 1fr 2fr; - font-family: 'texgyreheroscn'; + font-family: 'TeX Gyre Heros'; font-size: 1em; + margin-top: 0; } footer { @@ -57,6 +58,7 @@ footer { h1, h2, h3, h4, h5, h6 { font-family: 'Bagnard'; + margin-top: 0; } img { @@ -73,15 +75,22 @@ img { } .content { - padding: 4em; + padding: 1em 4em; font-size: 1.3em; +} +.content h2, h3, h4, h5, h6 { + margin: 0; } .content h2 { font-size: 2.5em; } +.content p { + margin-top: 0; +} + .description-site { grid-column: 2; grid-row: 2; -- cgit v1.2.3