diff options
| author | Mark Otto <[email protected]> | 2011-06-29 17:10:53 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-06-29 17:10:53 -0700 |
| commit | f47b5765743dc7001b3f7d22ed2e8e2b3d9545a3 (patch) | |
| tree | 864f308d1e1d97493ddd9af1d28bdb8945a3a34a | |
| parent | 936d7acb31d4f765638630a8c78c81ee9de57801 (diff) | |
| download | bootstrap-f47b5765743dc7001b3f7d22ed2e8e2b3d9545a3.tar.xz bootstrap-f47b5765743dc7001b3f7d22ed2e8e2b3d9545a3.zip | |
yo dawg i heard you liked mastheads
| -rw-r--r-- | docs/assets/css/docs.css | 75 | ||||
| -rw-r--r-- | docs/index.html | 39 | ||||
| -rw-r--r-- | lib/type.less | 2 |
3 files changed, 95 insertions, 21 deletions
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index bb32853ff..67dcd4d0c 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -26,8 +26,8 @@ section { -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#0056b0', EndColorStr='#049cd9', GradientType=0))"; } #masthead div.inner, #footer div.inner { - background: transparent url(../img/grid-18px.png) 0 -1px; - padding: 36px 0; + background: transparent url(../img/grid-18px.png) top center; + padding: 54px 0; -webkit-box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.25); -moz-box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.25); box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.25); @@ -48,12 +48,16 @@ section { margin-bottom: -40px; } #masthead h1 { - margin-bottom: 0; + font-size: 54px; + line-height: 1; + text-align: center; + margin-bottom: 9px; } #masthead p.lead { - font-size: 18px; + font-size: 20px; font-weight: 300; line-height: 27px; + text-align: center; margin: 0; } #masthead a.btn { @@ -66,10 +70,10 @@ section { background-image: -khtml-gradient(linear, left top, left bottom, from(#7a43b6), to(#552e7e)); filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#7a43b6', EndColorStr='#552e7e', GradientType=0); -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#7a43b6', EndColorStr='#552e7e', GradientType=0))"; - display: block; + padding-top: 5px; + padding-bottom: 4px; margin-bottom: 18px; - text-align: center; - font-weight: bold; + font-weight: normal; border: 0; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.4); -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.4); @@ -88,10 +92,60 @@ section { #masthead small a { color: #fff; } + +div.quickstart { +/* background-color: rgba(0,0,0,.1); */ + margin-top: 36px; +} +div.quickstart div.columns { +/* background-color: rgba(0,0,0,.1); */ + width: 280px; + height: 100px; + padding: 9px 10px; +} +div.quickstart div.columns:last-child { + border-right: none; +/* padding-right: 20px; */ +} +div.quickstart h6, +div.quickstart p { + line-height: 18px; + text-align: center; + margin-bottom: 9px; +} +div.quickstart h6 { + color: #fff; +} +div.quickstart form textarea { + line-height: 21px; + border: 0; + display: block; + width: 270px; + height: 21px; + margin: 0 0 9px; + padding: 3px 5px; + background-color: rgba(0,0,0,.3); + -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.2), 0 1px 0 rgba(255,255,255,.15); + -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.2), 0 1px 0 rgba(255,255,255,.15); + box-shadow: inset 0 1px 3px rgba(0,0,0,.2), 0 1px 0 rgba(255,255,255,.15); + color: #fff; + color: rgba(255,255,255,.5); + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; +} +div.quickstart form textarea:focus { + background-color: #fff; + color: #333; + -webkit-box-shadow: 0 0 5px rgba(255,255,255,.25); + -moz-box-shadow: 0 0 5px rgba(255,255,255,.25); + box-shadow: 0 0 5px rgba(255,255,255,.25); +} + +/* div.quick-start { - background-color: rgba(0,0,0,.25); - padding: 18px 20px; - margin: 27px 0 -36px; + padding: 0 20px; + margin: 36px 0 0; } div.quick-start h4, div.quick-start p, @@ -118,6 +172,7 @@ div.quick-start form input { height: 21px; line-height: 21px; } +*/ #footer { margin-top: 80px; } diff --git a/docs/index.html b/docs/index.html index d73e8dc8d..29798169e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -25,7 +25,7 @@ <img src="assets/img/twitter-logo-no-bird.png" alt="Twitter" /> <span>bootstrap</span> </a></h3> <ul> - <li><a href="#getting-started">Getting started</a></li> + <li><a href="#masthead">Overview</a></li> <li><a href="#grid-system">Grid</a></li> <li><a href="#layouts">Layouts</a></li> <li><a href="#typography">Typography</a></li> @@ -42,10 +42,13 @@ <div id="masthead"> <div class="inner"> <div class="container"> +<!-- <div class="row"> <div class="span11 columns"> +--> <h1>Twitter Bootstrap</h1> <p class="lead">Bootstrap is Twitter's toolkit for kickstarting CSS for websites, apps, and more. It includes base CSS styles for typography, forms, buttons, tables, grids, navigation, alerts, and more.</p> +<!-- </div> <div class="span5 columns"> <a href="" class="btn large primary">Download Bootstrap ZIP »</a> @@ -55,16 +58,32 @@ </small> </div> </div> +--> + + <div class="row quickstart"> + <div class="span5 columns"> + <h6>Hotlink the CSS</h6> + <p>For the quickest and easiest start, just copy this snippet into your webpage.</p> + <form> + <textarea><link type="text/css" href="http://twitter.github.com/bootstrap-1.0.0.css</textarea> + </form> + </div> + <div class="span5 columns"> + <h6>Use it with LESS</h6> + <p>A fan of using LESS.js? No problem, just clone the repo and add these lines:</p> + <form> + <textarea><link type="text/css" href="http://twitter.github.com/bootstrap-1.0.0.css +<link type="text/css" href="http://twitter.github.com/bootstrap-1.0.0.css</textarea> + </form> + </div> + <div class="span5 columns"> + <h6>Fork on GitHub</h6> + <p>Download, fork, pull, and more with the official Bootstrap repo on Github.</p> + <p><a href="" class="btn primary">Bootstrap on GitHub »</a></p> + </div> </div> - <div class="quick-start"> - <div class="container"> - <p>Copy and paste for a quick start:</p> - <form> - <input type="text" value='<link type="text/css" href="http://twitter.github.com/bootstrap-1.0.0.css" media="all" />' /> - </form> - <p><a href="">Using LESS?</a></p> - </div> - </div> + + </div> <!-- /container --> </div> </div> diff --git a/lib/type.less b/lib/type.less index 99628f281..22eb47780 100644 --- a/lib/type.less +++ b/lib/type.less @@ -21,7 +21,7 @@ p { -------------------------------------------------- */ h1, h2, h3, h4, h5, h6 { - font-weight: 500; + font-weight: bold; color: @grayDark; small { color: @grayLight; |
