mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
updated docs to include quick links and twitter buttons, added updated blueprint pattern to background
This commit is contained in:
parent
2a82b38cff
commit
1888511d67
@ -9,8 +9,10 @@
|
|||||||
-------------------------------------------------- */
|
-------------------------------------------------- */
|
||||||
body {
|
body {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-top: 100px;
|
padding-top: 90px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
background-image: url(../img/grid-18px-masked.png);
|
||||||
|
background-repeat: repeat-x;
|
||||||
}
|
}
|
||||||
section {
|
section {
|
||||||
padding-top: 60px;
|
padding-top: 60px;
|
||||||
@ -35,9 +37,6 @@ section > .row {
|
|||||||
-------------------------------------------------- */
|
-------------------------------------------------- */
|
||||||
.jumbotron {
|
.jumbotron {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-bottom: 58px;
|
|
||||||
margin-bottom: 50px;
|
|
||||||
border-bottom: 2px solid #eee;
|
|
||||||
}
|
}
|
||||||
.jumbotron h1,
|
.jumbotron h1,
|
||||||
.jumbotron p {
|
.jumbotron p {
|
||||||
@ -57,23 +56,22 @@ section > .row {
|
|||||||
.jumbotron .lead {
|
.jumbotron .lead {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
line-height: 35px;
|
line-height: 36px;
|
||||||
}
|
|
||||||
.jumbotron p a {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
}
|
||||||
.jumbotron .btn {
|
.jumbotron .btn {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
padding: 12px 24px;
|
padding: 14px 24px;
|
||||||
-webkit-border-radius: 6px;
|
-webkit-border-radius: 6px;
|
||||||
-moz-border-radius: 6px;
|
-moz-border-radius: 6px;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Benefits list in masthead */
|
||||||
.benefits {
|
.benefits {
|
||||||
width: 250px;
|
width: 250px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 60px;
|
bottom: 0;
|
||||||
}
|
}
|
||||||
.benefits ul {
|
.benefits ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
@ -82,7 +80,7 @@ section > .row {
|
|||||||
.benefits li {
|
.benefits li {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
line-height: 40px;
|
line-height: 35px;
|
||||||
color: #555;
|
color: #555;
|
||||||
}
|
}
|
||||||
.benefits li + li {
|
.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
|
||||||
-------------------------------------------------- */
|
-------------------------------------------------- */
|
||||||
.footer {
|
.footer {
|
||||||
|
BIN
docs/assets/img/grid-18px-masked.png
Normal file
BIN
docs/assets/img/grid-18px-masked.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
@ -90,10 +90,33 @@
|
|||||||
</div>
|
</div>
|
||||||
<h1>Bootstrap, from Twitter</h1>
|
<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>
|
<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>
|
</div>
|
||||||
</header>
|
</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">·</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">·</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
|
<!-- Quickstart options
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<div class="quickstart" style="display: none;">
|
<div class="quickstart" style="display: none;">
|
||||||
@ -169,19 +192,6 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<!--
|
|
||||||
Quick links:
|
|
||||||
GitHub
|
|
||||||
Twitter
|
|
||||||
Roadmap
|
|
||||||
Changelog
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
@mdo
|
|
||||||
@fat
|
|
||||||
|
|
||||||
-->
|
|
||||||
|
|
||||||
</div><!-- /#overview -->
|
</div><!-- /#overview -->
|
||||||
|
|
||||||
|
|
||||||
@ -1971,18 +1981,17 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<p class="pull-right"><a href="#">Back to top</a></p>
|
<p class="pull-right"><a href="#">Back to top</a></p>
|
||||||
<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>
|
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>.
|
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>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</div><!-- /container -->
|
</div><!-- /container -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Le javascript -->
|
<!-- Le javascript -->
|
||||||
<script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
|
<script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
|
||||||
<script src="http://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script>
|
<script src="http://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user