From e73cd15fc8eaa80ab7913d51a23a8e61c0e1bb30 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 2 Oct 2012 17:01:18 -0700 Subject: [PATCH] copy and style changes to improve docs rendering on mobile devices --- docs/assets/css/docs.css | 23 +++++++++++++++++------ docs/base-css.html | 12 +++++++----- docs/components.html | 12 +++++++----- docs/customize.html | 12 +++++++----- docs/extend.html | 12 +++++++----- docs/getting-started.html | 12 +++++++----- docs/index.html | 12 +++++++----- docs/javascript.html | 14 ++++++++------ docs/scaffolding.html | 12 +++++++----- docs/templates/layout.mustache | 12 +++++++----- docs/templates/pages/javascript.mustache | 2 +- 11 files changed, 82 insertions(+), 53 deletions(-) diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 3484f300c6..60782ecea4 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -114,7 +114,7 @@ hr.soften { .jumbotron p { font-size: 24px; font-weight: 300; - line-height: 30px; + line-height: 1.25; margin-bottom: 30px; } @@ -275,7 +275,7 @@ hr.soften { margin-bottom: 40px; font-size: 20px; font-weight: 300; - line-height: 25px; + line-height: 1.25; color: #999; } .marketing img { @@ -303,7 +303,10 @@ hr.soften { } .footer-links li { display: inline; - margin-right: 10px; + padding: 0 2px; +} +.footer-links li:first-child { + padding-left: 0; } @@ -944,11 +947,11 @@ form.bs-docs-example { /* Downsize the jumbotrons */ .jumbotron h1 { - font-size: 60px; + font-size: 45px; } .jumbotron p, .jumbotron .btn { - font-size: 20px; + font-size: 18px; } .jumbotron .btn { display: block; @@ -963,7 +966,10 @@ form.bs-docs-example { /* Marketing on home */ .marketing h1 { - font-size: 40px; + font-size: 30px; + } + .marketing-byline { + font-size: 18px; } /* center example sites */ @@ -997,6 +1003,11 @@ form.bs-docs-example { left: auto; } + /* Tighten up footer */ + .footer { + padding-top: 20px; + padding-bottom: 20px; + } /* Unfloat the back to top in footer to prevent odd text wrapping */ .footer .pull-right { float: none; diff --git a/docs/base-css.html b/docs/base-css.html index 46ce606cbb..23e073d6a8 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -2063,12 +2063,14 @@ For example, <code><section></code> should be wrapped as inlin