datenspuren: CSS fixes

This commit is contained in:
Astro 2010-06-28 19:18:25 +02:00
parent 754cbbda6b
commit c7657dfd9f
2 changed files with 81 additions and 50 deletions

View File

@ -103,7 +103,6 @@ ul {
text-decoration: none; text-decoration: none;
border-bottom-style: solid; border-bottom-style: solid;
border-bottom-width: 1px; border-bottom-width: 1px;
/* See color-scheme.css */
} }
#bodyText a:hover { #bodyText a:hover {
@ -127,7 +126,7 @@ ul {
height: 128px; height: 128px;
} }
h1 { #header h1 {
position: absolute; position: absolute;
top: 1.2ex; top: 1.2ex;
left: 9ex; left: 9ex;
@ -138,7 +137,7 @@ h1 {
line-height: 1em; line-height: 1em;
} }
h2 { #header h2 {
position: absolute; position: absolute;
top: 4.5ex; top: 4.5ex;
left: 25ex; left: 25ex;
@ -160,26 +159,35 @@ h2 {
font-weight: bold; font-weight: bold;
} }
.leftSideBar a, .leftSideBar span { .leftSideBar ul {
margin: 0;
margin-bottom: 2em;
padding: 0;
}
.leftSideBar ul li {
text-decoration: none; text-decoration: none;
line-height: 2em; line-height: 2em;
padding: 2ex 2ex 0ex; padding: 2ex 2ex 0ex;
display: block; display: block;
font-size: 12px; font-size: 12px;
list-item-style: none;
} }
[class~="leftSideBar"] a, [class~="leftSideBar"] span { .leftSideBar ul li a {
line-height: 2em; text-decoration: none;
} }
.leftSideBar a:hover { .leftSideBar ul li.dense {
/* See color-scheme.css */ padding: 2ex 2ex 0ex;
line-height: 1em;
} }
.leftSideBar .sideBarTitle { .leftSideBar h2 {
font-weight: bold; font-weight: bold;
padding: 0.75ex 1ex; padding: 0.75ex 1ex;
letter-spacing: 2px; letter-spacing: 2px;
font-size: 100%;
} }
.leftSideBar .sideBarText { .leftSideBar .sideBarText {
@ -187,8 +195,7 @@ h2 {
padding: 1ex 0.75ex 1ex 1ex; padding: 1ex 0.75ex 1ex 1ex;
} }
.leftSideBar .thisPage { .leftSideBar .active {
/* See color-scheme.css */
} }
/* ###### Footer ###### */ /* ###### Footer ###### */
@ -245,17 +252,17 @@ h2 {
/* ###### Text Colors ###### */ /* ###### Text Colors ###### */
/*h1,*/ #bodyText a, .leftSideBar a, .leftSideBar span, /*h1,*/ #bodyText a, .leftSideBar ul li a, .leftSideBar ul li,
.dateheader { color: /*#443d35;*/ #738B5D; } .dateheader { color: /*#443d35;*/ #738B5D; }
h1, h2, p.title, h1, h2, p.title,
.headerLinks *, .menuBar a:hover .headerLinks *, .menuBar a:hover
{ color: /* #443d35; #5179a3; */ #96cc62; } { color: /* #443d35; #5179a3; */ #96cc62; }
.leftSideBar .sideBarTitle, .leftSideBar .thisPage, #footer * .leftSideBar h2, /*.leftSideBar .active,*/ #footer *
{ color: white; } { color: white; }
.leftSideBar a:hover .leftSideBar ul li a:hover
{ color: #435B2D; } { color: #435B2D; }
@ -272,7 +279,7 @@ body
#header #header
{ background-color: white; border-color: #736d78; } { background-color: white; border-color: #736d78; }
.leftSideBar .sideBarTitle, .sideBarTitle, #footer .leftSideBar h2, #footer
{ background-color: #A0C47E; } { background-color: #A0C47E; }
.leftSideBar .leftSideBar

View File

@ -170,43 +170,67 @@
</div> </div>
<div class="leftSideBar"> <div class="leftSideBar">
<div class="sideBarTitle">Termin</div> <h2>Termin</h2>
<span> <ul>
Samstag &amp; Sonntag,<br /> <li>
16. &amp; 17. Oktober 2010<br /><br /></span> Samstag &amp; Sonntag,<br/>
16. &amp; 17. Oktober 2010
</li>
<li>Eintritt frei</li>
</ul>
<div class="sideBarTitle">Ort</div> <h2>Ort</h2>
<a href="http://www.scheune.org/">Kulturzentrum Scheune</a> <ul>
<span> <li><a href="http://www.scheune.org/">Kulturzentrum Scheune</a></li>
Alaunstr. 36-40<br /> <li>
01099 Dresden<br /><a href="veranstaltungsort.html">[mehr...]</a><br /></span> Alaunstr. 36-40<br/>
01099 Dresden
</li>
<li><a href="veranstaltungsort.html">[mehr...]</a></li>
</ul>
<div class="sideBarTitle">Symposium</div> <h2>Symposium</h2>
<ul>
<li>
<xsl:call-template name="navigation-link"> <xsl:call-template name="navigation-link">
<xsl:with-param name="page">index</xsl:with-param> <xsl:with-param name="page">index</xsl:with-param>
</xsl:call-template> </xsl:call-template>
</li>
<li>
<xsl:call-template name="navigation-link"> <xsl:call-template name="navigation-link">
<xsl:with-param name="page">info</xsl:with-param> <xsl:with-param name="page">info</xsl:with-param>
</xsl:call-template> </xsl:call-template>
</li>
<li>
<xsl:call-template name="navigation-link"> <xsl:call-template name="navigation-link">
<xsl:with-param name="page">ort</xsl:with-param> <xsl:with-param name="page">ort</xsl:with-param>
</xsl:call-template> </xsl:call-template>
</li>
<li>
<xsl:call-template name="navigation-link"> <xsl:call-template name="navigation-link">
<xsl:with-param name="page">fahrplan</xsl:with-param> <xsl:with-param name="page">fahrplan</xsl:with-param>
</xsl:call-template> </xsl:call-template>
</li>
<li>
<xsl:call-template name="navigation-link"> <xsl:call-template name="navigation-link">
<xsl:with-param name="page">mitschnitte</xsl:with-param> <xsl:with-param name="page">mitschnitte</xsl:with-param>
</xsl:call-template> </xsl:call-template>
</li>
<li>
<xsl:call-template name="navigation-link"> <xsl:call-template name="navigation-link">
<xsl:with-param name="page">wikis</xsl:with-param> <xsl:with-param name="page">wikis</xsl:with-param>
</xsl:call-template> </xsl:call-template>
</li>
</ul>
<br /> <ul>
<br /> <li><a href="2009/">2009</a></li>
<a href="2004/">2004</a> <li><a href="2008/">2008</a></li>
<a href="2005/">2005</a> <li><a href="2007/">2007</a></li>
<a href="2006/">2006</a> <li><a href="2006/">2006</a></li>
<br /> <li><a href="2005/">2005</a></li>
<li><a href="2004/">2004</a></li>
</ul>
</div> </div>
</xsl:template> </xsl:template>
@ -217,7 +241,7 @@
select="document(concat('../../content/datenspuren/', $page, '.xml'))/page/@title"/> select="document(concat('../../content/datenspuren/', $page, '.xml'))/page/@title"/>
<a href="{$page}.html"> <a href="{$page}.html">
<xsl:if test="$title = /page/@title"> <xsl:if test="$title = /page/@title">
<xsl:attribute name="id">active</xsl:attribute> <xsl:attribute name="class">active</xsl:attribute>
</xsl:if> </xsl:if>
<xsl:value-of select="$title"/> <xsl:value-of select="$title"/>
</a> </a>