Fix: Info-header should be bigger than content title
This commit is contained in:
@@ -238,6 +238,11 @@ span.no-about {
|
|||||||
margin: 1em 0 0.5em;
|
margin: 1em 0 0.5em;
|
||||||
text-shadow: 0 1px #999;
|
text-shadow: 0 1px #999;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
|
||||||
|
&.info-title {
|
||||||
|
font-size: 3em;
|
||||||
|
margin-bottom: 0.6em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,5 +3,5 @@
|
|||||||
<%= link_to "Info", info_index_path %> → <%= @info.title %>
|
<%= link_to "Info", info_index_path %> → <%= @info.title %>
|
||||||
<%= link_to "Edit Info", edit_info_path(@info), class: "btn blue right" %>
|
<%= link_to "Edit Info", edit_info_path(@info), class: "btn blue right" %>
|
||||||
<div class="clear"></div>
|
<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>
|
<div class="post"><%= render_trusted_md(@info.content).html_safe %></div>
|
||||||
Reference in New Issue
Block a user