Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephane Crozat
hdoc
Commits
cd705bd9
Commit
cd705bd9
authored
Jan 05, 2017
by
bperraud
Browse files
delete of tags for the output, fix some css properties (eg for a links)
parent
851af97d
Changes
2
Hide whitespace changes
Inline
Side-by-side
hdoc_to_pdf/css/main.css
View file @
cd705bd9
...
...
@@ -45,14 +45,21 @@
@bottom-center
{
content
:
counter
(
page
)
}
}
body
{
html
,
body
{
padding
:
0
;
margin
:
0
;
height
:
auto
;
}
*
{
font-family
:
"CMU Serif"
;
}
a
{
text-decoration
:
none
;
color
:
black
;
}
p
{
text-align
:
justify
;
text-indent
:
2em
;
...
...
@@ -62,6 +69,8 @@ p {
word-break
:
normal
;
}
span
[
data-hdoc-type
=
"syntax"
]
{
font-family
:
"CMU Typewriter Text"
}
h1
{
font-size
:
2em
}
h2
{
font-size
:
1.6em
}
h3
{
font-size
:
1.4em
}
...
...
@@ -77,26 +86,11 @@ h6 {font-style: italic}
body
{
counter-reset
:
h2
}
h2
{
counter-reset
:
h3
}
h3
{
counter-reset
:
h4
}
/*
h4 {counter-reset: h5}
h5 {counter-reset: h6}
*/
h2
::before
{
counter-increment
:
h2
;
content
:
counter
(
h2
)
".\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"
}
/*
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
,
h3
.nocount
:before
,
h4
.nocount
:before
{
content
:
""
;
counter-increment
:
none
}
...
...
@@ -158,11 +152,6 @@ ul.toc.level2 > li {
ul
.toc.level3
>
li
{
padding-left
:
11mm
}
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
>
li
>
span
{
...
...
hdoc_to_pdf/xsl/last_transformer.xsl
View file @
cd705bd9
...
...
@@ -27,10 +27,10 @@
</body>
</xsl:template>
<!-- Cleaning des footers vides -->
<xsl:template
match=
"footer[not(node())]"
/>
<xsl:template
match=
"div[@data-hdoc-type='tags']"
/>
<!-- Gestion de la table des matières -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment