fix images & title styling
This commit is contained in:
parent
3b39dd4bfc
commit
19e55b4569
@ -624,7 +624,12 @@ there.
|
|||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4 {
|
h1, h2, h3, h4 {
|
||||||
margin-top: 2rem;
|
margin-top: 5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|||||||
@ -586,8 +586,8 @@
|
|||||||
<!-- hide any attributes that are not explicitly handled -->
|
<!-- hide any attributes that are not explicitly handled -->
|
||||||
<xsl:template match="@*"/>
|
<xsl:template match="@*"/>
|
||||||
|
|
||||||
<xsl:template match="@id">
|
<xsl:template match="@id | @src | @alt">
|
||||||
<!-- copy all ids! -->
|
<!-- copy these! -->
|
||||||
<xsl:copy/>
|
<xsl:copy/>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
@ -596,23 +596,12 @@
|
|||||||
<xsl:apply-templates/>
|
<xsl:apply-templates/>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="br | p | ul | ol | li | pre | div">
|
<xsl:template match="br | p | ul | ol | li | pre | div | img">
|
||||||
<xsl:copy copy-namespaces="no">
|
<xsl:copy copy-namespaces="no">
|
||||||
<xsl:apply-templates select="@* | node()"/>
|
<xsl:apply-templates select="@* | node()"/>
|
||||||
</xsl:copy>
|
</xsl:copy>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
||||||
<!--<!-\- special case for p in summary table to avoid checkiflast - all other elements can ignore mode -\->
|
|
||||||
<xsl:template match="*" mode="summarytable">
|
|
||||||
<xsl:apply-templates select="."/>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<!-\- p is more specific so has higher prio -\->
|
|
||||||
<xsl:template match="p" mode="summarytable">
|
|
||||||
<xsl:apply-templates mode="summarytable"/>
|
|
||||||
</xsl:template>-->
|
|
||||||
|
|
||||||
<xsl:template match="a">
|
<xsl:template match="a">
|
||||||
<xsl:variable name="destination">
|
<xsl:variable name="destination">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user