mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Make spelling of Less uniform throughout the docs
This commit is contained in:
parent
092b1a47ef
commit
a56cf753ce
3 changed files with 9 additions and 9 deletions
|
@ -23,7 +23,7 @@
|
||||||
<li><a href="#grid-offsetting">Offsetting columns</a></li>
|
<li><a href="#grid-offsetting">Offsetting columns</a></li>
|
||||||
<li><a href="#grid-nesting">Nesting columns</a></li>
|
<li><a href="#grid-nesting">Nesting columns</a></li>
|
||||||
<li><a href="#grid-column-ordering">Column ordering</a></li>
|
<li><a href="#grid-column-ordering">Column ordering</a></li>
|
||||||
<li><a href="#grid-less">LESS mixins and variables</a></li>
|
<li><a href="#grid-less">Less mixins and variables</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<li>
|
<li>
|
||||||
<a href="#less">LESS components</a>
|
<a href="#less">Less components</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="#plugins">jQuery plugins</a>
|
<a href="#plugins">jQuery plugins</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="#less-variables">LESS variables</a>
|
<a href="#less-variables">Less variables</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li><a href="#variables-basics">Basics</a></li>
|
<li><a href="#variables-basics">Basics</a></li>
|
||||||
<li><a href="#variables-buttons">Buttons</a></li>
|
<li><a href="#variables-buttons">Buttons</a></li>
|
||||||
|
|
|
@ -87,7 +87,7 @@ bootstrap/
|
||||||
<p>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 (<code>bootstrap.*</code>), as well as compiled and minified CSS and JS (<code>bootstrap.min.*</code>). Fonts from Glyphicons are included, as is the optional Bootstrap theme.</p>
|
<p>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 (<code>bootstrap.*</code>), as well as compiled and minified CSS and JS (<code>bootstrap.min.*</code>). Fonts from Glyphicons are included, as is the optional Bootstrap theme.</p>
|
||||||
|
|
||||||
<h2 id="whats-included-source">Bootstrap source code</h2>
|
<h2 id="whats-included-source">Bootstrap source code</h2>
|
||||||
<p>The Bootstrap source code download includes the precompiled CSS, JavaScript, and font assets, along with source LESS, JavaScript, and documentation. More specifically, it includes the following and more:</p>
|
<p>The Bootstrap source code download includes the precompiled CSS, JavaScript, and font assets, along with source Less, JavaScript, and documentation. More specifically, it includes the following and more:</p>
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
bootstrap/
|
bootstrap/
|
||||||
├── less/
|
├── less/
|
||||||
|
@ -965,7 +965,7 @@ if (isAndroid) {
|
||||||
*
|
*
|
||||||
* Reset individual elements or override regions to avoid conflicts due to
|
* Reset individual elements or override regions to avoid conflicts due to
|
||||||
* global box model settings of Bootstrap. Two options, individual overrides and
|
* global box model settings of Bootstrap. Two options, individual overrides and
|
||||||
* region resets, are available as plain CSS and uncompiled LESS formats.
|
* region resets, are available as plain CSS and uncompiled Less formats.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Option 1A: Override a single element's box model via CSS */
|
/* Option 1A: Override a single element's box model via CSS */
|
||||||
|
@ -975,7 +975,7 @@ if (isAndroid) {
|
||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Option 1B: Override a single element's box model by using a Bootstrap LESS mixin */
|
/* Option 1B: Override a single element's box model by using a Bootstrap Less mixin */
|
||||||
.element {
|
.element {
|
||||||
.box-sizing(content-box);
|
.box-sizing(content-box);
|
||||||
}
|
}
|
||||||
|
@ -990,7 +990,7 @@ if (isAndroid) {
|
||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Option 2B: Reset an entire region with a custom LESS mixin */
|
/* Option 2B: Reset an entire region with a custom Less mixin */
|
||||||
.reset-box-sizing {
|
.reset-box-sizing {
|
||||||
&,
|
&,
|
||||||
*,
|
*,
|
||||||
|
@ -1080,7 +1080,7 @@ if (isAndroid) {
|
||||||
<h1 id="customizing" class="page-header">Customizing Bootstrap</h1>
|
<h1 id="customizing" class="page-header">Customizing Bootstrap</h1>
|
||||||
<p class="lead">Bootstrap is best maintained when you treat it as a separate and independently-versioned dependency in your development environment. Doing this makes upgrading Bootstrap easier in the future.</p>
|
<p class="lead">Bootstrap is best maintained when you treat it as a separate and independently-versioned dependency in your development environment. Doing this makes upgrading Bootstrap easier in the future.</p>
|
||||||
|
|
||||||
<p>Once you've downloaded and included Bootstrap's styles and scripts, you can customize its components. Just create a new stylesheet (LESS, if you like, or just plain CSS) to house your customizations.</p>
|
<p>Once you've downloaded and included Bootstrap's styles and scripts, you can customize its components. Just create a new stylesheet (Less, if you like, or just plain CSS) to house your customizations.</p>
|
||||||
|
|
||||||
<div class="bs-callout bs-callout-info">
|
<div class="bs-callout bs-callout-info">
|
||||||
<h4>Compiled or minified?</h4>
|
<h4>Compiled or minified?</h4>
|
||||||
|
@ -1142,7 +1142,7 @@ if (isAndroid) {
|
||||||
|
|
||||||
<div class="bs-callout bs-callout-info">
|
<div class="bs-callout bs-callout-info">
|
||||||
<h4>Alternate customization methods</h4>
|
<h4>Alternate customization methods</h4>
|
||||||
<p>While not recommended for folks new to Bootstrap, you may use one of two alternate methods for customization. The first is modifying the source <code>.less</code> files (making upgrades super difficult), and the second is mapping source LESS code to <a href="http://ruby.bvision.com/blog/please-stop-embedding-bootstrap-classes-in-your-html">your own classes via mixins</a>. For the time being, neither of those options are documented here.</p>
|
<p>While not recommended for folks new to Bootstrap, you may use one of two alternate methods for customization. The first is modifying the source <code>.less</code> files (making upgrades super difficult), and the second is mapping source Less code to <a href="http://ruby.bvision.com/blog/please-stop-embedding-bootstrap-classes-in-your-html">your own classes via mixins</a>. For the time being, neither of those options are documented here.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3>Removing potential bloat</h3>
|
<h3>Removing potential bloat</h3>
|
||||||
|
|
Loading…
Reference in a new issue