fixes for HTML5 semantic block-level elements
This commit is contained in:
parent
8db3bf8c74
commit
6e8b84a935
|
@ -779,3 +779,9 @@ a.flattr:hover {
|
|||
text-decoration: none;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
/* CSS reset for deficient HTML5 support */
|
||||
article,aside,details,figcaption,figure,
|
||||
footer,header,hgroup,menu,nav,section {
|
||||
display: block;
|
||||
}
|
|
@ -161,7 +161,7 @@
|
|||
|
||||
<xsl:template name="chaosupdates">
|
||||
<xsl:param name="limit" select="5"/>
|
||||
<div id="news">
|
||||
<div id="news"><aside>
|
||||
<h2>
|
||||
<a href="{document('../chaosupdates.xml')/atom:feed/atom:link[not(@rel = 'self')]/@href}">
|
||||
<xsl:value-of select="document('../chaosupdates.xml')/atom:feed/atom:title"/>
|
||||
|
@ -176,13 +176,13 @@
|
|||
</li>
|
||||
</xsl:for-each>
|
||||
</ul>
|
||||
</div> <!-- id="news" -->
|
||||
</aside></div> <!-- id="news" -->
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="calendar-events">
|
||||
<xsl:param name="limit" select="5"/>
|
||||
<xsl:if test="document('../calendar-summary.xml')/page/calendar-summary/event[date:seconds(end) >= date:seconds(date:date())]">
|
||||
<div id="upcoming">
|
||||
<div id="upcoming"><aside>
|
||||
<h2>
|
||||
<a href="{$baseurl}calendar.html">Kalender</a>
|
||||
</h2>
|
||||
|
@ -214,7 +214,7 @@
|
|||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
</ul>
|
||||
</div>
|
||||
</aside></div>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
|
|
|
@ -147,7 +147,6 @@
|
|||
</xsl:call-template>
|
||||
</div> <!-- id="content" -->
|
||||
|
||||
<aside>
|
||||
<!-- ### News ### -->
|
||||
<xsl:comment>
|
||||
<xsl:text> ### News ### </xsl:text>
|
||||
|
@ -156,7 +155,6 @@
|
|||
<xsl:call-template name="calendar-events" />
|
||||
|
||||
<xsl:call-template name="chaosupdates" />
|
||||
</aside>
|
||||
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
|
|
Loading…
Reference in New Issue