Commit cd705bd9 authored by bperraud's avatar bperraud

delete of tags for the output, fix some css properties (eg for a links)

parent 851af97d
...@@ -45,14 +45,21 @@ ...@@ -45,14 +45,21 @@
@bottom-center { content: counter(page) } @bottom-center { content: counter(page) }
} }
body { html, body {
padding: 0;
margin: 0; margin: 0;
height: auto;
} }
* { * {
font-family: "CMU Serif"; font-family: "CMU Serif";
} }
a {
text-decoration: none;
color: black;
}
p { p {
text-align: justify; text-align: justify;
text-indent: 2em; text-indent: 2em;
...@@ -62,6 +69,8 @@ p { ...@@ -62,6 +69,8 @@ p {
word-break: normal; word-break: normal;
} }
span[data-hdoc-type="syntax"] {font-family: "CMU Typewriter Text"}
h1 {font-size: 2em} h1 {font-size: 2em}
h2 {font-size: 1.6em} h2 {font-size: 1.6em}
h3 {font-size: 1.4em} h3 {font-size: 1.4em}
...@@ -77,26 +86,11 @@ h6 {font-style: italic} ...@@ -77,26 +86,11 @@ h6 {font-style: italic}
body {counter-reset: h2} body {counter-reset: h2}
h2 {counter-reset: h3} h2 {counter-reset: h3}
h3 {counter-reset: h4} h3 {counter-reset: h4}
/*
h4 {counter-reset: h5}
h5 {counter-reset: h6}
*/
h2::before {counter-increment: h2; content: counter(h2) ".\0000a0\0000a0"} h2::before {counter-increment: h2; content: counter(h2) ".\0000a0\0000a0"}
h3::before {counter-increment: h3; content: counter(h2) "." counter(h3) ".\0000a0\0000a0"} h3::before {counter-increment: h3; content: counter(h2) "." counter(h3) ".\0000a0\0000a0"}
h4::before {counter-increment: h4; content: counter(h2) "." counter(h3) "." counter(h4) ".\0000a0\0000a0"} h4::before {counter-increment: h4; content: counter(h2) "." counter(h3) "." counter(h4) ".\0000a0\0000a0"}
/*
h5::before {counter-increment: h5; content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) ".\0000a0\0000a0"}
h6::before {counter-increment: h6; content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6) ".\0000a0\0000a0"}
*/
/*
h2.nocount:before,
h3.nocount:before,
h4.nocount:before,
h5.nocount:before,
h6.nocount:before { content: ""; counter-increment: none }
*/
h2.nocount:before, h2.nocount:before,
h3.nocount:before, h3.nocount:before,
h4.nocount:before { content: ""; counter-increment: none } h4.nocount:before { content: ""; counter-increment: none }
...@@ -158,11 +152,6 @@ ul.toc.level2 > li { ...@@ -158,11 +152,6 @@ ul.toc.level2 > li {
ul.toc.level3 > li {padding-left: 11mm} ul.toc.level3 > li {padding-left: 11mm}
ul.toc.level4 > li {padding-left: 13mm} ul.toc.level4 > li {padding-left: 13mm}
ul.toc > li > a {
text-decoration: none;
color: black;
}
ul.toc.level3 > li > a::after, ul.toc.level4 > li > a::after {content: leader(dotted)} ul.toc.level3 > li > a::after, ul.toc.level4 > li > a::after {content: leader(dotted)}
ul.toc > li > span { ul.toc > li > span {
......
...@@ -27,10 +27,10 @@ ...@@ -27,10 +27,10 @@
</body> </body>
</xsl:template> </xsl:template>
<!-- Cleaning des footers vides --> <!-- Cleaning des footers vides -->
<xsl:template match="footer[not(node())]"/> <xsl:template match="footer[not(node())]"/>
<xsl:template match="div[@data-hdoc-type='tags']"/>
<!-- Gestion de la table des matières --> <!-- Gestion de la table des matières -->
......
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