tweak style, add a symbol to denote the end of content

This commit is contained in:
Sami Samhuri 2014-03-03 23:50:04 -08:00
parent 6808a2cba2
commit 41f85e2876
2 changed files with 31 additions and 8 deletions

View file

@ -88,9 +88,10 @@
<header>
<h2><a href="<%= link %>">&rarr; <%= title %></a></h2>
<time><%= date %></time>
<a class="permalink" href="<%= url %>">&infin;</a>
</header>
<%- yield %>
<p><a class="permalink" href="<%= url %>">&infin;</a></p>
<p class="fin"><i class="fa fa-code"></i></p>
</article>
<% } else if (typeof date != 'undefined') { -%>
<article class="container">
@ -99,18 +100,21 @@
<time><%= date %></time>
</header>
<%- yield %>
<p class="fin"><i class="fa fa-code"></i></p>
</article>
<% } else if (typeof title != 'undefined') { -%>
<div class="container">
<article class="container">
<h2><%= title %></h2>
<%- yield %>
<div class="clearfix">
</div>
<p class="fin"><i class="fa fa-code"></i></p>
</article>
<% } else { -%>
<div class="container">
<article class="container">
<%- yield %>
<div class="clearfix">
</div>
<p class="fin"><i class="fa fa-code"></i></p>
</article>
<% } -%>
<footer class="container">

View file

@ -214,7 +214,6 @@ header.primary {
}
footer {
border-top: solid 1px lighten(@text, 70%);
padding: 1rem 0;
text-align: center;
color: lighten(@text, 30%);
@ -330,8 +329,28 @@ body.projects:not(.index) .container {
* Posts
*/
article header h2 {
word-wrap: break-word;
article {
header {
h2 {
word-wrap: break-word;
margin-bottom: 0.3rem;
}
time {
margin-top: 0.3rem;
color: lighten(@text, 35%);
}
}
p.fin {
text-align: center;
color: darken(@background, 20%);
margin: 1rem 0;
}
}
blockquote {