From 78fa3777c948564ded14934206945fd160eb7d48 Mon Sep 17 00:00:00 2001 From: ada <> Date: Tue, 28 Mar 2023 13:06:59 +0200 Subject: [PATCH] font --- ogcardeck/stylesheet.css | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/ogcardeck/stylesheet.css b/ogcardeck/stylesheet.css index fb71d06..c6032af 100644 --- a/ogcardeck/stylesheet.css +++ b/ogcardeck/stylesheet.css @@ -1,3 +1,14 @@ +@font-face { + font-family: Consolation; + src: url('./fonts/Consolation014.woff') format('woff'); + font-weight:normal; +} + +body { + font-family: Consolation; + text-transform: uppercase; + letter-spacing: 1.5; +} .card { width: 8.5cm; @@ -11,11 +22,10 @@ break-inside: avoid; } .card > img { - width: calc(100% - 8mm - 8mm); + width: calc(100% - 1mm - 1mm); position: absolute; top: 0; left: 0; - margin: 6mm; } p { @@ -28,12 +38,9 @@ p { p.down { bottom:0; font-family: 'Consolation'; + margin: 0 0 2mm; } -@font-face { - font-family: 'Consolation'; - src: local('Consolation'), - url('./fonts/Consolation014.woff') format('opentype'); - font-weight: normal; - font-style: normal; -} \ No newline at end of file +.up{ + margin: 2mm 0 0 0; +}