Template:Collapsed toc/styles.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 17: | Line 17: | ||
.toctable { | .toctable { | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
color: | color: black; | ||
margin: 1em 0; | margin: 1em 0; | ||
border: 1px #aaa solid; | border: 1px #aaa solid; | ||
Line 23: | Line 23: | ||
} | } | ||
.toctable tr, th | .toctable tr, th, td { | ||
border: 1px #aaa solid; | border: 1px #aaa solid; | ||
padding: 0.3em 0.4em; | padding: 0.3em 0.4em; | ||
} | } | ||
.toctable | .toctable th { | ||
background-color: # | background-color: #f8fafa; | ||
text-align: center; | text-align: center; | ||
} | } |
Revision as of 19:41, 16 September 2023
/* {{pp|small=y}} */
#toc { border: 0px; }
.toc h2 { display: none; }
.toctogglespan { display: none; }
.toctogglelabel { display: none; }
/* Styling to force the show/hide to be in normal weight
.wikitable th {
font-weight: normal;
padding-right: 0.2em;
padding-left: 0.2em;
}
*/
/* Custom class attempting imulation of wikitable */
.toctable {
background-color: #f9f9f9;
color: black;
margin: 1em 0;
border: 1px #aaa solid;
border-collapse: collapse;
}
.toctable tr, th, td {
border: 1px #aaa solid;
padding: 0.3em 0.4em;
}
.toctable th {
background-color: #f8fafa;
text-align: center;
}