use block behavior for lower-priority fonts

This commit is contained in:
Matt Dunn-Rankin 2020-05-18 00:59:10 -07:00
parent cfabefa442
commit 3b276e972a

View file

@ -25,14 +25,14 @@
/* A font by Jos Buivenga (exljbris) -> www.exljbris.com */ /* A font by Jos Buivenga (exljbris) -> www.exljbris.com */
@font-face { @font-face {
font-family: "Delicious"; font-family: "Delicious";
font-display: swap; font-display: block; /* used for large-but-late subheadings */
font-weight: 700; font-weight: 700;
src: url(/fonts/Delicious-Bold.otf); src: url(/fonts/Delicious-Bold.otf);
} }
@font-face { @font-face {
font-family: "Delicious"; font-family: "Delicious";
font-display: swap; font-display: swap; /* used for page titles */
font-weight: 800 1000; font-weight: 800 1000;
src: url(/fonts/Delicious-Heavy.otf); src: url(/fonts/Delicious-Heavy.otf);
} }