aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/css/docs.css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-07-07 00:48:15 -0700
committerMark Otto <[email protected]>2012-07-07 00:48:15 -0700
commit7cc916d1378847d9e6e353d553f6d73aeab386d2 (patch)
tree18fa4da13038127e8f758ace7f6b986b7349dcbf /docs/assets/css/docs.css
parentc7f6499235ca873d08886672aed1fa8168ca3ee6 (diff)
parent095e052606a8e1afb496ec4a1e95567a7f123827 (diff)
downloadbootstrap-7cc916d1378847d9e6e353d553f6d73aeab386d2.tar.xz
bootstrap-7cc916d1378847d9e6e353d553f6d73aeab386d2.zip
Merge branch '21jumpst' into 2.1.0-wip
Diffstat (limited to 'docs/assets/css/docs.css')
-rw-r--r--docs/assets/css/docs.css185
1 files changed, 145 insertions, 40 deletions
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css
index 772fee2c3..6ad151181 100644
--- a/docs/assets/css/docs.css
+++ b/docs/assets/css/docs.css
@@ -26,17 +26,6 @@ body {
margin: 0 auto;
}
-/* Increase docs base type size and line-heights */
-body {
- line-height: 20px;
-}
-p {
- margin-bottom: 15px;
-}
-li {
- line-height: 25px;
-}
-
/* Code in headings */
h3 code {
font-size: 14px;
@@ -49,7 +38,6 @@ h3 code {
-------------------------------------------------- */
.navbar {
- font-size: 13px;
}
/* Change the docs' brand */
@@ -86,7 +74,7 @@ section {
/* Faded out hr */
hr.soften {
height: 1px;
- margin: 54px 0;
+ margin: 70px 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));
@@ -159,7 +147,7 @@ hr.soften {
font-size: 12px;
}
.quick-links {
- min-height: 30px;
+ height: 20px;
margin: 0;
padding: 0;
list-style: none;
@@ -169,15 +157,10 @@ hr.soften {
min-height: 0;
}
.quick-links li {
- display: inline;
+ display: inline-block;
margin: 0 8px;
color: #999;
-}
-.quick-links .github-btn,
-.quick-links .tweet-btn,
-.quick-links .follow-btn {
- position: relative;
- top: 5px;
+ line-height: 1;
}
@@ -185,33 +168,32 @@ hr.soften {
/* Marketing section of Overview
-------------------------------------------------- */
-.marketing .row {
- margin-bottom: 9px;
+.marketing {
+ text-align: center;
}
.marketing h1 {
- margin: 40px 0 10px;
- font-size: 40px;
- font-weight: 300;
- text-align: center;
+ margin: 60px 0 10px;
+ font-size: 60px;
+ font-weight: 400;
+ line-height: 1;
+ letter-spacing: -1px;
}
.marketing h2 {
- font-weight: 300;
-}
+ font-weight: 400;
+`}
.marketing p {
- margin: 5px 10px 15px 0;
-}
-.marketing .bs-icon {
- float: left;
- margin: 7px 10px 0 0;
- opacity: .8;
+ color: #555;
}
.marketing .marketing-byline {
- margin-bottom: 30px;
+ margin-bottom: 40px;
font-size: 20px;
font-weight: 300;
line-height: 25px;
color: #999;
- text-align: center;
+}
+.marketing img {
+ display: block;
+ margin: 0 auto 20px;
}
@@ -220,8 +202,8 @@ hr.soften {
-------------------------------------------------- */
.footer {
- padding: 40px 0;
- margin-top: 49px;
+ padding: 70px 0;
+ margin-top: 70px;
border-top: 1px solid #e5e5e5;
}
.footer p {
@@ -405,7 +387,7 @@ h2 + .row {
/* Example sites showcase */
.example-sites {
- margin-left: 20px;
+ xmargin-left: 20px;
}
.example-sites img {
max-width: 100%;
@@ -441,6 +423,9 @@ h2 + .row {
margin-left: 0;
list-style: none;
}
+.the-icons li {
+ line-height: 25px;
+}
.the-icons i:hover {
background-color: rgba(255,0,0,.25);
}
@@ -775,3 +760,123 @@ form.bs-docs-example {
float: none;
}
}
+
+
+
+.navbar-inner {
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px;
+}
+.jumbo {
+ padding: 80px 0;
+ margin: -60px 0 60px;
+ background-color: #222;
+ color: #fff;
+ text-align: center;
+ text-shadow: 0 1px 5px rgba(0,0,0,.25), 0 0 30px rgba(0,0,0,.075);
+
+ background: #c9cabc; /* Old browsers */
+background: -moz-linear-gradient(-45deg, #c9cabc 0%, #68686d 100%); /* FF3.6+ */
+background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#c9cabc), color-stop(100%,#68686d)); /* Chrome,Safari4+ */
+background: -webkit-linear-gradient(-45deg, #c9cabc 0%,#68686d 100%); /* Chrome10+,Safari5.1+ */
+background: -o-linear-gradient(-45deg, #c9cabc 0%,#68686d 100%); /* Opera 11.10+ */
+background: -ms-linear-gradient(-45deg, #c9cabc 0%,#68686d 100%); /* IE10+ */
+background: linear-gradient(135deg, #c9cabc 0%,#68686d 100%); /* W3C */
+filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c9cabc', endColorstr='#68686d',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
+
+ background: #020031; /* Old browsers */
+ background: -moz-linear-gradient(45deg, #020031 0%, #803353 100%); /* FF3.6+ */
+ background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#020031), color-stop(100%,#803353)); /* Chrome,Safari4+ */
+ background: -webkit-linear-gradient(45deg, #020031 0%,#803353 100%); /* Chrome10+,Safari5.1+ */
+ background: -o-linear-gradient(45deg, #020031 0%,#803353 100%); /* Opera 11.10+ */
+ background: -ms-linear-gradient(45deg, #020031 0%,#803353 100%); /* IE10+ */
+ background: linear-gradient(45deg, #020031 0%,#803353 100%); /* W3C */
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#020031', endColorstr='#803353',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
+
+ background: #020031; /* Old browsers */
+ background: -moz-linear-gradient(45deg, #020031 0%, #6d3353 100%); /* FF3.6+ */
+ background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#020031), color-stop(100%,#6d3353)); /* Chrome,Safari4+ */
+ background: -webkit-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Chrome10+,Safari5.1+ */
+ background: -o-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Opera 11.10+ */
+ background: -ms-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* IE10+ */
+ background: linear-gradient(45deg, #020031 0%,#6d3353 100%); /* W3C */
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#020031', endColorstr='#6d3353',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
+
+ xborder-bottom: 1px solid #68686d;
+
+ -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
+ -moz-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
+ box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
+}
+.jumbo h1 {
+ font-size: 120px;
+ font-weight: ;
+ line-height: 1;
+ margin: 0 0 10px;
+ letter-spacing: -2px;
+}
+.jumbo p {
+ margin-bottom: 30px;
+ font-size: 40px;
+ font-weight: 200;
+ line-height: 1.25;
+}
+.jumbo .btn {
+ font-size: 24px;
+ padding: 14px 24px;
+ font-weight: 200;
+ border: 0;
+ -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
+ -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
+ box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
+}
+.jumbo .btn:active {
+ -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
+ -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
+ box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
+}
+.jumbo-links {
+ margin: 0;
+ list-style: none;
+}
+.jumbo-links li {
+ display: inline;
+ padding: 0 10px;
+ color: rgba(255,255,255,.25);
+}
+.jumbo-links a {
+ color: #fff;
+ color: rgba(255,255,255,.5);
+}
+.jumbo-links a:hover {
+ color: #fff;
+}
+
+
+.jumbo-buttons {
+ padding: 20px 0;
+ margin-top: -60px;
+ text-align: center;
+ background-color: #f5f5f5;
+ border-top: 1px solid #fff;
+ border-bottom: 1px solid #ddd;
+}
+
+
+@media (max-width: 480px) {
+ body {
+ padding-top: 0;
+ }
+ .jumbo {
+ margin: -20px -20px ;
+ padding: 40px 25px;
+ }
+ .jumbo h1 {
+ font-size: 72px;
+ }
+ .jumbo p {
+ font-size: 20px;
+ }
+
+}