mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
tweak style, add a symbol to denote the end of content
This commit is contained in:
parent
6808a2cba2
commit
41f85e2876
2 changed files with 31 additions and 8 deletions
|
|
@ -88,9 +88,10 @@
|
|||
<header>
|
||||
<h2><a href="<%= link %>">→ <%= title %></a></h2>
|
||||
<time><%= date %></time>
|
||||
<a class="permalink" href="<%= url %>">∞</a>
|
||||
</header>
|
||||
<%- yield %>
|
||||
<p><a class="permalink" href="<%= url %>">∞</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">
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue