aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-10-31 15:08:25 +0100
committerAdrian Kummerlaender2014-10-31 15:08:25 +0100
commit97a3ad864bc857313f906131be7367a77a9793af (patch)
treeea39f91c80a323c44f26b70954f98c0394d7c6d5
parent7b8283ff353ac526597f3761a94d887bc5144381 (diff)
downloadblog.kummerlaender.eu-97a3ad864bc857313f906131be7367a77a9793af.tar
blog.kummerlaender.eu-97a3ad864bc857313f906131be7367a77a9793af.tar.gz
blog.kummerlaender.eu-97a3ad864bc857313f906131be7367a77a9793af.tar.bz2
blog.kummerlaender.eu-97a3ad864bc857313f906131be7367a77a9793af.tar.lz
blog.kummerlaender.eu-97a3ad864bc857313f906131be7367a77a9793af.tar.xz
blog.kummerlaender.eu-97a3ad864bc857313f906131be7367a77a9793af.tar.zst
blog.kummerlaender.eu-97a3ad864bc857313f906131be7367a77a9793af.zip
Separated tag links using spaces instead of CSS margins
* the former also works when CSS is not supported while the latter leads to unseparated tag links
-rw-r--r--source/01_data/articles.xsl4
-rw-r--r--source/99_result/article/article.xsl1
-rw-r--r--source/99_result/main.css4
-rw-r--r--source/99_result/stream.xsl1
4 files changed, 7 insertions, 3 deletions
diff --git a/source/01_data/articles.xsl b/source/01_data/articles.xsl
index fa83ee5..e207117 100644
--- a/source/01_data/articles.xsl
+++ b/source/01_data/articles.xsl
@@ -19,7 +19,9 @@
<xsl:param name="path"/>
<xsl:for-each select="$root/files/directory[@name = 'tags']/*[./file/full = $path]">
- <tag><xsl:value-of select="@name"/></tag>
+ <tag>
+ <xsl:value-of select="@name"/>
+ </tag>
</xsl:for-each>
</xsl:template>
diff --git a/source/99_result/article/article.xsl b/source/99_result/article/article.xsl
index 8d3954e..37e2fda 100644
--- a/source/99_result/article/article.xsl
+++ b/source/99_result/article/article.xsl
@@ -37,6 +37,7 @@
<a href="/tag/{.}">
<xsl:value-of select="."/>
</a>
+ <xsl:text> </xsl:text>
</xsl:for-each>
<xsl:text> | </xsl:text>
<xsl:value-of select="$root/meta/author"/>
diff --git a/source/99_result/main.css b/source/99_result/main.css
index b863fdf..27e62df 100644
--- a/source/99_result/main.css
+++ b/source/99_result/main.css
@@ -13,7 +13,7 @@ pre{padding:1em;border-radius:.75em;color:#f8f8f2;background:#272822;white-space
#navigation h1{color:#F80;font-size:1.2em;font-weight:normal;float:left;padding:.2em;padding-left:0;margin:0}
#main{overflow:hidden}
#main .article{border-bottom:.3em dotted #e3e8e8;padding-bottom:.5em;margin-top:1em;text-align:justify}
-#main .last{border:0}
+#main .last{border:none}
#main p{margin-bottom:.7em;text-align:justify}
#main h2{font-size:1.4em;margin:0;color:#F80}
#main h2 a{font-size:.8em;text-decoration:none !important;color:#272828;font-weight:normal;display:inline-block;vertical-align:middle;max-width:95%}
@@ -25,7 +25,7 @@ pre{padding:1em;border-radius:.75em;color:#f8f8f2;background:#272822;white-space
#main .article ul li{list-style-type:circle;float:none}
#main .article ul li a{background:0}
#main .article .info{font-size:.8em;margin-bottom:.5em;margin-left:1.5em}
-#main .article .info a{text-decoration:none;color:#272828;margin:0 .1em 0 .1em}
+#main .article .info a{text-decoration:none;color:#272828}
#main .article .info a:hover{text-decoration:underline}
#main .article table{border-collapse:collapse;border-left:.4em solid #e3e8e8;margin:1em}
#main .article table thead{border-bottom:.1em solid #272828}
diff --git a/source/99_result/stream.xsl b/source/99_result/stream.xsl
index 5764461..5d2218c 100644
--- a/source/99_result/stream.xsl
+++ b/source/99_result/stream.xsl
@@ -49,6 +49,7 @@
<a href="/tag/{.}">
<xsl:value-of select="."/>
</a>
+ <xsl:text> </xsl:text>
</xsl:for-each>
<xsl:text> | </xsl:text>
<xsl:value-of select="$root/meta/author"/>