From 4c01ddc9618b33369f5304c9f61f726bf0b15ab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Wed, 22 Mar 2017 20:45:57 +0100 Subject: [PATCH] =?UTF-8?q?skautsk=C3=BD=20font=20na=20webu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/css/web/layout.css | 73 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/www/css/web/layout.css b/www/css/web/layout.css index aa009d3f2..680374eb7 100644 --- a/www/css/web/layout.css +++ b/www/css/web/layout.css @@ -1,5 +1,78 @@ /** rozvrzeni stranek */ +@font-face { + font-family: 'themix'; + src: url('https://cdn.skauting.cz/fonts/TheMix_LT_400.eot'); + src: url('https://cdn.skauting.cz/fonts/TheMix_LT_400.eot? #iefix') format('embedded-opentype'); + src: url('https://cdn.skauting.cz/fonts/TheMix_LT_400.woff') format('woff'), + url('https://cdn.skauting.cz/fonts/TheMix_LT_400.woff2') format('woff2'), + url('https://cdn.skauting.cz/fonts/TheMix_LT_400.otf') format('opentype'), + url('https://cdn.skauting.cz/fonts/TheMix_LT_400.svg#themix') format('svg'); + font-weight: 400; + font-style: normal; +} + +@font-face { + font-family: 'themix'; + src: url('https://cdn.skauting.cz/fonts/TheMix_LT_400i.eot'); + src: url('https://cdn.skauting.cz/fonts/TheMix_LT_400i.eot? #iefix') format('embedded-opentype'); + src: url('https://cdn.skauting.cz/fonts/TheMix_LT_400i.woff') format('woff'), + url('https://cdn.skauting.cz/fonts/TheMix_LT_400i.woff2') format('woff2'), + url('https://cdn.skauting.cz/fonts/TheMix_LT_400i.otf') format('opentype'), + url('https://cdn.skauting.cz/fonts/TheMix_LT_400i.svg#themix') format('svg'); + font-weight: 400; + font-style: italic; +} + +@font-face { + font-family: 'themix'; + src: url('https://cdn.skauting.cz/fonts/TheMix_LT_700.eot'); + src: url('https://cdn.skauting.cz/fonts/TheMix_LT_700.eot? #iefix') format('embedded-opentype'); + src: url('https://cdn.skauting.cz/fonts/TheMix_LT_700.woff') format('woff'), + url('https://cdn.skauting.cz/fonts/TheMix_LT_700.woff2') format('woff2'), + url('https://cdn.skauting.cz/fonts/TheMix_LT_700.otf') format('opentype'), + url('https://cdn.skauting.cz/fonts/TheMix_LT_700.svg#themix') format('svg'); + font-weight: 700; + font-style: normal; +} + +@font-face { + font-family: 'themix'; + src: url('https://cdn.skauting.cz/fonts/TheMix_LT_700i.eot'); + src: url('https://cdn.skauting.cz/fonts/TheMix_LT_700i.eot? #iefix') format('embedded-opentype'); + src: url('https://cdn.skauting.cz/fonts/TheMix_LT_700i.woff') format('woff'), + url('https://cdn.skauting.cz/fonts/TheMix_LT_700i.woff2') format('woff2'), + url('https://cdn.skauting.cz/fonts/TheMix_LT_700i.otf') format('opentype'), + url('https://cdn.skauting.cz/fonts/TheMix_LT_700i.svg#themix') format('svg'); + font-weight: 700; + font-style: italic; +} + +@font-face { + font-family: 'skautbold'; + src: url('https://cdn.skauting.cz/fonts/skaut-bold-webfont.eot'); + src: url('https://cdn.skauting.cz/fonts/skaut-bold-webfont.eot? #iefix') format('embedded-opentype'); + src: url('https://cdn.skauting.cz/fonts/skaut-bold-webfont.woff') format('woff'), + url('https://cdn.skauting.cz/fonts/skaut-bold-webfont.otf') format('opentype'), + url('https://cdn.skauting.cz/fonts/skaut-bold-webfont.svg#skautbold') format('svg'); + font-weight: normal; + font-style: normal; +} + +body { + font-family: themix, sans-serif; +} + +h1 { + font-family: skautbold, sans-serif; + font-weight: normal; +} + +p { + font-weight: 400; + font-style: normal; +} + ul.no-bullets > li { list-style-type: none !important; margin-left: 0px !important;