diff options
author | Mark Otto <markdotto@gmail.com> | 2018-09-16 00:24:59 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-09-16 02:04:32 +0300 |
commit | c3d93b34bae64531a2d94306344c90d5c4ce958b (patch) | |
tree | 91ed2cfbf4b3f5dab402bc94947d122874908c74 | |
parent | 4e8c9ba1da0b6e659a22ebf51e610cf9b80cad5d (diff) |
Simplify HTML and CSS
- Remove iframes
- Turn into larger click areas
- Drop entire team.scss file for components and utilities
-rw-r--r-- | site/_data/core-team.yml | 8 | ||||
-rw-r--r-- | site/docs/4.1/about/team.md | 15 | ||||
-rw-r--r-- | site/docs/4.1/assets/scss/_team.scss | 32 | ||||
-rw-r--r-- | site/docs/4.1/assets/scss/docs.scss | 1 |
4 files changed, 7 insertions, 49 deletions
diff --git a/site/_data/core-team.yml b/site/_data/core-team.yml index 46880ec8a5..e89f9ddbb6 100644 --- a/site/_data/core-team.yml +++ b/site/_data/core-team.yml @@ -1,31 +1,23 @@ - name: Mark Otto user: mdo - gravatar: bc4ab438f7a4ce1c406aadc688427f2c - name: Jacob Thornton user: fat - gravatar: a98244cbdacaf1c0b55499466002f7a8 - name: Chris Rebert user: cvrebert - gravatar: edec428c425453955f770095a7d26c50 - name: XhmikosR user: xhmikosr - gravatar: e37759b1ea0125d4e97b1e00b5eed26f - name: Patrick H. Lauke user: patrickhlauke - gravatar: 357f279672db832fc41a5a2f36559fcb - name: Gleb Mazovetskiy user: glebm - gravatar: 729f685b8e8d7e9feed18c177c82e59b - name: Johann-S user: johann-s - gravatar: d90d49733a4fe1aa461e45cb4a4fd9e3 - name: Andres Galante user: andresgalante - gravatar: 03dc4f2e26e476958c952505c8d8f563 diff --git a/site/docs/4.1/about/team.md b/site/docs/4.1/about/team.md index d34c5b6f4d..93aecf882f 100644 --- a/site/docs/4.1/about/team.md +++ b/site/docs/4.1/about/team.md @@ -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 }}&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> diff --git a/site/docs/4.1/assets/scss/_team.scss b/site/docs/4.1/assets/scss/_team.scss deleted file mode 100644 index 5f6229bd31..0000000000 --- a/site/docs/4.1/assets/scss/_team.scss +++ /dev/null @@ -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; - } -} diff --git a/site/docs/4.1/assets/scss/docs.scss b/site/docs/4.1/assets/scss/docs.scss index cb835614ef..706bde44e6 100644 --- a/site/docs/4.1/assets/scss/docs.scss +++ b/site/docs/4.1/assets/scss/docs.scss @@ -41,7 +41,6 @@ @import "buttons"; @import "callouts"; @import "examples"; -@import "team"; @import "browser-bugs"; @import "brand"; @import "colors"; |