1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-28 15:06:22 +01:00

layout refinements

This commit is contained in:
Matthias Kretschmann 2013-11-19 00:47:36 +01:00
parent 1b2ad18643
commit eac7a751b7
6 changed files with 49 additions and 29 deletions

View File

@ -13,17 +13,18 @@ layout: base
</figure>
</div>
<aside class="entry-meta">
<p class="byline author vcard source-org">by <a class="fn" rel="author" href="/about/">{{ page.author }}</a></p>
<p class="time">{{ page.date | date_to_string }}</p>
</aside>
<section class="entry-content">
{{ content }}
</section>
<footer class="entry-meta">
<p class="category">
{% for category in page.categories %}
<a rel="category tag" href="" title="{{ category }}">{{ category }}</a>
{% endfor %}
</p>
<p class="byline author vcard source-org"><span class="by">by</span> <a class="fn" rel="author" href="/about/">{{ page.author }}</a></p>
<p class="time">{{ page.date | date_to_string }} <span class="modtime"></span></p>
</footer>
</article>

View File

@ -9,11 +9,6 @@ layout: base
</h1>
</header>
<aside class="entry-meta">
<p class="byline author vcard source-org">by <a class="fn" rel="author" href="/about/">{{ page.author }}</a></p>
<p class="time">{{ page.date | date_to_string }}</p>
</aside>
<section class="entry-content">
{{ content }}
<p>
@ -23,6 +18,12 @@ layout: base
</section>
<footer class="entry-meta">
<p class="category">
{% for category in page.categories %}
<a rel="category tag" href="" title="{{ category }}">{{ category }}</a>
{% endfor %}
</p>
<p class="byline author vcard source-org"><span class="by">by</span> <a class="fn" rel="author" href="/about/">{{ page.author }}</a></p>
<p class="time">{{ page.date | date_to_string }} <span class="modtime"></span></p>
</footer>
</article>

View File

@ -7,11 +7,6 @@ layout: base
<h1 class="entry-title">{{ page.title }}</h1>
</header>
<aside class="entry-meta">
<p class="byline author vcard source-org">by <a class="fn" rel="author" href="/about/">{{ page.author }}</a></p>
<p class="time">{{ page.date | date_to_string }}</p>
</aside>
<section class="entry-content">
{% if page.image %}
<img src="/media/{{ page.image }}" />
@ -21,10 +16,12 @@ layout: base
</section>
<footer class="entry-meta">
<p>
<p class="category">
{% for category in page.categories %}
<a rel="category tag" href="" title="{{ category }}">{{ category }}</a>
{% endfor %}
</p>
<p class="byline author vcard source-org"><span class="by">by</span> <a class="fn" rel="author" href="/about/">{{ page.author }}</a></p>
<p class="time">{{ page.date | date_to_string }} <span class="modtime"></span></p>
</footer>
</article>

View File

@ -3,7 +3,7 @@ layout: link
title: 'Stealing Time: How Technology Can Hurt or Harm Our Inner State'
linkurl: https://www.ezeep.com/blog/stealing-time-how-technology-can-hurt-or-harm-our-quality-of-life/
author: Matthias Kretschmann Kretschmann
author: Matthias Kretschmann
date: 2013-08-07 17:05:58+00:00
wordpress_id: 2472

View File

@ -1,7 +1,7 @@
---
layout: post
title: "Welcome to Jekyll!"
author: Matthias Kretschmann Kretschmann
author: Matthias Kretschmann
date: 2013-11-17 23:56:48
categories:
- jekyll

View File

@ -62,21 +62,42 @@
/////////////////////////////////////
.entry-meta {
text-align: center;
.clearfix;
margin-top: @line-height-computed*2;
font-size: @font-size-small;
line-height: 1.3em;
text-align: left;
.byline,
.time,
time {
font-style: italic;
color: @text-color-light;
font-size: @font-size-small;
line-height: 1.4em
font-size: @font-size-mini;
@media @breakpoint2 {
text-align: right;
}
}
}
.byline {
margin-bottom: 0;
@media @breakpoint2 {
margin-top: -@line-height-computed*3;
}
a { font-style: normal; }
}
.by { display: block }
.category {
.heading-band;
a { margin-right: 1em }
}