Cleaner ToC CSS, certainly need to fix for #modern-theme
This commit is contained in:
parent
bbe8cf6891
commit
361b27d196
1 changed files with 16 additions and 3 deletions
|
@ -111,7 +111,20 @@ h6::before {
|
||||||
hr {
|
hr {
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
#preamble:after, #postamble:before, hr:after {
|
#preamble h1 {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
#table-of-contents,
|
||||||
|
#table-of-contents ul,
|
||||||
|
#table-of-contents h2
|
||||||
|
{
|
||||||
|
padding:0;
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
|
#table-of-contents {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
#postamble:before, hr:after {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
content: "-----------------------------------------------------------------------------";
|
content: "-----------------------------------------------------------------------------";
|
||||||
display:block;
|
display:block;
|
||||||
|
@ -130,14 +143,14 @@ pre:before {
|
||||||
pre code {
|
pre code {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
blockquote {
|
blockquote,#table-of-contents {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-left: 17px;
|
padding-left: 17px;
|
||||||
padding-left: 2ch;
|
padding-left: 2ch;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
blockquote:after {
|
#table-of-contents:after, blockquote:after {
|
||||||
content: ">\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>";
|
content: ">\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>";
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in a new issue