2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

Simplify HTML and CSS

- Remove iframes
- Turn into larger click areas
- Drop entire team.scss file for components and utilities
This commit is contained in:
Mark Otto
2018-09-16 00:24:59 +03:00
committed by XhmikosR
parent 4e8c9ba1da
commit c3d93b34ba
4 changed files with 7 additions and 49 deletions
+7 -8
View File
@@ -7,15 +7,14 @@ group: about
Bootstrap is maintained by the founding team and a small group of invaluable core contributors, with the massive support and involvement of our community.
<div class="list-group bd-team">
<div class="list-group mb-3">
{% for member in site.data.core-team %}
<div class="list-group-item">
<iframe class="github-btn" src="https://ghbtns.com/github-btn.html?user={{ member.user }}&amp;type=follow"></iframe>
<a class="team-member" href="https://github.com/{{ member.user }}">
<img src="https://secure.gravatar.com/avatar/{{ member.gravatar }}" alt="@{{ member.user }}" width="32" height="32">
<strong>{{ member.name }}</strong> <small>@{{ member.user }}</small>
</a>
</div>
<a class="list-group-item list-group-item-action d-flex align-items-center" href="https://github.com/{{ member.user }}">
<img src="https://github.com/{{ member.user }}.png" alt="@{{ member.user }}" width="32" height="32" class="rounded mr-2">
<span>
<strong>{{ member.name }}</strong> @{{ member.user }}
</span>
</a>
{% endfor %}
</div>
-32
View File
@@ -1,32 +0,0 @@
.bd-team {
margin-bottom: 1.5rem;
.team-member {
line-height: 2rem;
color: #555;
}
.team-member:hover,
.team-member:focus {
color: #333;
}
.team-member:hover {
text-decoration: none;
}
.github-btn {
float: right;
width: 180px;
height: 1.25rem;
margin-top: .25rem;
border: 0;
}
img {
float: left;
width: 2rem;
margin-right: .5rem;
border-radius: .25rem;
}
}
-1
View File
@@ -41,7 +41,6 @@
@import "buttons";
@import "callouts";
@import "examples";
@import "team";
@import "browser-bugs";
@import "brand";
@import "colors";