portal wiki style
This commit is contained in:
parent
1d95b2d810
commit
eb99da42d7
|
@ -506,6 +506,16 @@ abbr.dtstart, abbr.dtend {
|
||||||
#portal a:hover h4 {
|
#portal a:hover h4 {
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
#portal .wiki h4:before, #portal .wiki h4:after {
|
||||||
|
color: #999;
|
||||||
|
font-size: 120%;
|
||||||
|
}
|
||||||
|
#portal .wiki h4:before {
|
||||||
|
content: '[[';
|
||||||
|
}
|
||||||
|
#portal .wiki h4:after {
|
||||||
|
content: ']]';
|
||||||
|
}
|
||||||
|
|
||||||
/* -- Calendar -- */
|
/* -- Calendar -- */
|
||||||
table.calendar {
|
table.calendar {
|
||||||
|
|
|
@ -55,10 +55,10 @@
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="atom:entry" mode="wiki">
|
<xsl:template match="atom:entry" mode="wiki">
|
||||||
<item date="{atom:updated}">
|
<item date="{atom:updated}" class="wiki">
|
||||||
<header>C3D2 Wiki</header>
|
<header>C3D2 Wiki</header>
|
||||||
<footer>by <xsl:value-of select="atom:author/atom:name"/></footer>
|
<footer>by <xsl:value-of select="atom:author/atom:name"/></footer>
|
||||||
<content-text>[[<xsl:value-of select="atom:title"/>]]</content-text>
|
<content-text><xsl:value-of select="atom:title"/></content-text>
|
||||||
<link><xsl:value-of select="atom:link[@rel='alternate'][1]/@href"/></link>
|
<link><xsl:value-of select="atom:link[@rel='alternate'][1]/@href"/></link>
|
||||||
</item>
|
</item>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
|
@ -321,6 +321,10 @@
|
||||||
|
|
||||||
<xsl:template match="/page/portal/item">
|
<xsl:template match="/page/portal/item">
|
||||||
<article>
|
<article>
|
||||||
|
<xsl:if test="@class">
|
||||||
|
<xsl:attribute name="class"><xsl:value-of select="@class"/></xsl:attribute>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
<a href="{link}">
|
<a href="{link}">
|
||||||
<xsl:if test="content-image">
|
<xsl:if test="content-image">
|
||||||
<xsl:attribute name="style">
|
<xsl:attribute name="style">
|
||||||
|
|
Loading…
Reference in New Issue