layouts : modification de la police de caractères

This commit is contained in:
Ahurac 2024-06-04 10:24:26 +02:00
parent cc2450e4f2
commit f021e1ba78
2 changed files with 3 additions and 2 deletions

View file

@ -21,7 +21,7 @@ const { title } = Astro.props;
<style> <style>
@font-face { @font-face {
font-family: 'Cantarell'; font-family: 'Cantarell';
src: url('/fonts/cantarell.otf') format('otf'); src: url('/fonts/cantarell.otf') format('opentype');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;
@ -42,6 +42,7 @@ body {
align-items: center; align-items: center;
margin: 0; margin: 0;
flex-direction: column; flex-direction: column;
font-size: 110%;
} }
main { main {

View file

@ -61,7 +61,7 @@ figcaption {
} }
p { p {
line-height: 1.5; line-height: 1.8;
} }
a { a {