From 0ef4b6419fd83170dd62049a2850c5e8466635c9 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 26 Jan 2012 10:00:09 -0800 Subject: overhaul frontpage jumbotron, add js for twitter buttons back in, fix up some form ids and classes, straighten out the use of primary button variable --- docs/assets/css/docs.css | 50 +++++++++++++++++++++++++++++++++--------------- 1 file changed, 35 insertions(+), 15 deletions(-) (limited to 'docs/assets/css/docs.css') diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 9f21f901f..d266dd92e 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -50,31 +50,41 @@ section { line-height: 1; } +/* Faded out hr */ +hr.soften { + height: 1px; + margin: 54px 0; + background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0)); + background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0)); + background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0)); + background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0)); + border: 0; +} + /* Jumbotrons -------------------------------------------------- */ .jumbotron { position: relative; - text-shadow: 0 1px 0 #fff; } .jumbotron h1 { - margin-right: 40%; margin-bottom: 9px; - font-size: 90px; + font-size: 108px; letter-spacing: -1px; line-height: 1; } .jumbotron p { - margin-right: 32%; - margin-bottom: 20px; + margin-bottom: 18px; font-size: 25px; font-weight: 300; line-height: 36px; + color: #333; } .jumbotron .btn-large { font-size: 20px; + font-weight: normal; padding: 14px 24px; - margin-right: 5px; + margin-right: 10px; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; @@ -84,9 +94,26 @@ section { color: #999; } +/* Masthead (docs home) */ +.masthead { + padding: 36px 0 0; +} +.masthead h1, +.masthead p { + text-align: center; +} +.masthead h1 { + margin-bottom: 18px; +} +.masthead p { + margin: 0 5% 27px; +} + + /* Benefits list in masthead */ .benefits { - width: 280px; + display: none; + width: 260px; position: absolute; right: 0; bottom: 0; @@ -213,16 +240,9 @@ section { .quick-links { min-height: 30px; padding: 5px 20px; - margin: 45px 0; + margin: 36px 0; list-style: none; text-align: center; - background-color: #eee; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,.03); - -moz-box-shadow: inset 0 1px 0 rgba(0,0,0,.03); - box-shadow: inset 0 1px 0 rgba(0,0,0,.03); overflow: hidden; } .quick-links li { -- cgit v1.2.3