aboutsummaryrefslogtreecommitdiff
path: root/source/99_result/archive.xsl
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-10-29 23:28:41 +0100
committerAdrian Kummerlaender2014-10-29 23:28:41 +0100
commit671083eaf309888525e857cf4883cafb353d9887 (patch)
treed17241c1481599d693c2cd265f67de4b2db6b26f /source/99_result/archive.xsl
parente37a4a5a4d2a1df82dbe4658317dbab2d0df7e31 (diff)
downloadblog.kummerlaender.eu-671083eaf309888525e857cf4883cafb353d9887.tar
blog.kummerlaender.eu-671083eaf309888525e857cf4883cafb353d9887.tar.gz
blog.kummerlaender.eu-671083eaf309888525e857cf4883cafb353d9887.tar.bz2
blog.kummerlaender.eu-671083eaf309888525e857cf4883cafb353d9887.tar.lz
blog.kummerlaender.eu-671083eaf309888525e857cf4883cafb353d9887.tar.xz
blog.kummerlaender.eu-671083eaf309888525e857cf4883cafb353d9887.tar.zst
blog.kummerlaender.eu-671083eaf309888525e857cf4883cafb353d9887.zip
Removed remnants of layout iteration and cleaned CSS
* both the CSS and master template markup contained cruft from the previous blog version and its slightly different layout * removed unnecessary distinction between footer and its _taglist_ as the old footer element is now only a _taglist_ ** promoted previous `last_line` to `footer` as it is the actual footer * unified the different list styles as much as possible ** e.g. introduced new `topline` attribute instead of declaring the title-separator line for each style separately ** removed `taglist` class by declaring its rules directly in the `tags` id ** removed now unnecessary `archivtag` class ** introduced `sparselist` class which enables list such as the one contained the latest microblog entries to have extra padding * merged `list_tags` helper template into primary master template ** this separation was not only unnecessary but decreased the readability as it provided no real encapsulation
Diffstat (limited to 'source/99_result/archive.xsl')
-rw-r--r--source/99_result/archive.xsl8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/99_result/archive.xsl b/source/99_result/archive.xsl
index 5694779..31d8354 100644
--- a/source/99_result/archive.xsl
+++ b/source/99_result/archive.xsl
@@ -25,16 +25,18 @@
<xsl:template match="articles">
<div class="column articlelist archivlist">
<xsl:text>Past articles:</xsl:text>
- <ol>
+
+ <ol class="topline">
<xsl:apply-templates select="entry"/>
</ol>
</div>
</xsl:template>
<xsl:template match="microblog">
- <div class="column taglist archivtag">
+ <div class="column">
<a href="https://twitter.com/KnairdA">Microblog:</a>
- <ul class="prettylist">
+
+ <ul class="prettylist sparselist topline">
<xsl:apply-templates select="item[substring(text, 1, 1) != '@'][position() &lt;= 9]" />
</ul>
</div>