Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit c06a6b2

Browse files
committed
Display team member's irc nicks on hover.
1 parent b049db6 commit c06a6b2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

team.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,19 @@ teams:
101101
}
102102
.lead { font-weight: bold; }
103103
.lead .name::after { content: " (lead)"; }
104+
.irc {
105+
display: none;
106+
position: absolute;
107+
bottom: 0;
108+
left: 0;
109+
right: 0;
110+
background: rgba(0, 0, 0, 0.5);
111+
color: white;
112+
font-weight: normal;
113+
}
114+
.person:hover .irc {
115+
display: block;
116+
}
104117

105118
.headshots {
106119
text-align: center;
@@ -129,6 +142,7 @@ rosters, in alphabetical order.
129142
<li class="person {% if team.lead and team.lead == github %}lead{% endif %}">
130143
<a href="https://github.com/{{ github }}">
131144
<div class="name">{{ person.name }}</div>
145+
<div class="irc">irc: {% if person.irc %}{{ person.irc }}{% else %}{{ github }}{% endif %}</div>
132146
<img class="headshot" src="http://avatars.githubusercontent.com/{{ github }}">
133147
</a>
134148
</li>

0 commit comments

Comments
 (0)