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.
feature.better-home
Thomas Keller 2011-03-01 00:01:03 +01:00
parent 4ffd11caf5
commit 41cfbbd0d9
1 changed files with 9 additions and 1 deletions

View File

@ -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 {