From 800d0b24e08dec4835e7f4126701428c5c5bae2c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 27 Jan 2012 15:28:09 -0800 Subject: [PATCH] remove page-header from docs and add to type.less --- docs/assets/css/bootstrap.css | 10 +++++++++- docs/assets/css/docs.css | 8 -------- less/type.less | 11 +++++++++++ 3 files changed, 20 insertions(+), 9 deletions(-) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 39ac62f7ac..2ae5325b23 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -6,7 +6,7 @@ * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. - * Date: Fri Jan 27 14:48:53 PST 2012 + * Date: Fri Jan 27 15:27:51 PST 2012 */ article, aside, @@ -316,6 +316,14 @@ h6 { color: #999999; text-transform: uppercase; } +.page-header { + padding-bottom: 17px; + margin: 18px 0; + border-bottom: 1px solid #eeeeee; +} +.page-header h1 { + line-height: 1; +} ul, ol { padding: 0; margin: 0 0 9px 25px; diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 19356df1a6..bc3c971064 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -42,14 +42,6 @@ body { section { padding-top: 60px; } -.page-header { - margin: 18px 0; - border-bottom: 1px solid #eee; -} -.page-header h1 { - margin-bottom: 17px; - line-height: 1; -} /* Faded out hr */ hr.soften { diff --git a/less/type.less b/less/type.less index 087224fd0c..7841bb0906 100644 --- a/less/type.less +++ b/less/type.less @@ -75,6 +75,17 @@ h6 { text-transform: uppercase; } +// Page header +.page-header { + padding-bottom: @baseLineHeight - 1; + margin: @baseLineHeight 0; + border-bottom: 1px solid @grayLighter; +} +.page-header h1 { + line-height: 1; +} + + // LISTS // -----