aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/css/docs.css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-10-16 03:00:58 -0700
committerMark Otto <[email protected]>2011-10-16 03:00:58 -0700
commit9e9109469e5c86c4232cc744639b286bcd9ef0ba (patch)
tree64ee59435ab9be44246fdb62ba70fffe1c525413 /docs/assets/css/docs.css
parentfbe22f05800a3ce4ae3a880914d8e03cb1e01d1b (diff)
downloadbootstrap-9e9109469e5c86c4232cc744639b286bcd9ef0ba.tar.xz
bootstrap-9e9109469e5c86c4232cc744639b286bcd9ef0ba.zip
biiiiiig update coming for responsiveness
Diffstat (limited to 'docs/assets/css/docs.css')
-rw-r--r--docs/assets/css/docs.css71
1 files changed, 48 insertions, 23 deletions
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css
index a17fd5692..52714d199 100644
--- a/docs/assets/css/docs.css
+++ b/docs/assets/css/docs.css
@@ -8,8 +8,9 @@
/* Body and structure
-------------------------------------------------- */
body {
- background-color: #fff;
position: relative;
+ padding-top: 40px;
+ background-color: #fff;
}
section {
padding-top: 60px;
@@ -21,22 +22,29 @@ section > .row {
/* Jumbotrons
-------------------------------------------------- */
+.jumbotron,
+.jumbotron .inner {
+ -webkit-border-radius: 0 0 6px 6px;
+ -moz-border-radius: 0 0 6px 6px;
+ border-radius: 0 0 6px 6px;
+}
.jumbotron {
- min-width: 940px;
- padding-top: 40px;
+ margin-bottom: 40px;
+ -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15), 0 1px 3px rgba(0,0,0,.25);
+ -moz-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15), 0 1px 3px rgba(0,0,0,.25);
+ box-shadow: inset 0 -1px 0 rgba(0,0,0,.15), 0 1px 3px rgba(0,0,0,.25);
}
.jumbotron .inner {
background: transparent url(../img/grid-18px.png) top center;
- padding: 45px 0;
- -webkit-box-shadow: inset 0 10px 30px rgba(0,0,0,.3);
- -moz-box-shadow: inset 0 10px 30px rgba(0,0,0,.3);
-/* box-shadow: inset 0 10px 30px rgba(0,0,0,.3);
-*/}
+ padding: 36px 60px;
+ -webkit-box-shadow: inset 0 -15px 30px rgba(0,0,0,.1);
+ -moz-box-shadow: inset 0 -15px 30px rgba(0,0,0,.1);
+ box-shadow: inset 0 -15px 30px rgba(0,0,0,.1);
+}
.jumbotron h1,
.jumbotron p {
margin-bottom: 9px;
color: #fff;
- text-align: center;
text-shadow: 0 1px 1px rgba(0,0,0,.3);
}
.jumbotron h1 {
@@ -46,6 +54,7 @@ section > .row {
}
.jumbotron p {
font-weight: 300;
+ margin-right: 25%;
}
.jumbotron .lead {
font-size: 20px;
@@ -60,14 +69,14 @@ section > .row {
------------------------- */
/* main docs page */
.masthead {
- background-color: #049cd9;
+ background-color: #004d9f;
background-repeat: no-repeat;
- background-image: -webkit-gradient(linear, left top, left bottom, from(#004D9F), to(#049cd9));
- background-image: -webkit-linear-gradient(#004D9F, #049cd9);
- background-image: -moz-linear-gradient(#004D9F, #049cd9);
- background-image: -o-linear-gradient(top, #004D9F, #049cd9);
- background-image: -khtml-gradient(linear, left top, left bottom, from(#004D9F), to(#049cd9));
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#004D9F', endColorstr='#049cd9', GradientType=0); /* IE8 and down */
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#048ccd), to(#004d9f));
+ background-image: -webkit-linear-gradient(#048ccd, #004d9f);
+ background-image: -moz-linear-gradient(#048ccd, #004d9f);
+ background-image: -o-linear-gradient(top, #048ccd, #004d9f);
+ background-image: -khtml-gradient(linear, left top, left bottom, from(#048ccd), to(#004d9f));
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#048ccd', endColorstr='#004d9f', GradientType=0); /* IE8 and down */
}
/* supporting docs pages */
.subhead {
@@ -98,15 +107,9 @@ section > .row {
/* Footer
-------------------------------------------------- */
.footer {
- background-color: #eee;
- min-width: 940px;
padding: 30px 0;
- text-shadow: 0 1px 0 #fff;
border-top: 1px solid #e5e5e5;
- -webkit-box-shadow: inset 0 5px 15px rgba(0,0,0,.025);
- -moz-box-shadow: inset 0 5px 15px rgba(0,0,0,.025);
-/* box-shadow: inset 0 5px 15px rgba(0,0,0,.025);
-*/}
+}
.footer p {
color: #555;
}
@@ -323,3 +326,25 @@ pre.prettyprint {
.well form {
margin-bottom: 0;
}
+
+
+/* Responsive Docs
+-------------------------------------------------- */
+
+/* Tablet to Medium Desktop
+------------------------- */
+
+@media (min-width: 768px) and (max-width: 900px) {
+
+ .footer,
+ .jumbotron {
+ min-width: 748px;
+ }
+ .jumbotron .inner h1,
+ .jumbotron .inner p {
+ margin-left: 40px;
+ margin-right: 40px;
+ }
+
+}
+