diff options
| author | Gijs Boddeus <[email protected]> | 2017-10-15 11:55:02 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-10-15 11:55:02 +0200 |
| commit | 98778164e04c581bfedab72a9a09b6525261c860 (patch) | |
| tree | 10fe8118ce2dbecdb29c2215b4caba8d7f8ffc87 /docs/4.0/getting-started | |
| parent | 8f483dc4322cc12849eda65246edfb47b5aaad0b (diff) | |
| parent | 3ccb7ef16ad2fa858c767128a5414a0b1bd7fa30 (diff) | |
| download | bootstrap-98778164e04c581bfedab72a9a09b6525261c860.tar.xz bootstrap-98778164e04c581bfedab72a9a09b6525261c860.zip | |
Merge branch 'v4-dev' into yiq-function-update
Diffstat (limited to 'docs/4.0/getting-started')
| -rw-r--r-- | docs/4.0/getting-started/contents.md | 56 | ||||
| -rw-r--r-- | docs/4.0/getting-started/download.md | 2 | ||||
| -rw-r--r-- | docs/4.0/getting-started/theming.md | 10 |
3 files changed, 62 insertions, 6 deletions
diff --git a/docs/4.0/getting-started/contents.md b/docs/4.0/getting-started/contents.md index 96acbc053..3d5389fee 100644 --- a/docs/4.0/getting-started/contents.md +++ b/docs/4.0/getting-started/contents.md @@ -18,7 +18,15 @@ bootstrap/ │ ├── bootstrap.css │ ├── bootstrap.css.map │ ├── bootstrap.min.css -│ └── bootstrap.min.css.map +│ ├── bootstrap.min.css.map +│ ├── bootstrap-grid.css +│ ├── bootstrap-grid.css.map +│ ├── bootstrap-grid.min.css +│ ├── bootstrap-grid.min.css.map +│ ├── bootstrap-reboot.css +│ ├── bootstrap-reboot.css.map +│ ├── bootstrap-reboot.min.css +│ └── bootstrap-reboot.min.css.map └── js/ ├── bootstrap.js └── bootstrap.min.js @@ -26,6 +34,52 @@ bootstrap/ This is the most basic form of Bootstrap: precompiled 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.*`). CSS [source maps](https://developers.google.com/web/tools/chrome-devtools/javascript/source-maps) (`bootstrap.*.map`) are available for use with certain browsers' developer tools. +### Comparison of CSS files + +<table class="table table-bordered table-responsive"> + <thead> + <tr> + <th scope="col">CSS files</th> + <th scope="col" class="text-center">Layout</th> + <th scope="col" class="text-center">Content</th> + <th scope="col" class="text-center">Components</th> + <th scope="col" class="text-center">Utilities</th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row"> + <div><code class="text-nowrap">bootstrap.css</code></div> + <div><code class="text-nowrap">bootstrap.min.css</code></div> + </th> + <td class="table-success text-center align-middle">All</td> + <td class="table-success text-center align-middle">All</td> + <td class="table-success text-center align-middle">All</td> + <td class="table-success text-center align-middle">All</td> + </tr> + <tr> + <th scope="row"> + <div><code class="text-nowrap">bootstrap-grid.css</code></div> + <div><code class="text-nowrap">bootstrap-grid.min.css</code></div> + </th> + <td class="table-warning text-center align-middle">Only <a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/layout/grid/">grid</a> system</td> + <td class="table-danger text-center align-middle">No</td> + <td class="table-danger text-center align-middle">No</td> + <td class="table-warning text-center align-middle">Only <a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/flex/">flex</a> utilities</td> + </tr> + <tr> + <th scope="row"> + <div><code class="text-nowrap">bootstrap-reboot.css</code></div> + <div><code class="text-nowrap">bootstrap-reboot.min.css</code></div> + </th> + <td class="table-danger text-center align-middle">No</td> + <td class="table-warning text-center align-middle">Only <a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/content/reboot/">Reboot</a></td> + <td class="table-danger text-center align-middle">No</td> + <td class="table-danger text-center align-middle">No</td> + </tr> + </tbody> +</table> + ## Bootstrap source code The Bootstrap source code download includes the precompiled CSS and JavaScript assets, along with source Sass, JavaScript, and documentation. More specifically, it includes the following and more: diff --git a/docs/4.0/getting-started/download.md b/docs/4.0/getting-started/download.md index cce660178..9f1199317 100644 --- a/docs/4.0/getting-started/download.md +++ b/docs/4.0/getting-started/download.md @@ -10,7 +10,7 @@ toc: true Download ready-to-use compiled code for **Bootstrap v{{ site.current_version}}** to easily drop into your project, which includes: -- Compiled and minified CSS bundles (default, grid-only, and Reboot-only) +- Compiled and minified CSS bundles (see [CSS files comparison]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/contents/#comparison-of-css-files)) - Compiled and minified JavaScript plugins This doesn't include documentation, source files, or any optional JavaScript dependencies (jQuery and Popper.js). diff --git a/docs/4.0/getting-started/theming.md b/docs/4.0/getting-started/theming.md index c4c50dc4b..15c5caa0b 100644 --- a/docs/4.0/getting-started/theming.md +++ b/docs/4.0/getting-started/theming.md @@ -228,17 +228,19 @@ Within `_variables.scss`, you'll find our color variables and Sass map. Here's a {% highlight scss %} $colors: ( + "blue": $blue, + "indigo": $indigo, + "purple": $purple, + "pink": $pink, "red": $red, "orange": $orange, "yellow": $yellow, "green": $green, "teal": $teal, - "blue": $blue, - "pink": $pink, - "purple": $purple, + "cyan": $cyan, "white": $white, "gray": $gray-600, - "gray-dark": $gray-900 + "gray-dark": $gray-800 ) !default; {% endhighlight %} |
