From 5a0112e56be1c8bb38d88ba36f5c1590cfb9ef4e Mon Sep 17 00:00:00 2001 From: Benjamin <35699580+benj-filament@users.noreply.github.com> Date: Thu, 4 Jul 2019 18:55:24 +0200 Subject: [PATCH] modif css --- static/src/less/style.less | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/static/src/less/style.less b/static/src/less/style.less index 1fe1301..6d83b7a 100644 --- a/static/src/less/style.less +++ b/static/src/less/style.less @@ -2,36 +2,41 @@ /** Fonts ***************************/ @font-face { - font-family: Lato; + font-family: 'Lato'; src: url(../fonts/Lato/Lato-Regular.ttf); font-weight: normal; + font-style: normal; } @font-face { - font-family: Lato; + font-family: 'Lato'; src: url(../fonts/Lato/Lato-Light.ttf); font-weight: 300; + font-style: normal; } @font-face { - font-family: Lato; + font-family: 'Lato'; src: url(../fonts/Lato/Lato-Bold.ttf); font-weight: bold; + font-style: normal; } @font-face { - font-family: Lekton; + font-family: 'Lekton'; src: url(../fonts/Lekton/Lekton-Regular.ttf); font-weight: normal; + font-style: normal; } @font-face { - font-family: Lekton; + font-family: 'Lekton'; src: url(../fonts/Lekton/Lekton-Bold.ttf); font-weight: bold; + font-style: normal; } /*************************** /** Variables ***************************/ -@typo_body: 'Lato', sans-serif; -@typo_1: 'Lekton', sans-serif; +@typo_body: 'Lato',sans-serif !important; +@typo_1: 'Lekton', sans-serif !important; @color1: #1C2F82; @color2: rgb(0, 180, 149); @@ -41,7 +46,7 @@ /** Global ***************************/ .attendance, .attendance td, .convention, .convention td { - font-family: 'Lato', sans-serif; + font-family: @typo_body; font-weight: 300; } @@ -49,7 +54,7 @@ border-top: 1px solid #eee; padding-top: 10px; font-size: 11px; - font-family: 'Lekton', sans-serif; + font-family: @typo_1; text-align: center; color: #333; } @@ -60,13 +65,13 @@ .attendance h1 { color: @color2; font-size: 26px; - font-family: 'Lekton', sans-serif; + font-family: @typo_1; text-transform: uppercase; } .attendance h2 { color: @color1; font-size: 22px; - font-family: 'Lekton', sans-serif; + font-family: @typo_1; } /*************************** @@ -77,13 +82,13 @@ color: #fff; padding: 5px 0; font-size: 26px; - font-family: 'Lekton', sans-serif; + font-family: @typo_1; text-transform: uppercase; } .convention h2 { color: @color1; font-size: 22px; - font-family: 'Lekton', sans-serif; + font-family: @typo_1; text-transform: uppercase; } .convention h3 { -- GitLab