Let the table of contents not take more than 33% of the available space;
improve the CSS a bit by making the font a little smaller and by introducing a margin between every line. Partially closes issue 618.
This commit is contained in:
parent
4ffd11caf5
commit
41cfbbd0d9
@ -763,19 +763,27 @@ ol > li {
|
|||||||
#wiki-toc {
|
#wiki-toc {
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
max-width: 33%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wiki-toc-content {
|
#wiki-toc-content {
|
||||||
border: 1px solid #999999;
|
border: 1px solid #999999;
|
||||||
border-width: 1px 0;
|
border-width: 1px 0;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
padding-bottom: 25px;
|
padding-bottom: 15px;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wiki-toc-content a {
|
#wiki-toc-content a {
|
||||||
display: block;
|
display: block;
|
||||||
|
margin-top: 0.5em;
|
||||||
|
font-size: 90%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wiki-toc-content a:first-child {
|
||||||
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wiki-toc-content a.wiki-h2 {
|
#wiki-toc-content a.wiki-h2 {
|
||||||
|
Loading…
Reference in New Issue
Block a user