1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-28 23:16: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> </figure>
</div> </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"> <section class="entry-content">
{{ content }} {{ content }}
</section> </section>
<footer class="entry-meta"> <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> </footer>
</article> </article>

View File

@ -9,11 +9,6 @@ layout: base
</h1> </h1>
</header> </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"> <section class="entry-content">
{{ content }} {{ content }}
<p> <p>
@ -23,6 +18,12 @@ layout: base
</section> </section>
<footer class="entry-meta"> <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> </footer>
</article> </article>

View File

@ -7,11 +7,6 @@ layout: base
<h1 class="entry-title">{{ page.title }}</h1> <h1 class="entry-title">{{ page.title }}</h1>
</header> </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"> <section class="entry-content">
{% if page.image %} {% if page.image %}
<img src="/media/{{ page.image }}" /> <img src="/media/{{ page.image }}" />
@ -21,10 +16,12 @@ layout: base
</section> </section>
<footer class="entry-meta"> <footer class="entry-meta">
<p> <p class="category">
{% for category in page.categories %} {% for category in page.categories %}
<a rel="category tag" href="" title="{{ category }}">{{ category }}</a> <a rel="category tag" href="" title="{{ category }}">{{ category }}</a>
{% endfor %} {% endfor %}
</p> </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> </footer>
</article> </article>

View File

@ -3,7 +3,7 @@ layout: link
title: 'Stealing Time: How Technology Can Hurt or Harm Our Inner State' 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/ 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 date: 2013-08-07 17:05:58+00:00
wordpress_id: 2472 wordpress_id: 2472

View File

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

View File

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