Преглед изворни кода

Possibilité de mettre un bloc d'intro

Sangfroid пре 1 месец
родитељ
комит
9c07e379fe

BIN
assets/fonts/alegreya/alegreya-latin-400-italic.woff


BIN
assets/fonts/alegreya/alegreya-latin-400-italic.woff2


BIN
assets/fonts/alegreya/alegreya-latin-400-normal.woff


BIN
assets/fonts/alegreya/alegreya-latin-400-normal.woff2


BIN
assets/fonts/alegreya/alegreya-latin-700-italic.woff


BIN
assets/fonts/alegreya/alegreya-latin-700-italic.woff2


BIN
assets/fonts/alegreya/alegreya-latin-700-normal.woff


BIN
assets/fonts/alegreya/alegreya-latin-700-normal.woff2


+ 13 - 0
assets/styles/app.css

@@ -14,6 +14,14 @@
     }
 } */
 
+@font-face {
+  font-family: 'Alegreya';
+  src: url('../fonts/alegreya/alegreya-latin-700-normal.woff2') format('woff2'),
+       url('../fonts/alegreya/alegreya-latin-700-normal.woff') format('woff');
+  font-weight: 700;
+  font-style: normal;
+}
+
 body {
   margin: 0;
   padding: 0;
@@ -269,6 +277,11 @@ main h1 a:hover {
   font-size: 1.5em;
 }
 
+.intro {
+  font-family: 'Alegreya', serif;
+  font-size: 1.1em;
+}
+
 @media screen and (max-width: 1400px) {
   #header {
     height: 250px;