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;
}
.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{
width: 75%;
margin:auto;

View file

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