mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-27 14:57:40 +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>
|
<header>
|
||||||
<h2><a href="<%= link %>">→ <%= title %></a></h2>
|
<h2><a href="<%= link %>">→ <%= title %></a></h2>
|
||||||
<time><%= date %></time>
|
<time><%= date %></time>
|
||||||
|
<a class="permalink" href="<%= url %>">∞</a>
|
||||||
</header>
|
</header>
|
||||||
<%- yield %>
|
<%- yield %>
|
||||||
<p><a class="permalink" href="<%= url %>">∞</a></p>
|
<p class="fin"><i class="fa fa-code"></i></p>
|
||||||
</article>
|
</article>
|
||||||
<% } else if (typeof date != 'undefined') { -%>
|
<% } else if (typeof date != 'undefined') { -%>
|
||||||
<article class="container">
|
<article class="container">
|
||||||
|
|
@ -99,18 +100,21 @@
|
||||||
<time><%= date %></time>
|
<time><%= date %></time>
|
||||||
</header>
|
</header>
|
||||||
<%- yield %>
|
<%- yield %>
|
||||||
|
<p class="fin"><i class="fa fa-code"></i></p>
|
||||||
</article>
|
</article>
|
||||||
<% } else if (typeof title != 'undefined') { -%>
|
<% } else if (typeof title != 'undefined') { -%>
|
||||||
<div class="container">
|
<article class="container">
|
||||||
<h2><%= title %></h2>
|
<h2><%= title %></h2>
|
||||||
<%- yield %>
|
<%- yield %>
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
</div>
|
<p class="fin"><i class="fa fa-code"></i></p>
|
||||||
|
</article>
|
||||||
<% } else { -%>
|
<% } else { -%>
|
||||||
<div class="container">
|
<article class="container">
|
||||||
<%- yield %>
|
<%- yield %>
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
</div>
|
<p class="fin"><i class="fa fa-code"></i></p>
|
||||||
|
</article>
|
||||||
<% } -%>
|
<% } -%>
|
||||||
|
|
||||||
<footer class="container">
|
<footer class="container">
|
||||||
|
|
|
||||||
|
|
@ -214,7 +214,6 @@ header.primary {
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
border-top: solid 1px lighten(@text, 70%);
|
|
||||||
padding: 1rem 0;
|
padding: 1rem 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: lighten(@text, 30%);
|
color: lighten(@text, 30%);
|
||||||
|
|
@ -330,8 +329,28 @@ body.projects:not(.index) .container {
|
||||||
* Posts
|
* Posts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
article header h2 {
|
article {
|
||||||
word-wrap: break-word;
|
|
||||||
|
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 {
|
blockquote {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue