Skip to content
This repository was archived by the owner on Nov 12, 2021. It is now read-only.

Commit 2a6f3a1

Browse files
committed
Tuesday
1 parent 2e847b5 commit 2a6f3a1

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

app/assets/stylesheets/application.css

+11-5
Original file line numberDiff line numberDiff line change
@@ -254,13 +254,19 @@ a:hover {
254254
}
255255

256256
.div_common {
257-
display: inline-block;
258-
height: 200px;
259-
width: 250px;
260-
border-radius: 6px;
261-
margin: 10px 10px 10px 10px;
257+
display: inline-block;
258+
height: 200px;
259+
width: 250px;
260+
border-radius: 6px;
261+
margin: 10px 10px 10px 10px;
262+
background: #000000;
263+
box-shadow: inset 1px 1px 1px 1px rgba(255, 255, 255, 1);
262264
}
263265

266+
.boxes {
267+
text-align: center;
268+
}
269+
264270
.post,.post_full,.page {
265271
margin-bottom: 30px;
266272
padding: 10px 20px 1px 20px;

app/views/categories/index.html.erb

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
<div class='post'>
1+
<div class='post' style='padding-bottom: 20px;'>
22
<h1>A Steaming Pile of Categories</h1>
33
<% @categories.each do |category| %>
44
<div class='div_common'>
5-
<%= link_to category.name,category %>
5+
<div class='boxes'>
6+
<h3><%= link_to category.name,category %></h3>
7+
</div>
68
</div>
79
<% end %>
810
</div>

0 commit comments

Comments
 (0)