Cleaner ToC CSS, certainly need to fix for #modern-theme
This commit is contained in:
parent
bbe8cf6891
commit
361b27d196
|
@ -111,7 +111,20 @@ h6::before {
|
|||
hr {
|
||||
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;
|
||||
content: "-----------------------------------------------------------------------------";
|
||||
display:block;
|
||||
|
@ -130,14 +143,14 @@ pre:before {
|
|||
pre code {
|
||||
background: none;
|
||||
}
|
||||
blockquote {
|
||||
blockquote,#table-of-contents {
|
||||
margin-left: 0;
|
||||
position: relative;
|
||||
padding-left: 17px;
|
||||
padding-left: 2ch;
|
||||
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>";
|
||||
white-space: pre;
|
||||
position: absolute;
|
||||
|
|
Loading…
Reference in a new issue