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
dfae5242
Commit
dfae5242
authored
Dec 29, 2016
by
bperraud
Browse files
Fix ToC styling
parent
cbd59fcd
Changes
3
Hide whitespace changes
Inline
Side-by-side
hdoc_to_pdf/README.md
View file @
dfae5242
...
...
@@ -65,6 +65,7 @@ Known bugs
*
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.
*
ToC lines rendering is sometimes ugly if the title label is too long.
Generic Todo
------------
...
...
hdoc_to_pdf/css/main.css
View file @
dfae5242
...
...
@@ -127,8 +127,9 @@ ul.toc.level5 > li {padding-left: 15mm;}
ul
.toc.level6
>
li
{
padding-left
:
17mm
;}
ul
.toc
>
li
>
a
::after
{
/*left: 0;*/
content
:
leader
(
dotted
)
target-counter
(
attr
(
href
),
page
);
text-decoration
:
none
;
color
:
black
;
}
/* Main Title formatting */
...
...
hdoc_to_pdf/xsl/hdoc_flattenizer.xsl
View file @
dfae5242
...
...
@@ -16,7 +16,7 @@
<!-- Ajout de l'attribut lang -->
<xsl:template
match=
"html"
>
<html
lang=
"fr"
>
<html
lang=
"fr"
xml:lang=
"fr"
>
<xsl:apply-templates/>
</html>
</xsl:template>
...
...
Write
Preview
Supports
Markdown
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