Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

Commit

Permalink
tweaks based on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
MelSumner committed Mar 30, 2018
1 parent a50eb82 commit 76a03e3
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 30 deletions.
45 changes: 21 additions & 24 deletions source/stylesheets/pages/teams.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,46 +8,49 @@ body.team {
}

#content .headshots { /* #content is needed for specifity override */
max-width: 760px;
width: 100%;
margin: 0 auto;
max-width: 90%;
text-align: center;
width: 100%;

a:hover {
border-bottom: none;
}

> li {
box-sizing: border-box;
display: inline-block;
width: 24%;
text-align: center;
padding: 40px 0 0;
text-align: center;
width: 20%;

@media screen and (max-width: 860px) {
width: 32%;
}
@media screen and (max-width: 560px) {
@media screen and (max-width: 600px) {
width: 49%;
}

p {
margin: 0px 0px 5px 0px;
font-weight: bold;
margin: 0px 0px 5px 0px;
}

img {
margin-bottom: 10px;
border-radius: 50%;
width: 130px;
height: 130px;
border: 2px solid #faf4f1;
height: 120px;
margin-bottom: 10px;
width: 120px;

&.alumni {
height: 90px;
width: 90px;
}

&:hover,
&:active,
&:focus {
border: 0;
}
}

.social {
margin: 0 auto !important;

Expand All @@ -68,26 +71,20 @@ body.team {
}

&.contributors {
li {
width: 19%;
}
.avatar {
position: relative;
}

img {
width: 100px;
height: 100px;
height: 90px;
width: 90px;
}

.type {
display: none;
// position: absolute;
// left: 5px;
// right: 5px;
// top: -9px;
// color: #fff;
// font-size: 12px;
// line-height: 1.5em;
// border-radius: 2px;
// background-color: $orange-darker;
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions source/team.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ responsive: true
<ul class="headshots">
<% core.each do |user| %>
<li>
<a href="<%= user.github %>" rel="nofollow" class="avatar" aria-label="<%= user.name %>">
<img src="/images/team/<%= user.image %>" alt="" role="presentation">
<a href="<%= user.github %>" rel="nofollow" class="avatar">
<img src="/images/team/<%= user.image %>" alt="<%= user.name %>">
</a>

<p class="name">
Expand Down Expand Up @@ -159,8 +159,8 @@ responsive: true
<ul class="contributors headshots">
<% subteams.each do |user| %>
<li>
<a href="<%= user.github %>" rel="nofollow" class="avatar" aria-label="<%= user.name %>">
<img src="/images/team/<%= user.image %>" role="presentation" alt="">
<a href="<%= user.github %>" rel="nofollow" class="avatar">
<img src="/images/team/<%= user.image %>" alt="<%= user.name %>">
</a>

<p class="name">
Expand Down Expand Up @@ -197,8 +197,8 @@ responsive: true
<ul class="headshots">
<% alumni.each do |user| %>
<li>
<a href="<%= user.github %>" rel="nofollow" aria-label="<%= user.name %>">
<img src="/images/team/<%= user.image %>" width="150" height="150" alt="" role="presentation"/>
<a href="<%= user.github %>" rel="nofollow">
<img class="alumni" src="/images/team/<%= user.image %>" alt="<%= user.name %>" />
</a>
<p>
<%= user.name %>
Expand Down

0 comments on commit 76a03e3

Please sign in to comment.