aboutsummaryrefslogtreecommitdiff
path: root/source/99_result
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-10-27 19:04:46 +0100
committerAdrian Kummerlaender2014-10-27 19:04:46 +0100
commitcfd6b4a83fbe60c8a37f9e11d51db84da244683e (patch)
tree8d9f65942c7fffc4f4c5a7edbec54ca4c27061ab /source/99_result
parent9b376ec4e2b50a9ba23de0338a0f7ee692fd8869 (diff)
downloadOverview-cfd6b4a83fbe60c8a37f9e11d51db84da244683e.tar
Overview-cfd6b4a83fbe60c8a37f9e11d51db84da244683e.tar.gz
Overview-cfd6b4a83fbe60c8a37f9e11d51db84da244683e.tar.bz2
Overview-cfd6b4a83fbe60c8a37f9e11d51db84da244683e.tar.lz
Overview-cfd6b4a83fbe60c8a37f9e11d51db84da244683e.tar.xz
Overview-cfd6b4a83fbe60c8a37f9e11d51db84da244683e.tar.zst
Overview-cfd6b4a83fbe60c8a37f9e11d51db84da244683e.zip
Improved CSS styling and added subdomain links
Diffstat (limited to 'source/99_result')
-rw-r--r--source/99_result/main.css18
-rw-r--r--source/99_result/overview.xsl25
2 files changed, 27 insertions, 16 deletions
diff --git a/source/99_result/main.css b/source/99_result/main.css
index 9408c1f..d68c654 100644
--- a/source/99_result/main.css
+++ b/source/99_result/main.css
@@ -1,23 +1,23 @@
-body{font:1em Droid Sans,sans-serif,Verdana,Arial,FreeSans;color:#272828}
+body{font:1em Droid Sans,Verdana,Arial,sans-serif,FreeSans;color:#272828}
#content{max-width:45em;margin:auto}
a{text-decoration:underline;color:#272828}
a:hover{color:black}
-h1{margin:.5em 0;border-bottom:.2em solid #e3e8e8}
-h2{margin:0;font-size:1.3em;color:#272828;font-weight:bold}
-h2 a{text-decoration:none}
+h1, h2{margin:0;color:#272828;font-weight:bold}
+h1 a, h2 a{text-decoration:none}
h3{font-size:1.2em;color:#F80;font-weight:bold;margin-bottom:.2em;border-bottom:.1em solid #e3e8e8}
h3 span{font-size:0.9em;color:#272828;font-weight:normal}
h3 a{text-decoration:none}
p{margin:0 0 .5em 0;text-align:justify}
ul{margin:0;text-align:justify}
ul li{list-style-type:circle}
-dt {float:left;clear:left;width:7em}
-dd {padding-bottom:0.75em}
.info{font-size:.8em;margin-bottom:.5em;display:block}
.info a{margin:0 .1em 0 .1em}
-.menuhead{border-bottom:0.2em solid #e3e8e8;overflow:hidden;padding-top:1.5em}
-.menuhead h2{float:left}
+.large{font-size:1.8em}
+.normal{font-size:1.2em}
+.menuhead{border-bottom:0.2em solid #e3e8e8;overflow:hidden;padding:1.5em 0 .2em}
+.menuhead h1{float:left;font-size:1em}
+.menuhead h2{float:left;font-size:1em}
.menuhead ul {float:right}
-.menuhead ul li{float:left;list-style-type:none;padding:0 .2em}
+.menuhead ul li{font-size:.9em;float:left;list-style-type:none;padding:0 0 0 .2em}
.menuhead ul li a{text-decoration:none;color:#272828;background:#e3e8e8;border-radius:.3em;padding:.2em}
.menuhead ul li a:hover{text-decoration:underline}
diff --git a/source/99_result/overview.xsl b/source/99_result/overview.xsl
index dbd77f1..b2a8d93 100644
--- a/source/99_result/overview.xsl
+++ b/source/99_result/overview.xsl
@@ -112,21 +112,32 @@
<xsl:template match="datasource">
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+ <meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<title>
<xsl:value-of select="$root/meta/title"/>
</title>
- <link rel="stylesheet" type="text/css" href="/main.css" />
+ <link rel="stylesheet" type="text/css" href="/main.css"/>
</head>
<body>
<div id="content">
- <h1>
- <xsl:value-of select="$root/meta/title"/>
- </h1>
+ <div class="large menuhead">
+ <h1>
+ <xsl:value-of select="$root/meta/title"/>
+ </h1>
+ <ul>
+ <li>
+ <a href="http://blog.kummerlaender.eu">blog</a>
+ </li>
+ <li>
+ <a href="http://code.kummerlaender.eu">code</a>
+ </li>
+ </ul>
+ </div>
- <div class="menuhead">
+ <div class="normal menuhead">
<h2>
<a href="http://blog.kummerlaender.eu">
<xsl:text>Latest articles</xsl:text>
@@ -144,7 +155,7 @@
<xsl:apply-templates select="articles/entry"/>
- <div class="menuhead">
+ <div class="normal menuhead">
<h2>
<a href="http://code.kummerlaender.eu">
<xsl:text>Latest commits</xsl:text>