Commit dfae5242 authored by bperraud's avatar bperraud

Fix ToC styling

parent cbd59fcd
...@@ -65,6 +65,7 @@ Known bugs ...@@ -65,6 +65,7 @@ Known bugs
* Nested ul in ol are sometimes converted to ol. * Nested ul in ol are sometimes converted to ol.
* It seems that FS doesn't support the max-width for img tags, which makes proper scaling harder. * It seems that FS doesn't support the max-width for img tags, which makes proper scaling harder.
* ToC lines rendering is sometimes ugly if the title label is too long.
Generic Todo Generic Todo
------------ ------------
......
...@@ -127,8 +127,9 @@ ul.toc.level5 > li {padding-left: 15mm;} ...@@ -127,8 +127,9 @@ ul.toc.level5 > li {padding-left: 15mm;}
ul.toc.level6 > li {padding-left: 17mm;} ul.toc.level6 > li {padding-left: 17mm;}
ul.toc > li > a::after { ul.toc > li > a::after {
/*left: 0;*/
content: leader(dotted) target-counter(attr(href), page); content: leader(dotted) target-counter(attr(href), page);
text-decoration: none;
color: black;
} }
/* Main Title formatting */ /* Main Title formatting */
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<!-- Ajout de l'attribut lang --> <!-- Ajout de l'attribut lang -->
<xsl:template match="html"> <xsl:template match="html">
<html lang="fr"> <html lang="fr" xml:lang="fr">
<xsl:apply-templates/> <xsl:apply-templates/>
</html> </html>
</xsl:template> </xsl:template>
......
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