From a97e5bb22c81bf90ab8f49ea1a7edb9a037914fb Mon Sep 17 00:00:00 2001 From: Jef van Schendel Date: Thu, 18 Aug 2011 17:29:38 +0200 Subject: [PATCH] Fix text sizes (use relative values), remove some unnecessary text sizes, add some spaces here and there --- mediagoblin/static/css/base.css | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index 1f64eadf..272a6aee 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -20,7 +20,7 @@ h1{ margin-bottom: 15px; margin-top: 15px; color: #fff; - font-size: 30px; + font-size: 1.875em; } h2{ @@ -30,7 +30,7 @@ h2{ h3{ border-bottom: 1px solid #333; - font-size: 18px; + font-size: 1.125em; } a { @@ -60,8 +60,8 @@ label { } a.mediagoblin_logo{ - color:#fff; - font-weight:bold; + color: #fff; + font-weight: bold; } .header_submit{ @@ -87,7 +87,7 @@ a.mediagoblin_logo{ bottom: 0px; padding-top: 8px; text-align: center; - font-size: 14px; + font-size: 0.8125em; color: #999; } @@ -116,7 +116,6 @@ a.mediagoblin_logo{ border: none; color: #272727; margin: 10px 0px 10px 15px; - font-size: 1em; text-align: center; padding-left: 11px; padding-right: 11px; @@ -137,7 +136,6 @@ text-align: center; background-color: #222; background-image: url("../images/background_lines.png"); background-repeat: repeat-x; - font-size: 18px; padding-bottom: 30px; padding-top: 30px; margin-left: auto; @@ -150,13 +148,8 @@ text-align: center; background-image: url("../images/background_edit.png"); } -.form_box h1 { - font-size: 28px; -} - .form_field_input input, .form_field_input textarea { width: 100%; - font-size: 18px; } .form_field_box { @@ -171,7 +164,6 @@ text-align: center; background-color: #87453b; color: #fff; border: none; - font-size: 16px; padding: 9px; margin-top: 8px; margin-bottom: 8px; @@ -186,7 +178,7 @@ text-align: center; .comment_author { margin-bottom: 40px; padding-top: 4px; - font-size: 14px; + font-size: 0.9em; } .comment_content p { @@ -208,11 +200,11 @@ text-align: center; /* media detail */ h2.media_title{ - margin-bottom:0px; + margin-bottom: 0px; } p.media_uploader{ - font-size:0.9em; + font-size: 0.9em; } /* icons */ -- 2.25.1