From bb0f3b9f7c03f1a108949bf13723cdfdd6659e69 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Thu, 1 Jun 2017 11:25:59 +0200 Subject: [PATCH] Font size abstraction --- css/fonts.css | 8 ++++++++ css/style.css | 10 ---------- templates/inc/footer.tpl | 2 +- templates/inc/header.tpl | 4 ++-- templates/index.tpl | 10 +++++----- 5 files changed, 16 insertions(+), 18 deletions(-) diff --git a/css/fonts.css b/css/fonts.css index 1eb4f61..da1e849 100644 --- a/css/fonts.css +++ b/css/fonts.css @@ -10,3 +10,11 @@ font-weight: 400; src: local('Open Sans'), local('OpenSans'), url(../bower_components/opensans-googlefont/OpenSans-Regular.ttf); } + +.small-font { + font-size: 13px; +} + +.large-font { + font-size:24px; +} diff --git a/css/style.css b/css/style.css index 2ac793d..ed74749 100644 --- a/css/style.css +++ b/css/style.css @@ -109,7 +109,6 @@ footer { background-repeat:repeat-x; bottom:0; color:#adadad; - font-size:12px; padding-top:20px; position:fixed; text-align:center; @@ -168,7 +167,6 @@ footer a:hover { color:#dedede; cursor:pointer; display:inline-block; - font-size:24px; font-weight:800; padding: 12px 14px; position:relative; @@ -196,7 +194,6 @@ footer a:hover { border: 3px solid #a5a5a5; border-radius:10px; color:#3F3F3F; - font-size:24px; font-weight:800; margin-right:8px; min-width:426px; @@ -222,7 +219,6 @@ footer a:hover { background-position:0 100%; background-repeat:no-repeat; color:#a5a5a5; - font-size:13px; padding-bottom:10px; padding-left:41px; padding-top:10px; @@ -247,7 +243,6 @@ footer a:hover { .bookmarklet { border: 2px dotted; color:gray; - font-size:13px; padding:10px 30px; position:relative; text-decoration:none; @@ -258,8 +253,6 @@ footer a:hover { background-color:#cecece; border-radius:6px; color:#696969; - font-size:14px; - font-weight:300; height:26px; margin-top:12px; position:relative; @@ -485,7 +478,6 @@ footer a:hover { .tripleliste ul li { color:#383838; float:left; - font-size:16px; list-style-type:none; position:relative; text-align:left; @@ -578,7 +570,6 @@ h1 { .locales { float: left; - font-size: 12px; padding-left: 1em; padding-top: 1em; text-align: left; @@ -623,7 +614,6 @@ h1 { border: none; cursor: pointer; display: inline-block; - font-size: 12px; padding: 1em; } diff --git a/templates/inc/footer.tpl b/templates/inc/footer.tpl index b9ff314..bcc7eb8 100644 --- a/templates/inc/footer.tpl +++ b/templates/inc/footer.tpl @@ -1,5 +1,5 @@ -