mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-02 14:24:19 +01:00
improve icon display on narrow devices
This commit is contained in:
parent
5e6f9b9a37
commit
5fdd917918
@ -16,7 +16,8 @@ base_url: "../"
|
|||||||
|
|
||||||
<h2 id="glyphicons-glyphs">Available glyphs</h2>
|
<h2 id="glyphicons-glyphs">Available glyphs</h2>
|
||||||
<p>Includes 200 glyphs in font format from the Glyphicon Halflings set. <a href="http://glyphicons.com/">Glyphicons</a> Halflings are normally not available for free, but their creator has made them available for Bootstrap free of cost. As a thank you, we only ask that you to include a link back to <a href="http://glyphicons.com/">Glyphicons</a> whenever possible.</p>
|
<p>Includes 200 glyphs in font format from the Glyphicon Halflings set. <a href="http://glyphicons.com/">Glyphicons</a> Halflings are normally not available for free, but their creator has made them available for Bootstrap free of cost. As a thank you, we only ask that you to include a link back to <a href="http://glyphicons.com/">Glyphicons</a> whenever possible.</p>
|
||||||
<ul class="bs-glyphicons">
|
<div class="bs-glyphicons">
|
||||||
|
<ul class="bs-glyphicons-list">
|
||||||
<li>
|
<li>
|
||||||
<span class="glyphicon glyphicon-adjust"></span>
|
<span class="glyphicon glyphicon-adjust"></span>
|
||||||
<span class="glyphicon-class">glyphicon glyphicon-adjust</span>
|
<span class="glyphicon-class">glyphicon glyphicon-adjust</span>
|
||||||
@ -818,6 +819,7 @@ base_url: "../"
|
|||||||
<span class="glyphicon-class">glyphicon glyphicon-zoom-out</span>
|
<span class="glyphicon-class">glyphicon glyphicon-zoom-out</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<h2 id="glyphicons-how-to-use">How to use</h2>
|
<h2 id="glyphicons-how-to-use">How to use</h2>
|
||||||
|
@ -1029,19 +1029,20 @@ h1[id] {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
.bs-glyphicons {
|
.bs-glyphicons {
|
||||||
padding-left: 0;
|
margin: 0 -19px 20px -16px;
|
||||||
padding-bottom: 1px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
list-style: none;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
.bs-glyphicons-list {
|
||||||
|
padding-left: 0;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
.bs-glyphicons li {
|
.bs-glyphicons li {
|
||||||
float: left;
|
float: left;
|
||||||
width: 25%;
|
width: 25%;
|
||||||
height: 115px;
|
height: 115px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin: 0 -1px -1px 0;
|
margin: 0 -1px -1px 0;
|
||||||
font-size: 12px;
|
font-size: 10px;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
@ -1061,8 +1062,13 @@ h1[id] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
|
.bs-glyphicons {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
.bs-glyphicons li {
|
.bs-glyphicons li {
|
||||||
width: 12.5%;
|
width: 12.5%;
|
||||||
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user