Fix: Info-header should be bigger than content title

This commit is contained in:
jomo
2014-06-26 22:47:10 +02:00
parent a1fc65c3e6
commit 07d740f194
2 changed files with 6 additions and 1 deletions

View File

@@ -238,6 +238,11 @@ span.no-about {
margin: 1em 0 0.5em;
text-shadow: 0 1px #999;
word-wrap: break-word;
&.info-title {
font-size: 3em;
margin-bottom: 0.6em;
}
}
}

View File

@@ -3,5 +3,5 @@
<%= link_to "Info", info_index_path %> → <%= @info.title %>
<%= link_to "Edit Info", edit_info_path(@info), class: "btn blue right" %>
<div class="clear"></div>
<h1><%= @info.title %></h1>
<h1 class="info-title"><%= @info.title %></h1>
<div class="post"><%= render_trusted_md(@info.content).html_safe %></div>