From fca8bd3a73ee0c2ba0e9b2f07538cc588ea6c6ff Mon Sep 17 00:00:00 2001 From: Prateek Saxena Date: Thu, 31 Jul 2014 19:14:04 +0530 Subject: [PATCH] Use 'div' instead of 'section' and 'article' The user-agent stylesheet was making the size of both the h1's and h2's 1.5em as it was inside
and
:-webkit-any(article,aside,nav,section) h1 - 1.5em user agent stylesheet ~h1 - 2em~ user agent stylesheet Change-Id: Ied1d03f63c132dc3904d05cd4e55f70aa3f80c3d --- docs/kss/styleguide-template/index.html | 10 +++++----- docs/kss/styleguide-template/public/kss.less | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/kss/styleguide-template/index.html b/docs/kss/styleguide-template/index.html index b6036b2d94..38f0dd144f 100644 --- a/docs/kss/styleguide-template/index.html +++ b/docs/kss/styleguide-template/index.html @@ -19,7 +19,7 @@
-
diff --git a/docs/kss/styleguide-template/public/kss.less b/docs/kss/styleguide-template/public/kss.less index f5ddff1253..a1d62a37ee 100644 --- a/docs/kss/styleguide-template/public/kss.less +++ b/docs/kss/styleguide-template/public/kss.less @@ -1,4 +1,3 @@ - .container { width: 100%; } @@ -7,7 +6,7 @@ nav { display: none; } -article { +.content { .example { blockquote { margin-top: 20px; @@ -25,7 +24,8 @@ body { font-family: "Nimbus Sans L", "Liberation Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif; } -.content.kss-no-margin { +.kss-no-margin { + // FIXME: Is this being used anywhere? Remove if not. margin: 0; } @@ -89,7 +89,7 @@ nav { } } -article { +.content { -webkit-flex: 1; flex: 1; @@ -154,7 +154,7 @@ article { width: auto; } - article { + .content { margin-left: 30px; } -- 2.20.1