From 0dc85b3f21c2f93e9397fcf0b78dd167a0f5472c Mon Sep 17 00:00:00 2001 From: laron Date: Thu, 15 Aug 2013 18:57:24 +0200 Subject: [PATCH] PX sizes => EM --- panikweb_templates/static/css/style.less | 33 +++++++++++++++--------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/panikweb_templates/static/css/style.less b/panikweb_templates/static/css/style.less index 857b6da..6507c75 100644 --- a/panikweb_templates/static/css/style.less +++ b/panikweb_templates/static/css/style.less @@ -5,7 +5,7 @@ @blue: #0000FF; @white: #FFFFFF; -/* SIZES*/ +/* SIZES @xxs: 8px; @xs: 10px; @@ -15,6 +15,15 @@ @xl: 36px; @xxl: 60px; @xxxl: 80px; +*/ +@xxs: 0.667em; +@xs: 0.833em; +@s: 1em; +@m: 1.33em; +@l: 1.66em; +@xl: 3em; +@xxl: 5em; +@xxxl: 6.667em; @player-width: 210px; @content-width: 498px; @@ -25,6 +34,17 @@ @import "forms"; @import "tags"; +body { + background-color: @white; + color: #000305; + font-size: 12px; + font-family: RE01; + line-height: 1.5; + text-align: left; + margin:@l+5px auto; + /*padding: 0px 10px;*/ + clear: both; +} /* Mixins & USEFUL CLASSES */ .squash(@x, @y: 1) { transform: scale(@x, @y); @@ -109,17 +129,6 @@ nav.menu li{ } /* GLOBAL STYLES */ -body { - background-color: @white; - color: #000305; - font-size: @s; - font-family: RE01; - line-height: 1.5; - text-align: left; - margin:@l+5px auto; - /*padding: 0px 10px;*/ - clear: both; -} #main {padding:2em 1em;} /* GLOBAL SITE NAV */ -- 2.39.2