overhauled the front page to feel a bit more marketing-like, added the awesome glyphicons to bring some life to the docs
2
bootstrap.css
vendored
@ -6,7 +6,7 @@
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
||||
* Date: Wed Oct 26 21:03:54 PDT 2011
|
||||
* Date: Thu Oct 27 12:48:41 PDT 2011
|
||||
*/
|
||||
/* 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).
|
||||
|
@ -5,6 +5,7 @@
|
||||
Special styles for presenting Bootstrap's documentation and examples
|
||||
*/
|
||||
|
||||
|
||||
/* Body and structure
|
||||
-------------------------------------------------- */
|
||||
body {
|
||||
@ -15,6 +16,7 @@ body {
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
|
||||
/* Tweak navbar brand link to be super sleek
|
||||
-------------------------------------------------- */
|
||||
body > .navbar-fixed .brand {
|
||||
@ -29,12 +31,14 @@ body > .navbar-fixed .brand:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
/* Space out sub-sections more
|
||||
-------------------------------------------------- */
|
||||
.page-header {
|
||||
margin-top: 36px;
|
||||
}
|
||||
|
||||
|
||||
/* Jumbotrons
|
||||
-------------------------------------------------- */
|
||||
.jumbotron {
|
||||
@ -119,7 +123,7 @@ body > .navbar-fixed .brand:hover {
|
||||
-------------------------------------------------- */
|
||||
.quick-links {
|
||||
padding: 5px 20px;
|
||||
margin: 60px 0;
|
||||
margin: 45px 0;
|
||||
list-style: none;
|
||||
text-align: center;
|
||||
background-color: #eee;
|
||||
@ -149,13 +153,40 @@ body > .navbar-fixed .brand:hover {
|
||||
}
|
||||
|
||||
|
||||
/* Marketing section of Overview
|
||||
-------------------------------------------------- */
|
||||
.marketing .row {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
.marketing h1 {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
.marketing h2,
|
||||
.marketing h3 {
|
||||
font-weight: 300;
|
||||
color: #000;
|
||||
}
|
||||
.marketing h2 {
|
||||
margin-bottom: 9px;
|
||||
}
|
||||
.marketing p {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.marketing img {
|
||||
float: left;
|
||||
margin: 7px 10px 0 0;
|
||||
}
|
||||
|
||||
|
||||
/* Footer
|
||||
-------------------------------------------------- */
|
||||
.footer {
|
||||
padding: 30px 0;
|
||||
margin-top: 45px;
|
||||
padding: 35px 0 36px;
|
||||
border-top: 1px solid #e5e5e5;
|
||||
}
|
||||
.footer p {
|
||||
margin-bottom: 0;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
|
BIN
docs/assets/img/glyphicons/glyphicons_009_magic.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
docs/assets/img/glyphicons/glyphicons_042_group.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
docs/assets/img/glyphicons/glyphicons_079_podium.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
docs/assets/img/glyphicons/glyphicons_082_roundabout.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
docs/assets/img/glyphicons/glyphicons_155_show_thumbnails.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
docs/assets/img/glyphicons/glyphicons_163_iphone.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
docs/assets/img/glyphicons/glyphicons_214_resize_small.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
docs/assets/img/glyphicons/glyphicons_266_book_open.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
@ -127,10 +127,82 @@
|
||||
</ul>
|
||||
|
||||
|
||||
<div class="marketing">
|
||||
<div class="row">
|
||||
<div class="span4">
|
||||
<img src="assets/img/glyphicons/glyphicons_042_group.png">
|
||||
<h2>Built for and by nerds</h2>
|
||||
<p>Like you, we love building awesome products on the web. We love it so much, we decided to help people just like us do it easier, better, and faster. Bootstrap is built for you.</p>
|
||||
</div>
|
||||
<div class="span4">
|
||||
<img src="assets/img/glyphicons/glyphicons_079_podium.png">
|
||||
<h2>For all skill levels</h2>
|
||||
<p>Bootstrap is designed to help people of all skill level—designer or developer, huge nerd or early beginner. Use it as a complete kit or use to start something more complex.</p>
|
||||
</div>
|
||||
<div class="span4">
|
||||
<img src="assets/img/glyphicons/glyphicons_163_iphone.png">
|
||||
<h2>Cross-everything</h2>
|
||||
<p>Originally built with only modern browsers in mind, Bootstrap has evolved to include support for all major browsers (even IE7!) and, with Bootstrap 2, tablets and smartphones, too.</p>
|
||||
</div>
|
||||
</div><!--/row-->
|
||||
<div class="row">
|
||||
<div class="span4">
|
||||
<img src="assets/img/glyphicons/glyphicons_155_show_thumbnails.png">
|
||||
<h2>12-column grid</h2>
|
||||
<p>Grid systems aren't everything, but having a durable and flexible one at the core of your work can make development much simpler. Use our built-in grid classes or roll your own.</p>
|
||||
</div>
|
||||
<div class="span4">
|
||||
<img src="assets/img/glyphicons/glyphicons_214_resize_small.png">
|
||||
<h2>Responsive design</h2>
|
||||
<p>With Bootstrap 2, we've gone fully responsive. Our components are flexible enough to scale according to whatever resolution or device you're using to provide a consistent experience, no matter what.</p>
|
||||
</div>
|
||||
<div class="span4">
|
||||
<img src="assets/img/glyphicons/glyphicons_266_book_open.png">
|
||||
<h2>Styleguide docs</h2>
|
||||
<p>Unlike other front-end toolkits, Bootstrap was designed first and foremost as a styleguide to document not only our features, but best practices and living, coded examples.</p>
|
||||
</div>
|
||||
</div><!--/row-->
|
||||
<div class="row">
|
||||
<div class="span4">
|
||||
<img src="assets/img/glyphicons/glyphicons_082_roundabout.png">
|
||||
<h2>Growing library</h2>
|
||||
<p>Despite being only 7kb (gzipped), Bootstrap is one of the most complete front-end toolkits out there with dozens of fully functional components ready to be put to use.</p>
|
||||
</div>
|
||||
<div class="span4">
|
||||
<img src="assets/img/glyphicons/glyphicons_009_magic.png">
|
||||
<h2>Custom jQuery plugins</h2>
|
||||
<p>What good is an awesome design component without easy-to-use, proper, and extensible interactions? With Bootstrap, you get custom-built jQuery plugins to bring your projects to life.</p>
|
||||
</div>
|
||||
<div class="span4">
|
||||
<img src="assets/img/glyphicons/glyphicons_155_show_thumbnails.png">
|
||||
<h2>Built on LESS</h2>
|
||||
<p>Where vanilla CSS falters, LESS excels. Variables, nesting, operations, and mixins in LESS makes coding CSS faster and more efficient with minimal overhead.</p>
|
||||
</div>
|
||||
</div><!--/row-->
|
||||
<div class="row">
|
||||
<div class="span3">
|
||||
<h3>HTML5</h3>
|
||||
<p>Built to support new HTML5 elements and syntax.</p>
|
||||
</div>
|
||||
<div class="span3">
|
||||
<h3>CSS3</h3>
|
||||
<p>Progressively enhanced components for ultimate style.</p>
|
||||
</div>
|
||||
<div class="span3">
|
||||
<h3>Open-source</h3>
|
||||
<p>Built for and maintained by the community via <a href="https://github.com">GitHub</a>.</p>
|
||||
</div>
|
||||
<div class="span3">
|
||||
<h3>Made at Twitter</h3>
|
||||
<p>Brought to you by experienced engineers and designers.</p>
|
||||
</div>
|
||||
</div><!--/row-->
|
||||
</div>
|
||||
|
||||
|
||||
<!-- About Bootstrap
|
||||
================================================== -->
|
||||
<section id="about">
|
||||
<section id="about" style="display: none;">
|
||||
<div class="row">
|
||||
<div class="span4">
|
||||
<h2>Built for and by nerds</h2>
|
||||
@ -163,7 +235,7 @@
|
||||
</div><!-- /row -->
|
||||
</section>
|
||||
|
||||
<h3>Quick-start examples</h3>
|
||||
<!-- <h3>Quick-start examples</h3>
|
||||
<p>Need some quick templates? Check out these basic examples we've put together:</p>
|
||||
<ul class="media-grid">
|
||||
<li>
|
||||
@ -176,7 +248,7 @@
|
||||
<a href="../examples/container-app.html"><img src="assets/img/example-diagram-03.png" alt="Simple hanging container for apps"></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
-->
|
||||
</div><!-- /#overview -->
|
||||
|
||||
|
||||
@ -184,10 +256,9 @@
|
||||
================================================== -->
|
||||
<footer class="footer">
|
||||
<p class="pull-right"><a href="#">Back to top</a></p>
|
||||
<p>
|
||||
Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.<br>
|
||||
Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.
|
||||
</p>
|
||||
<p>Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p>
|
||||
<p>Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
|
||||
<p>Icons from <a href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
|
||||
</footer>
|
||||
</div><!-- /container -->
|
||||
|
||||
|