mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Use new layout tags for TOC styling. The point of this is that it
allows this information to be written to an external file and not just to the header. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40413 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
acbcf2c742
commit
9a3d2bf3b6
@ -8,50 +8,48 @@
|
||||
# a document, like title, author and such.
|
||||
|
||||
|
||||
Format 35
|
||||
Format 36
|
||||
|
||||
# CSS for the TOC
|
||||
AddToHTMLPreamble
|
||||
<style type="text/css">
|
||||
div.toc {
|
||||
margin: 2em 0em;
|
||||
border-style: solid;
|
||||
border-width: 2px 0px;
|
||||
padding: 1em 0em;
|
||||
}
|
||||
div.tochead { font-size: x-large; font-weight: bold; }
|
||||
div.lyxtoc-0 {
|
||||
margin: 2em 0em 0em 0em;
|
||||
font-size: xx-large;
|
||||
font-weight: bold;
|
||||
}
|
||||
div.lyxtoc-1 {
|
||||
margin: 1em 0em 0em 0em;
|
||||
font-size: x-large;
|
||||
font-weight: bold;
|
||||
}
|
||||
div.lyxtoc-2 {
|
||||
margin: 0em 0em 0em 1em;
|
||||
font-size: large;
|
||||
font-weight: normal;
|
||||
}
|
||||
div.lyxtoc-3 { margin: 0em 0em 0em 0.5em; font-size: medium; }
|
||||
div.lyxtoc-4 { margin: 0em 0em 0em 0.5em; }
|
||||
div.lyxtoc-5 { margin: 0em 0em 0em 0.5em; }
|
||||
div.lyxtoc-6 { margin: 0em 0em 0em 0.5em; }
|
||||
a.tocentry {
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
}
|
||||
a.tocentry:visited { color: black; }
|
||||
a.tocarrow {
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
color: #909090;
|
||||
}
|
||||
a.tocarrow:visited { color: #C0C0C0; }
|
||||
</style>
|
||||
EndPreamble
|
||||
AddToHTMLStyles
|
||||
div.toc {
|
||||
margin: 2em 0em;
|
||||
border-style: solid;
|
||||
border-width: 2px 0px;
|
||||
padding: 1em 0em;
|
||||
}
|
||||
div.tochead { font-size: x-large; font-weight: bold; }
|
||||
div.lyxtoc-0 {
|
||||
margin: 2em 0em 0em 0em;
|
||||
font-size: xx-large;
|
||||
font-weight: bold;
|
||||
}
|
||||
div.lyxtoc-1 {
|
||||
margin: 1em 0em 0em 0em;
|
||||
font-size: x-large;
|
||||
font-weight: bold;
|
||||
}
|
||||
div.lyxtoc-2 {
|
||||
margin: 0em 0em 0em 1em;
|
||||
font-size: large;
|
||||
font-weight: normal;
|
||||
}
|
||||
div.lyxtoc-3 { margin: 0em 0em 0em 0.5em; font-size: medium; }
|
||||
div.lyxtoc-4 { margin: 0em 0em 0em 0.5em; }
|
||||
div.lyxtoc-5 { margin: 0em 0em 0em 0.5em; }
|
||||
div.lyxtoc-6 { margin: 0em 0em 0em 0.5em; }
|
||||
a.tocentry {
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
}
|
||||
a.tocentry:visited { color: black; }
|
||||
a.tocarrow {
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
color: #909090;
|
||||
}
|
||||
a.tocarrow:visited { color: #C0C0C0; }
|
||||
EndStyles
|
||||
|
||||
|
||||
Style Title
|
||||
|
Loading…
Reference in New Issue
Block a user