aboutsummaryrefslogtreecommitdiff
path: root/docs/assets
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-05 21:43:28 -0800
committerMark Otto <[email protected]>2012-01-05 21:43:28 -0800
commitc56e9d2d35299b4c9e4e3d1aabcf59cedc9143f2 (patch)
tree9b34e0720ff5f367c0137a08b23b67f977196764 /docs/assets
parent90e3a706ba8c01462516efd3c60cd124620950b9 (diff)
downloadbootstrap-c56e9d2d35299b4c9e4e3d1aabcf59cedc9143f2.tar.xz
bootstrap-c56e9d2d35299b4c9e4e3d1aabcf59cedc9143f2.zip
massive docs update, mostly to all our new forms, and to the buttons
Diffstat (limited to 'docs/assets')
-rw-r--r--docs/assets/css/docs.css44
-rw-r--r--docs/assets/js/application.js8
2 files changed, 42 insertions, 10 deletions
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css
index 5eafb962b..41c7ae4b6 100644
--- a/docs/assets/css/docs.css
+++ b/docs/assets/css/docs.css
@@ -36,11 +36,13 @@ body > .navbar-fixed .brand:hover {
/* Space out sub-sections more
-------------------------------------------------- */
.page-header {
- margin: 36px 0 18px;
+ margin: 45px 0 18px;
border-bottom: 1px solid #eee;
}
.page-header h1 {
- margin-bottom: 9px;
+ margin-bottom: 17px;
+ font-size: 36px;
+ line-height: 1;
}
@@ -327,10 +329,6 @@ pre.prettyprint {
overflow: hidden;
}
-.well form {
- margin-bottom: 0;
-}
-
.browser-support {
max-width: 100%;
}
@@ -356,6 +354,40 @@ h2 + table {
position: relative;
}
+/* Remove bottom margin on example forms in wells */
+form.well {
+ margin-bottom: 0;
+}
+
+/* Tighten up spacing */
+.well hr {
+ margin: 18px 0;
+}
+
+/* Form docs for horizontal forms */
+.form-docs {
+ padding-left: 10px;
+}
+.form-docs h3,
+.form-docs p,
+.form-docs li {
+ color: #777;
+}
+.form-docs hr {
+ margin: 18px 0;
+}
+
+/* Fake the :focus state to demo it */
+.focused {
+ border-color: rgba(82,168,236,.8);
+ -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
+ -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
+ box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
+ outline: 0;
+}
+
+
+
/* Icons
------------------------- */
.the-icons {
diff --git a/docs/assets/js/application.js b/docs/assets/js/application.js
index 63791bd37..5fe8b53ef 100644
--- a/docs/assets/js/application.js
+++ b/docs/assets/js/application.js
@@ -9,10 +9,10 @@ $(function(){
// ==============================================
// Set a timeout...
- setTimeout(function(){
- // Hide the address bar!
- window.scrollTo(0, 1);
- }, 0);
+ // setTimeout(function(){
+ // // Hide the address bar!
+ // window.scrollTo(0, 1);
+ // }, 0);
// Docs topbar nav