Commit aa9c801c

mo k <m@mokhan.ca>
2011-10-31 15:51:12
remove the creation css class because we do not need it anymore.
1 parent 48e514f
Changed files (2)
app
assets
stylesheets
views
app/assets/stylesheets/layout.css
@@ -137,5 +137,3 @@ div.field, div.actions {
 .hidden{display:none;}
 .smallFont{font-size:small;}
 .smallerFont{font-size:smaller;}
-
-div.creation { margin:2px; height:auto; width:auto; float:left; text-align:center; }
app/views/home/index.html.erb
@@ -5,18 +5,18 @@
 <h1>Recently Added Creations</h1>
 <% @creations.each_with_index do |creation, index| %>
   <% if index % 4 == 0  %>
-    <div class="grid_2 alpha creation">
+    <div class="grid_2 alpha">
       <a href="<%= url_for creation %>"><%= image_tag creation.image.thumb.url, :alt => creation.name %></a>
       <p><%= creation.name %> <br /><%= link_to creation.user.name, creation %></p>
     </div>
   <% elsif (index+1) % 4 == 0  %>
-    <div class="grid_2 omega creation">
+    <div class="grid_2 omega">
       <a href="<%= url_for creation %>"><%= image_tag creation.image.thumb.url, :alt => creation.name %></a>
       <p><%= creation.name %> <br /><%= link_to creation.user.name, creation %></p>
     </div>
     <div class="clear"></div>
   <% else %>
-    <div class="grid_2 creation">
+    <div class="grid_2">
       <a href="<%= url_for creation %>"><%= image_tag creation.image.thumb.url, :alt => creation.name %></a>
       <p><%= creation.name %> <br /><%= link_to creation.user.name, creation %></p>
     </div>