default bulma stuff for blog post archives. Makes modifying css more uniform

This commit is contained in:
Lorin Werthen 2016-10-30 15:06:41 +01:00
parent f2c1836bc8
commit 6655b3979a
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0
2 changed files with 17 additions and 22 deletions

View file

@ -24,22 +24,6 @@ dl {
margin-bottom:10px; margin-bottom:10px;
} }
.bolder {
> * {
color:#565C5E;
font-weight: bold;
font-size: 20pt;
font-family: 'Avenir';
border-left: 3px solid $zeus-orange;
padding-left: 10px;
}
a {
border-left: none;
}
}
.blogwidth{ .blogwidth{
width: 75%; width: 75%;
margin:auto; margin:auto;

View file

@ -15,13 +15,24 @@
</a> </a>
<% end %> <% end %>
</div> </div>
<div class="column is-narrow"> <aside class="menu">
<ul class = "archive_list"> <p class="menu-label">
Academic Year
</p>
<ul class="menu-list">
<% academic_years_items.each do |year, item| %> <% academic_years_items.each do |year, item| %>
<li class="bolder"> <% if @item_rep && @item_rep.path == item.path %>
<%= link_to_unless_current pretty_year(year), item %> <li>
</li> <a href="#" class="is-active">
<%= pretty_year(year) %>
</a>
</li>
<% else %>
<li>
<%= link_to pretty_year(year), item %>
</li>
<% end %>
<% end %> <% end %>
</ul> </ul>
</div> </aside>
</div> </div>