0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

updated docs to include quick links and twitter buttons, added updated blueprint pattern to background

This commit is contained in:
Mark Otto 2011-10-16 18:45:11 -07:00
parent 2a82b38cff
commit 1888511d67
3 changed files with 71 additions and 33 deletions

View File

@ -9,8 +9,10 @@
-------------------------------------------------- */
body {
position: relative;
padding-top: 100px;
padding-top: 90px;
background-color: #fff;
background-image: url(../img/grid-18px-masked.png);
background-repeat: repeat-x;
}
section {
padding-top: 60px;
@ -35,9 +37,6 @@ section > .row {
-------------------------------------------------- */
.jumbotron {
position: relative;
padding-bottom: 58px;
margin-bottom: 50px;
border-bottom: 2px solid #eee;
}
.jumbotron h1,
.jumbotron p {
@ -57,23 +56,22 @@ section > .row {
.jumbotron .lead {
margin-bottom: 20px;
font-size: 25px;
line-height: 35px;
}
.jumbotron p a {
font-weight: bold;
line-height: 36px;
}
.jumbotron .btn {
font-size: 20px;
padding: 12px 24px;
padding: 14px 24px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
/* Benefits list in masthead */
.benefits {
width: 250px;
position: absolute;
right: 0;
bottom: 60px;
bottom: 0;
}
.benefits ul {
list-style: none;
@ -82,7 +80,7 @@ section > .row {
.benefits li {
font-size: 16px;
font-weight: 300;
line-height: 40px;
line-height: 35px;
color: #555;
}
.benefits li + li {
@ -127,6 +125,37 @@ section > .row {
}
/* Quick links
-------------------------------------------------- */
.quick-links {
padding: 5px 20px;
margin: 60px 0;
list-style: none;
text-align: center;
background-color: #eee;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.quick-links li {
display: inline;
margin: 0 5px;
line-height: 30px;
}
.quick-links .divider {
color: #999;
}
.quick-links strong {
font-weight: normal;
color: #999;
}
.quick-links .tweet-btn,
.quick-links .follow-btn {
position: relative;
top: 5px;
}
/* Footer
-------------------------------------------------- */
.footer {

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -90,10 +90,33 @@
</div>
<h1>Bootstrap, from Twitter</h1>
<p class="lead">Bootstrap is a frontend toolkit from Twitter designed to kickstart web development, complete with core HTML, CSS, and JS for grids, type, forms, navigation, and many more components.</p>
<a href="#" class="btn primary btn-large">Download on GitHub</a>
<p class="download-info">
<a href="#" class="btn primary btn-large">Download on GitHub</a>
Currently v2.0.0
</p>
</div>
</header>
<ul class="quick-links">
<li><strong>Quick links</strong></li>
<li><a href="https://github.com/twitter/bootstrap/">GitHub</a></li>
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
<li><a href="https://github.com/twitter/bootstrap/wiki/Roadmap">Roadmap</a></li>
<li><a href="https://github.com/twitter/bootstrap/wiki/Changelog">Changelog</a></li>
<li class="divider">&middot;</li>
<li><strong>Authors</strong></li>
<li><a href="http://twitter.com/mdo">@mdo</a></li>
<li><a href="http://twitter.com/fat">@fat</a></li>
<li class="divider">&middot;</li>
<li class="follow-btn">
<a href="https://twitter.com/twbootstrap" class="twitter-follow-button" data-width="145px" data-link-color="#0069D6" data-show-count="false">Follow @twbootstrap</a><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
</li>
<li class="tweet-btn">
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://twitter.github.com/bootstrap/" data-count="horizontal" data-via="twbootstrap" data-related="mdo:Creator of Twitter Bootstrap">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</li>
</ul>
<!-- Quickstart options
================================================== -->
<div class="quickstart" style="display: none;">
@ -169,19 +192,6 @@
</li>
</ul>
<!--
Quick links:
GitHub
Twitter
Roadmap
Changelog
Authors:
@mdo
@fat
-->
</div><!-- /#overview -->
@ -1971,18 +1981,17 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
</section>
<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>
</footer>
<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>
</footer>
</div><!-- /container -->
<!-- Le javascript -->
<script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
<script src="http://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script>