diff options
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.xsl | 8 |
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() <= 9]" /> </ul> </div> |