* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Sat Aug 20 18:59:41 PDT 2011
* Date: Sat Aug 20 20:18:13 PDT 2011
*/
*/
/* Reset.less
/* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
Bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites.<br/>
Bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites.<br/>
It includes base CSS and HTML for typography, forms, buttons, tables, grids, navigation, and more.<br/>
It includes base CSS and HTML for typography, forms, buttons, tables, grids, navigation, and more.<br/>
</p>
</p>
<p><strong>Nerd alert:</strong> Bootstrap is <ahref="#less"title="Read about using Bootstrap with Less">built with Less</a> and was designed to work out of the gate with only modern browsers in mind.</p>
<p><strong>Nerd alert:</strong> Bootstrap is <ahref="#less"title="Read about using Bootstrap with Less">built with Less</a> and was designed to work out of the gate with modern browsers in mind.</p>
</div><!-- /container -->
</div><!-- /container -->
</div>
</div>
</div>
</div>
...
@@ -74,18 +86,51 @@
...
@@ -74,18 +86,51 @@
<p>Download, fork, pull, file issues, and more with the official Bootstrap repo on Github.</p>
<p>Download, fork, pull, file issues, and more with the official Bootstrap repo on Github.</p>
<p><atarget="_blank"href="https://github.com/twitter/bootstrap"class="btn primary">Bootstrap on GitHub »</a></p>
<p><atarget="_blank"href="https://github.com/twitter/bootstrap"class="btn primary">Bootstrap on GitHub »</a></p>
</div>
</div>
</div>
</div><!-- /row -->
</div>
</div>
</div>
</div>
<divclass="container">
<divclass="container">
<sectionid="about">
<divclass="page-header">
<h1>About Bootstrap <small>Brief history, browser support, and more</small></h1>
</div>
<divclass="row">
<divclass="span6 columns">
<h3>History</h3>
<p>In the earlier days of Twitter, engineers used almost any library they were familiar with to meet front-end requirements. Bootstrap began as an answer to the challenges that presented and development quickly accelerated during Twitter’s first Hackweek.</p>
<p>With the help and feedback of many engineers at Twitter, Bootstrap has grown significantly to encompass not only basic styles, but more elegant and durable front-end design patterns.</p>
<p>Read more on <ahref="https://dev.twitter.com/blog/bootstrap-twitter">dev.twitter.com ›</a></p>
</div>
<divclass="span5 columns">
<h3>Browser support</h3>
<p>Bootstrap is tested and supported in modern browsers like Chrome, Safari, and Firefox. Full support for some versions of Internet Explorer is in the works.</p>
<imgsrc="assets/img/browsers.png"width="220px"height="48px"alt="Tested and supported in Chrome, Safari, and Firefox">
<ul>
<li>Latest Safari</li>
<li>Latest Google Chrome</li>
<li>Firefox v4</li>
</ul>
</div>
<divclass="span5 columns">
<h3>What's included</h3>
<p>Bootstrap comes complete with compiled CSS, uncompiled, and example templates.</p>
<ul>
<li>All original .less files</li>
<li>Fully compiled and minified CSS</li>
<li>Complete styleguide documentation</li>
<li>Example page template (more to come soon)</li>
</ul>
</div>
</div><!-- /row -->
</section>
<sectionid="grid-system">
<sectionid="grid-system">
<divclass="page-header">
<divclass="page-header">
<h1>Grid system <small>Rock the standard 940px or roll your own</small></h1>
<h1>Grid system <small>Rock the standard 940px or roll your own</small></h1>
</div>
</div>
<divclass="row">
<divclass="row">
<divclass="span4 columns">
<divclass="span4 columns">
<h2>Default grid</h2>
<h2>Default grid</h2>
<p>The default grid system provided as part of Bootstrap is a 940px wide 16-column grid. It’s a flavor of the popular 960 grid system, but without the additional margin/padding on the left and right sides.</p>
<p>The default grid system provided as part of Bootstrap is a 940px wide 16-column grid. It’s a flavor of the popular 960 grid system, but without the additional margin/padding on the left and right sides.</p>
<p>A standard typographic hierarchy for structuring your webpages.</p>
<p>A standard typographic hierarchy for structuring your webpages.</p>
</div>
</div>
<divclass="span6 columns">
<divclass="span4 columns">
<h1>h1. Heading 1</h1>
<h1>h1. Heading 1</h1>
<h2>h2. Heading 2</h2>
<h2>h2. Heading 2</h2>
<h3>h3. Heading 3</h3>
<h3>h3. Heading 3</h3>
...
@@ -264,11 +297,10 @@
...
@@ -264,11 +297,10 @@
<h5>h5. Heading 5</h5>
<h5>h5. Heading 5</h5>
<h6>h6. Heading 6</h6>
<h6>h6. Heading 6</h6>
</div>
</div>
<divclass="span6 columns">
<divclass="span8 columns">
<h3>Example paragraph</h3>
<h3>Example paragraph</h3>
<p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
<p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
<p>You can also add subheadings with the <code><strong></code> and <code><em></code></p>
</div>
</div>
</div>
</div>
...
@@ -287,19 +319,19 @@
...
@@ -287,19 +319,19 @@
<h4>When to use</h4>
<h4>When to use</h4>
<p>Emphasis tags (<code><strong></code> and <code><em></code>) should be used to add visual distinction between a word or phrase and its surrounding copy. Use <code><strong></code> for plain old attention and <code><em></code> for <em>slick</em> attention and titles.</p>
<p>Emphasis tags (<code><strong></code> and <code><em></code>) should be used to add visual distinction between a word or phrase and its surrounding copy. Use <code><strong></code> for plain old attention and <code><em></code> for <em>slick</em> attention and titles.</p>
<h3>Emphasis in a paragraph</h3>
<h3>Emphasis in a paragraph</h3>
<p><ahref="">Fusce dapibus</a>, <strong>tellus ac cursus commodo</strong>, <em>tortor mauris condimentum nibh</em>, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.</p>
<p><ahref="#">Fusce dapibus</a>, <strong>tellus ac cursus commodo</strong>, <em>tortor mauris condimentum nibh</em>, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.</p>
<p><strong>Note:</strong> It’s still okay to use <code><b></code> and <code><i></code> tags in HTML5, but they don’t come with inherent styles anymore. <code><b></code> is meant to convey importance while <code><i></code> is mostly for voice, technical terms, etc.</p>
<p><strong>Note:</strong> It’s still okay to use <code><b></code> and <code><i></code> tags in HTML5, but they don’t come with inherent styles anymore. <code><b></code> is meant to convey importance while <code><i></code> is mostly for voice, technical terms, etc.</p>
<h3>Addresses</h3>
<h3>Addresses</h3>
<p>The <code>address</code> element is used for contact information for its nearest ancestor, or the entire body of work. Here’s how it looks:</p>
<p>The <code><address></code> element is used for contact information for its nearest ancestor, or the entire body of work. Here’s how it looks:</p>
<address>
<address>
<strong>Twitter, Inc.</strong><br/>
<strong>Twitter, Inc.</strong><br/>
795 Folsom Ave, Suite 600<br/>
795 Folsom Ave, Suite 600<br/>
San Francisco, CA 94107<br/>
San Francisco, CA 94107<br/>
<abbrtitle="Phone">P:</abbr> (123) 456-7890
<abbrtitle="Phone">P:</abbr> (123) 456-7890
</address>
</address>
<p><strong>Note:</strong> Each line in an <code>address</code> must end with a line-break (<code><br /></code>) or be wrapped in a block-level tag (e.g., <code>p</code>) to properly structure the content.</p>
<p><strong>Note:</strong> Each line in an <code><address></code> must end with a line-break (<code><br /></code>) or be wrapped in a block-level tag (e.g., <code><p></code>) to properly structure the content.</p>
<h3>Abbreviations</h3>
<h3>Abbreviations</h3>
<p>For abbreviations and acronyms, use the <code>abbr</code> tag (<code>acronym</code> is deprecated in <abbrtitle="HyperText Markup Langugage 5">HTML5</abbr>). Put the shorthand form within the tag and set a title for the complete name.</p>
<p>For abbreviations and acronyms, use the <code><abbr></code> tag (<code><acronym></code> is deprecated in <abbrtitle="HyperText Markup Langugage 5">HTML5</abbr>). Put the shorthand form within the tag and set a title for the complete name.</p>
</div>
</div>
</div>
</div>
...
@@ -313,7 +345,7 @@
...
@@ -313,7 +345,7 @@
</p>
</p>
</div>
</div>
<divclass="span12 columns">
<divclass="span12 columns">
<p>Be sure to wrap your <code>blockquote</code> around <code>paragraph</code> and <code>small</code> tags. When citing a source, use the <code>small</code> element. The CSS will automatically preface a name with an em dash (&mdash;).</p>
<p>Be sure to wrap your <code><blockquote></code> around <code><p></code> and <code><small></code> tags. When citing a source, use the <code><small></code> element. The CSS will automatically preface a name with an em dash (&mdash;).</p>
<blockquote>
<blockquote>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua…</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua…</p>
<small>Dr. Julius Hibbert</small>
<small>Dr. Julius Hibbert</small>
...
@@ -422,8 +454,8 @@
...
@@ -422,8 +454,8 @@
<code><caption></code>
<code><caption></code>
</p>
</p>
<p>Tables are great—for a lot of things. Great tables, however, need a bit of markup love to be useful, scalable, and readable (at the code level). Here are a few tips to help.</p>
<p>Tables are great—for a lot of things. Great tables, however, need a bit of markup love to be useful, scalable, and readable (at the code level). Here are a few tips to help.</p>
<p>Always wrap your column headers in a <code>thead</code> such that hierarchy is <code>thead</code> > <code>tr</code> > <code>th</code>.</p>
<p>Always wrap your column headers in a <code><thead></code> such that hierarchy is <code><thead></code> > <code><tr></code> > <code><th></code>.</p>
<p>Similar to the column headers, all your table’s body content should be wrapped in a <code>tbody</code> so your hierarchy is <code>tbody</code> > <code>tr</code> > <code>td</code>.</p>
<p>Similar to the column headers, all your table’s body content should be wrapped in a <code><tbody></code> so your hierarchy is <code><tbody></code> > <code><tr></code> > <code><td></code>.</p>
</ul>
</ul>
</div>
</div>
<divclass="span12 columns">
<divclass="span12 columns">
...
@@ -807,7 +839,7 @@
...
@@ -807,7 +839,7 @@
</div>
</div>
<divclass="span12 columns">
<divclass="span12 columns">
<h3>Example buttons</h3>
<h3>Example buttons</h3>
<p>Button styles can be applied to anything with the <code>.btn</code> applied. Typically you’ll want to apply these to only <code>a</code>, <code>button</code>, and select <code>input</code> elements. Here’s how it looks:</p>
<p>Button styles can be applied to anything with the <code>.btn</code> applied. Typically you’ll want to apply these to only <code><a></code>, <code><button></code>, and select <code><input></code> elements. Here’s how it looks:</p>
<p>For buttons that are not active or are disabled by the app for one reason or another, use the disabled state. That’s <code>.disabled</code> for links and <code>:disabled</code> for <code>button</code> elements.</p>
<p>For buttons that are not active or are disabled by the app for one reason or another, use the disabled state. That’s <code>.disabled</code> for links and <code>:disabled</code> for <code><button></code> elements.</p>
<h4>Links</h4>
<h4>Links</h4>
<divclass="well">
<divclass="well">
<ahref="#"class="btn large primary disabled">Primary action</a>
<ahref="#"class="btn large primary disabled">Primary action</a>
...
@@ -848,12 +880,12 @@
...
@@ -848,12 +880,12 @@
<divclass="topbar-wrapper"style="z-index: 5;">
<divclass="topbar-wrapper"style="z-index: 5;">
<divclass="topbar">
<divclass="topbar">
<divclass="container fixed">
<divclass="container fixed">
<h3><aclass="logo"href="">Project Name</a></h3>
<h3><ahref="#">Project Name</a></h3>
<ul>
<ul>
<liclass="active"><ahref="">Home</a></li>
<liclass="active"><ahref="#">Home</a></li>
<li><ahref="">Link</a></li>
<li><ahref="#">Link</a></li>
<li><ahref="">Link</a></li>
<li><ahref="#">Link</a></li>
<li><ahref="">Link</a></li>
<li><ahref="#">Link</a></li>
</ul>
</ul>
<formaction="">
<formaction="">
<inputtype="text"placeholder="Search"/>
<inputtype="text"placeholder="Search"/>
...
@@ -862,10 +894,10 @@
...
@@ -862,10 +894,10 @@
<liclass="menu">
<liclass="menu">
<ahref="#"class="menu">Dropdown</a>
<ahref="#"class="menu">Dropdown</a>
<ulclass="menu-dropdown">
<ulclass="menu-dropdown">
<li><ahref="">Secondary link</a></li>
<li><ahref="#">Secondary link</a></li>
<li><ahref="">Something else here</a></li>
<li><ahref="#">Something else here</a></li>
<liclass="divider"></li>
<liclass="divider"></li>
<li><ahref="">Another link</a></li>
<li><ahref="#">Another link</a></li>
</ul>
</ul>
</li>
</li>
</ul>
</ul>
...
@@ -892,40 +924,40 @@
...
@@ -892,40 +924,40 @@
<divclass="row">
<divclass="row">
<divclass="span4 columns">
<divclass="span4 columns">
<h2>Tabs and pills</h2>
<h2>Tabs and pills</h2>
<p>Create simple secondary navigation with a <code>ul</code>. Swap between tabs or pills by adding the appropriate class.</p>
<p>Create simple secondary navigation with a <code><ul></code>. Swap between tabs or pills by adding the appropriate class.</p>
<p>Great for sub-sections of content like our account settings pages and user timelines for toggling between pages of like content. Available in tabbed or pill styles.</p>
<p>Great for sub-sections of content like our account settings pages and user timelines for toggling between pages of like content. Available in tabbed or pill styles.</p>