Permalink
Browse files

Set height identical to all commiters in row

  • Loading branch information...
1 parent 8a39208 commit 9e3c21d7d9cb9b57397e24bf2a853bda00a4ed64 @kossnocorp kossnocorp committed Jan 2, 2011
Showing with 18 additions and 15 deletions.
  1. +11 −10 app/stylesheets/master.sass
  2. +2 −2 app/views/accounts/_account.html.erb
  3. +5 −3 app/views/accounts/index.html.erb
@@ -13,8 +13,9 @@ h1, h2
h1
font-size: 60px
text-align: center
- padding: 50px 0
+ padding: 50px 0 30px
color: #a00
+ @include text-shadow(#3e0f10, -1px, 1px, 1px)
.image-wrapper
height: 100px
@@ -33,18 +34,18 @@ h3
line-height: 20px
padding-bottom: 15px
-ul
- display: inline-block
+table.commiters
width: 100%
- margin-bottom: 20px
+ border-spacing: 20px
- li.commiter
+ tr.commiters
+
+ td.commiter
@include border-radius(10px)
- width: 30%
- margin-left: 2.5%
- float: left
- border: 5px solid #fbd0dc
+ vertical-align: top
+ width: 33.333%
+ border: 3px solid #fbd0dc
background: #fefefe
.commiter-wrapper
- padding: 10px 20px
+ padding: 15px 20px
@@ -1,4 +1,4 @@
-<li class="commiter">
+<td class="commiter">
<div class="commiter-wrapper">
<h2><%= account.username %></h2>
<% if account.names.length > 0 %>
@@ -68,4 +68,4 @@
-->
</table>
</div>
-</li>
+</td>
@@ -1,6 +1,8 @@
<h1>Ruby Committers</h1>
<% @accounts.each_slice(3) do |account_slice| %>
- <ul>
- <%= render :partial => 'account', :collection => account_slice %>
- </ul>
+ <table class="commiters">
+ <tr class="commiters">
+ <%= render :partial => 'account', :collection => account_slice %>
+ </tr>
+ </table>
<% end %>

0 comments on commit 9e3c21d

Please sign in to comment.