Template:Collapsed toc/styles.css: Difference between revisions
Jump to navigation
Jump to search
m (Protected "Template:Collapsed toc/styles.css" ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
mNo edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* {{pp|small=y}} */ | |||
#toc { border: 0px; } | #toc { border: 0px; } | ||
.toc | #toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle { | ||
display: none; | |||
} | |||
.toctogglespan { display: none; } | .toctogglespan { display: none; } | ||
.toctogglelabel { 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 */ | |||
table.toctable { | |||
background-color: #f9f9f9; | |||
color: black; | |||
margin: 1em 0; | |||
border: 1px #aaa solid; | |||
border-collapse: collapse; | |||
} | |||
table.toctable tr, table.toctable th, table.toctable td { | |||
padding: 0.3em 0.4em; | |||
} | |||
table.toctable th { | |||
background-color: #f8fafa; | |||
border: 1px #aaa solid; | |||
font-weight: normal; | |||
text-align: center; | |||
padding-right: 0.2em; | |||
padding-left: 0.2em; | |||
} |
Latest revision as of 20:37, 23 September 2023
/* {{pp|small=y}} */
#toc { border: 0px; }
#toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle {
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 */
table.toctable {
background-color: #f9f9f9;
color: black;
margin: 1em 0;
border: 1px #aaa solid;
border-collapse: collapse;
}
table.toctable tr, table.toctable th, table.toctable td {
padding: 0.3em 0.4em;
}
table.toctable th {
background-color: #f8fafa;
border: 1px #aaa solid;
font-weight: normal;
text-align: center;
padding-right: 0.2em;
padding-left: 0.2em;
}