Commit 045926f8 authored by Asus-PC's avatar Asus-PC

css

parent 49c0555e
.border-top-bot{
border-top : 1px solid black;
border-bottom : 1px solid black;
}
\ No newline at end of file
......@@ -155,7 +155,7 @@
</target>
<target name="CleanTmp">
<delete dir="${tmp}" failonerror="false"/>
<!--<delete dir="${tmp}" failonerror="false"/>-->
</target>
</project>
......@@ -66,116 +66,99 @@
<xsl:template match="h6" priority="3"/>
<xsl:template match="//div[@data-hdoc-type='remark']" priority="4">
<div class="noCut">
<h3>
<xsl:if test="h6">
<span class="textTitle"><xsl:value-of select="h6"/></span>
</xsl:if>
<span class="title">Remarque</span>
</h3>
<div class="border">
<xsl:apply-templates/>
</div>
<xsl:template match="//div[@data-hdoc-type='emphasis']" priority="4">
<h3>
Fondamental :
<xsl:if test="h6">
<xsl:value-of select="h6"/>
</xsl:if>
</h3>
<div class="border-top-bot">
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="//div[@data-hdoc-type='emphasis']" priority="4">
<div class="noCut">
<h3>
<xsl:if test="h6">
<span class="textTitle"><xsl:value-of select="h6"/></span>
</xsl:if>
<span class="title">Fondamental</span>
</h3>
<div class="border">
<xsl:apply-templates/>
</div>
<xsl:template match="//div[@data-hdoc-type='definition']" priority="4">
<h3>
Définition :
<xsl:if test="h6">
<xsl:value-of select="h6"/>
</xsl:if>
</h3>
<div class="border-top-bot">
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="//div[@data-hdoc-type='remark']" priority="4">
<h3>
Remarque :
<xsl:if test="h6">
<xsl:value-of select="h6"/>
</xsl:if>
</h3>
<div>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="//div[@data-hdoc-type='complement']" priority="4">
<div class="noCut">
<h3>
<xsl:if test="h6">
<span class="textTitle"><xsl:value-of select="h6"/></span>
</xsl:if>
<span class="title">Complément</span>
</h3>
<div class="border">
<xsl:apply-templates/>
</div>
<h3>
Complément :
<xsl:if test="h6">
<xsl:value-of select="h6"/>
</xsl:if>
</h3>
<div>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="//div[@data-hdoc-type='example']" priority="4">
<div class="noCut">
<h3>
<xsl:if test="h6">
<span class="textTitle"><xsl:value-of select="h6"/></span>
</xsl:if>
<span class="title">Example</span>
</h3>
<div class="border">
<xsl:apply-templates/>
</div>
<h3>
Exemple :
<xsl:if test="h6">
<xsl:value-of select="h6"/>
</xsl:if>
</h3>
<div>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="//div[@data-hdoc-type='syntax']" priority="4">
<div class="noCut">
<h3>
<xsl:if test="h6">
<span class="textTitle"><xsl:value-of select="h6"/></span>
</xsl:if>
<span class="title">Syntaxe</span>
</h3>
<div class="border">
<xsl:apply-templates/>
</div>
<h3>
Syntaxe :
<xsl:if test="h6">
<xsl:value-of select="h6"/>
</xsl:if>
</h3>
<div>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="//div[@data-hdoc-type='warning']" priority="4">
<div class="noCut">
<h3 class="warning">
<h3>
Attention :
<xsl:if test="h6">
<span class="textTitle"><xsl:value-of select="h6"/></span>
<xsl:value-of select="h6"/>
</xsl:if>
<span class="title">Attention</span>
</h3>
<div class="borderWarning">
<xsl:apply-templates/>
</div>
</h3>
<div>
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="//div[@data-hdoc-type='advice']" priority="4">
<div class="noCut">
<h3>
<xsl:if test="h6">
<span class="textTitle"><xsl:value-of select="h6"/></span>
</xsl:if>
<span class="title">Conseil</span>
</h3>
<div class="border">
<xsl:apply-templates/>
</div>
</div>
</xsl:template>
<xsl:template match="//div[@data-hdoc-type='definition']" priority="4">
<div class="noCut">
<h3>
<xsl:if test="h6">
<span class="textTitle"><xsl:value-of select="h6"/></span>
</xsl:if>
<span class="title">Définition</span>
</h3>
<div class="border">
<xsl:apply-templates/>
</div>
<h3>
Conseil :
<xsl:if test="h6">
<xsl:value-of select="h6"/>
</xsl:if>
</h3>
<div>
<xsl:apply-templates/>
</div>
</xsl:template>
......@@ -184,11 +167,10 @@
</xsl:template>
<xsl:template match="//img" priority="4">
<xsl:element name="img">
<img width="300px">
<xsl:attribute name="src">../images/<xsl:value-of select="./@alt"/></xsl:attribute>
<xsl:attribute name="alt"><xsl:value-of select="./@alt"/></xsl:attribute>
<xsl:attribute name="width">300px</xsl:attribute>
</xsl:element>
</img>
</xsl:template>
<xsl:template match="//a[not(starts-with(@href,'http'))]" priority="4">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment