aboutsummaryrefslogtreecommitdiff
path: root/source/99_result/category
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-03-22 17:13:48 +0100
committerAdrian Kummerlaender2015-03-22 17:13:48 +0100
commitc0f62e958c5be315faf3c62c8bb1a2480025f52b (patch)
tree884843ab37a9c111af5c1c8f11148591324f65d6 /source/99_result/category
parentf9bfffbedc109c2936d1c08512733ca0194f5598 (diff)
downloadblog.kummerlaender.eu-c0f62e958c5be315faf3c62c8bb1a2480025f52b.tar
blog.kummerlaender.eu-c0f62e958c5be315faf3c62c8bb1a2480025f52b.tar.gz
blog.kummerlaender.eu-c0f62e958c5be315faf3c62c8bb1a2480025f52b.tar.bz2
blog.kummerlaender.eu-c0f62e958c5be315faf3c62c8bb1a2480025f52b.tar.lz
blog.kummerlaender.eu-c0f62e958c5be315faf3c62c8bb1a2480025f52b.tar.xz
blog.kummerlaender.eu-c0f62e958c5be315faf3c62c8bb1a2480025f52b.tar.zst
blog.kummerlaender.eu-c0f62e958c5be315faf3c62c8bb1a2480025f52b.zip
Revamped layout to be more minimalistic and readable
* removed background image and as such it's fixed pixel width ** i.e. the layout is now completely dependent on the basic font size and scales accordingly * revamped master template and CSS to allow for nodes with varying lengths instead of truncating everything depending on the background width * increased font size of tag and archive pages * increased overall line height to improve readability * improved CSS to e.g. make use of `last-child` instead of adding `last` classes during static site generation * removed _microblog_ entries from archive as I have more or less stopped using _Twitter_
Diffstat (limited to 'source/99_result/category')
-rw-r--r--source/99_result/category/category.xsl27
1 files changed, 14 insertions, 13 deletions
diff --git a/source/99_result/category/category.xsl b/source/99_result/category/category.xsl
index e0532aa..adbf98b 100644
--- a/source/99_result/category/category.xsl
+++ b/source/99_result/category/category.xsl
@@ -20,25 +20,14 @@
<xsl:value-of select="/datasource/category/entry/@handle"/>
</xsl:template>
-<xsl:template match="entry/page">
- <li>
- <em>»</em>
- <a href="/page/{@handle}">
- <strong><xsl:value-of select="title"/></strong>
- <p>
- <xsl:apply-templates select="digest/node()" mode="xhtml"/>
- </p>
- </a>
- </li>
-</xsl:template>
-
<xsl:template match="category/entry">
<h3>
<xsl:text>All pages categorized as &#187;</xsl:text>
<xsl:value-of select="@handle"/>
<xsl:text>&#171;</xsl:text>
</h3>
- <div class="archiv columns">
+
+ <div class="columns">
<ul class="prettylist">
<xsl:apply-templates select="page">
<xsl:sort select="digest/@size" data-type="number" order="descending"/>
@@ -47,4 +36,16 @@
</div>
</xsl:template>
+<xsl:template match="entry/page">
+ <li>
+ <em>»</em>
+ <a href="/page/{@handle}">
+ <strong><xsl:value-of select="title"/></strong>
+ <p>
+ <xsl:apply-templates select="digest/node()" mode="xhtml"/>
+ </p>
+ </a>
+ </li>
+</xsl:template>
+
</xsl:stylesheet>