Skip to content

Commit 17b89b8

Browse files
committed
clean up formatting of contributors list
1 parent 3bd923f commit 17b89b8

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

root/inc/contributors.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<% IF contributors and contributors.size %>
22

33
<div id="contributors">
4-
<strong>and <% contributors.size %> contributors</strong>
4+
<div class="contributors-header">and <% contributors.size %> contributors</div>
55
<div align="right">
6-
<a name="authors" href="#authors"
7-
onclick="$(this).hide(); $('#contributors ul').slideDown()"
6+
<a href="#"
7+
onclick="$(this).hide(); $('#contributors ul').slideDown(); return false;"
88
>show them</a>
99
</div>
10-
<ul style="display: none">
10+
<ul class="nav nav-list box-right" style="display: none">
1111
<% FOREACH contributor IN contributors %>
1212
<li class="contributor<% ' cpan' IF contributor.pauseid %>">
1313
<% IF contributor.pauseid %>

root/static/css/style.css

+14-1
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,19 @@ div.qtip-github table th {
297297
* see /release/Plack for example
298298
*/
299299

300+
#contributors {
301+
width: 180px;
302+
}
303+
304+
#contributors > ul {
305+
padding-top: 0;
306+
}
307+
308+
#contributors .contributors-header {
309+
font-weight: bold;
310+
text-align: center;
311+
}
312+
300313
#contributors .contributor {
301314
position: relative;
302315
text-align: left;
@@ -343,4 +356,4 @@ div.qtip-github table th {
343356

344357
#icon-rss {
345358
background: url('/static/icons/icon-rss.png');
346-
}
359+
}

0 commit comments

Comments
 (0)