diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index d24c6f36a3..6e2ab728cd 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -631,7 +631,8 @@ h4 small { } .page-header { - margin: 20px 0 19px; + padding-bottom: 9px; + margin: 20px 0 30px; border-bottom: 1px solid #eeeeee; } diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index a8398ca4d1..e84d118d1f 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -12,7 +12,7 @@ body { position: relative; - padding-top: 100px; + padding-top: 80px; font-size: 14px; background-color: #fff; background-image: url(../img/grid-20px.png); @@ -20,12 +20,6 @@ body { background-position: 0 40px; } -/* Custom container for the narrow docs */ -.bs-docs-container { - max-width: 780px; - margin: 0 auto; -} - /* Code in headings */ h3 code { font-size: 14px; @@ -37,6 +31,10 @@ h3 code { /* Tweak navbar brand link to be super sleek -------------------------------------------------- */ +body > .navbar-fixed-top { + font-size: 13px; +} + /* Change the docs' brand */ body > .navbar-fixed-top .brand { padding-right: 0; @@ -52,6 +50,7 @@ body > .navbar-fixed-top .brand { } body > .navbar-fixed-top .brand:hover { text-decoration: none; + text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 0 30px rgba(255,255,255,.4); } @@ -119,7 +118,7 @@ hr.soften { ------------------------- */ .masthead { padding: 50px 0 60px; - margin-top: -60px; + margin-top: -40px; margin-bottom: 0; color: #fff; text-align: center; @@ -207,10 +206,14 @@ hr.soften { ------------------------- */ .subhead { text-align: left; + border-bottom: 1px solid #ddd; } .subhead h1 { font-size: 60px; } +.subhead .navbar { + display: none; +} @@ -242,7 +245,7 @@ hr.soften { } .marketing img { display: block; - margin: 0 auto 20px; + margin: 0 auto 30px; } @@ -837,3 +840,66 @@ form.bs-docs-example { float: none; } } + + + +/* Docs side .nav-list +------------------------- */ +.span3 { + min-height: 1px; +} +.bs-docs-sidenav { + margin-top: 40px; + padding: 0; + margin-right: 10px; + background-color: #fff; + border: 1px solid #e5e5e5; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} +.bs-docs-sidenav > li > a { + margin: 0; + font-size: 14px; + padding: 9px 14px; + border-top: 1px solid #eee; +} +.bs-docs-sidenav > li:first-child > a { + border-top: 0; + -webkit-border-radius: 5px 5px 0 0; + -moz-border-radius: 5px 5px 0 0; + border-radius: 5px 5px 0 0; +} +.bs-docs-sidenav > li:last-child > a { + -webkit-border-radius: 0 0 5px 5px; + -moz-border-radius: 0 0 5px 5px; + border-radius: 0 0 5px 5px; +} +/* Chevrons */ +.bs-docs-sidenav .icon-chevron-right { + float: right; + margin-top: 2px; + margin-right: -6px; + opacity: .25; +} +.bs-docs-sidenav > li > a:hover { + background-color: #f5f5f5; +} +.bs-docs-sidenav a:hover .icon-chevron-right { + opacity: .5; +} +.bs-docs-sidenav .active .icon-chevron-right { + background-image: url(../img/glyphicons-halflings-white.png); + opacity: .75; +} + +@media (max-width: 979px) { + + .bs-docs-sidenav { + margin-top: 30px; + margin-right: 0; + } + +} + + diff --git a/docs/base-css.html b/docs/base-css.html index ed6f27871c..8c2879907d 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -27,7 +27,7 @@ -
+ @@ -88,6 +88,20 @@ +Overview of the project, it's contents, and how to get started with a simple template.
+Before getting started, you need the following:
+When ready, proceed to the next section, File structure.
+Once unzipped, the structure of Bootstrap’s files looks like this:
+This is the most basic form of Bootstrap: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (bootstrap.*
), as well as compiled and minified CSS and JS (bootstrap.min.*
). The image files are compressed using ImageOptim, a Mac app for compressing PNGs.
Bootstrap comes equipped with CSS for all sorts of things, but they can be summarized with a handful of categories visible at the top of the Bootstrap documentation:
+Together, the Components and Javascript plugins sections provide the following interface elements:
+In future guides, we may walk through these components individually in more detail. Until then, look for each of these in the documentation for information on how to utilize and customize them.
+Now that we’ve got the basic information on Bootstrap out of the way, we can focus on getting started. To do that, we’ll utilize a basic HTML template that includes everything we’ve mentioned in the File structure.
+As previously mentioned, we won’t cover the basics of writing HTML and CSS here. Instead, we’ll leapfrog through various points in web development complexity to give you the broadest and most complete overview.
+Now, here’s a look at a typical HTML file:
++ <html> + <head> + <title>Bootstrap 101 Template</title> + </head> + <body> + <h1>Hello, world!</h1> + </body> + </html> ++
To make this a Bootstrapped template, just include the appropriate CSS and JS files:
++ <html> + <head> + <title>Bootstrap 101 Template</title> + <!-- Bootstrap --> + <link href="css/bootstrap.min.css" rel="stylesheet"> + <script src="js/bootstrap.min.js"></script> + </head> + <body> + <h1>Hello, world!</h1> + </body> + </html> ++
And you’re set. With those two files added, you can begin to write Bootstrap-friendly HTML, CSS, and JS to build any site or application you like. Head to the Bootstrap docs for information, examples, and even code snippets for the Bootstrap grid system, base HTML styles, components, and even responsive features.
+Utilize the 12-column responsive grid, dozens of components, javascript plugins, typography, form controls, and even a web-based Customizer to make Bootstrap your own.
+A 12-column responsive grid, dozens of components, javascript plugins, typography, form controls, and even a web-based Customizer to make Bootstrap your own.
{{_i}}Overview of the project, it's contents, and how to get started with a simple template.{{/i}}
+{{_i}}Before getting started, you need the following:{{/i}}
+{{_i}}When ready, proceed to the next section, File structure.{{/i}}
+{{_i}}Once unzipped, the structure of Bootstrap’s files looks like this:{{/i}}
+{{_i}}This is the most basic form of Bootstrap: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (bootstrap.*
), as well as compiled and minified CSS and JS (bootstrap.min.*
). The image files are compressed using ImageOptim, a Mac app for compressing PNGs.{{/i}}
{{_i}}Bootstrap comes equipped with CSS for all sorts of things, but they can be summarized with a handful of categories visible at the top of the Bootstrap documentation:{{/i}}
+Together, the Components and Javascript plugins sections provide the following interface elements:
+{{_i}}In future guides, we may walk through these components individually in more detail. Until then, look for each of these in the documentation for information on how to utilize and customize them.{{/i}}
+{{_i}}Now that we’ve got the basic information on Bootstrap out of the way, we can focus on getting started. To do that, we’ll utilize a basic HTML template that includes everything we’ve mentioned in the File structure.{{/i}}
+{{_i}}As previously mentioned, we won’t cover the basics of writing HTML and CSS here. Instead, we’ll leapfrog through various points in web development complexity to give you the broadest and most complete overview.{{/i}}
+{{_i}}Now, here’s a look at a typical HTML file:{{/i}}
++ <html> + <head> + <title>Bootstrap 101 Template</title> + </head> + <body> + <h1>Hello, world!</h1> + </body> + </html> ++
{{_i}}To make this a Bootstrapped template, just include the appropriate CSS and JS files:{{/i}}
++ <html> + <head> + <title>Bootstrap 101 Template</title> + <!-- Bootstrap --> + <link href="css/bootstrap.min.css" rel="stylesheet"> + <script src="js/bootstrap.min.js"></script> + </head> + <body> + <h1>Hello, world!</h1> + </body> + </html> ++
{{_i}}And you’re set. With those two files added, you can begin to write Bootstrap-friendly HTML, CSS, and JS to build any site or application you like. Head to the Bootstrap docs for information, examples, and even code snippets for the Bootstrap grid system, base HTML styles, components, and even responsive features.{{/i}}
+{{_i}}Utilize the 12-column responsive grid, dozens of components, javascript plugins, typography, form controls, and even a web-based Customizer to make Bootstrap your own.{{/i}}
+{{_i}}A 12-column responsive grid, dozens of components, javascript plugins, typography, form controls, and even a web-based Customizer to make Bootstrap your own.{{/i}}