From 2119a31d4a64a3ae7281a399ec3124f539b243b0 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Wed, 21 Jul 2010 14:27:15 -0400 Subject: [PATCH] be consistent with units --- public/stylesheets/defaults.css | 2 +- public/stylesheets/forms.css | 6 +++--- public/stylesheets/lists.css | 4 ++-- public/stylesheets/type.css | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/public/stylesheets/defaults.css b/public/stylesheets/defaults.css index 8d4c4c6..498ccf8 100644 --- a/public/stylesheets/defaults.css +++ b/public/stylesheets/defaults.css @@ -12,7 +12,7 @@ h1, h2, h3, h4, h5, h6 { /* Success, error & notice boxes for messages and errors. */ div.error, div.notice, div.success, #flash_failure, #flash_success, #flash_notice { - padding: .8em; + padding: 0.8em; margin-bottom: 1em; border: 1px solid #ddd; -moz-border-radius: 8px; diff --git a/public/stylesheets/forms.css b/public/stylesheets/forms.css index 4114ee7..8fd08f3 100644 --- a/public/stylesheets/forms.css +++ b/public/stylesheets/forms.css @@ -28,9 +28,9 @@ label { display: block; } a.cancel { color: #7d0d0d; } .inline-hints { - font-size: .8em; + font-size: 0.8em; color: #666; - margin-bottom: .25em; + margin-bottom: 0.25em; } /* Fieldsets */ @@ -97,7 +97,7 @@ textarea { /* Select fields */ fieldset .select select { width:200px; - font-size: .9em; + font-size: 0.9em; } optgroup { margin: 0 0 .5em 0; } diff --git a/public/stylesheets/lists.css b/public/stylesheets/lists.css index 3b5e4ff..5c09a55 100644 --- a/public/stylesheets/lists.css +++ b/public/stylesheets/lists.css @@ -13,10 +13,10 @@ dl { } dl dt { font-weight: bold; - margin-top: .5em; + margin-top: 0.5em; } dl dd { margin-bottom: 0em;} -dd { margin-left: .5em; } +dd { margin-left: 0.5em; } li { line-height: 1.4; } diff --git a/public/stylesheets/type.css b/public/stylesheets/type.css index 6afd4a1..f3022fb 100644 --- a/public/stylesheets/type.css +++ b/public/stylesheets/type.css @@ -15,20 +15,20 @@ h2 { h3 { font-size: 1.3em; line-height: 1; - margin-bottom: .25em; + margin-bottom: 0.25em; } h4 { font-size: 1.1em; line-height: 1.25; - margin-bottom: .25em; + margin-bottom: 0.25em; } h5 { font-size: 1em; - margin-bottom: .25em; + margin-bottom: 0.25em; } h6 { font-size: 1em; - margin-bottom: .25em; + margin-bottom: 0.25em; } /* Text elements */