default bulma stuff for blog post archives. Makes modifying css more uniform
This commit is contained in:
parent
f2c1836bc8
commit
6655b3979a
2 changed files with 17 additions and 22 deletions
|
@ -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;
|
||||
|
|
|
@ -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 %>
|
||||
</li>
|
||||
<% 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>
|
||||
|
|
Loading…
Reference in a new issue