From 04e8c2b6426ab88968faa604e60a104249eb0ecf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Faruk=20Ate=C5=9F?= Date: Thu, 17 Jan 2013 15:53:38 -0800 Subject: [PATCH] Extend normalize.css for Presentate --- normalize.css | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/normalize.css b/normalize.css index 869763f4f..5788df1ef 100644 --- a/normalize.css +++ b/normalize.css @@ -1,4 +1,5 @@ /*! normalize.css v2.0.1 | MIT License | git.io/normalize */ +/* four53/ fork with Presentate-specific adjustments (rem units) */ /* ========================================================================== HTML5 display definitions @@ -126,6 +127,10 @@ strong { font-weight: bold; } +blockquote { + margin: 1em rem(2); +} + /** * Address styling not present in Safari 5 and Chrome. */ @@ -201,6 +206,28 @@ sub { bottom: -0.25em; } +/* ============================================================================= + Lists + ========================================================================== */ + +/* + * Set margin in rem, not px + */ + +dd { + margin: 0 0 0 rem(2); +} + +/* + * Set padding in rem, not px + */ + +menu, +ol, +ul { + padding: 0 0 0 rem(2); +} + /* ========================================================================== Embedded content ========================================================================== */ @@ -239,11 +266,12 @@ figure { /** * Define consistent border, margin, and padding. + * (four53) Remove border, margin */ fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; + border: 0; + margin: 0; padding: 0.35em 0.625em 0.75em; }