Difference between revisions of "MediaWiki:Common.css"
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ |
/* CSS placed here will be applied to all skins */ |
||
+ | .toclimit-2 .toclevel-1 ul, |
||
.toclimit-3 .toclevel-2 ul, |
.toclimit-3 .toclevel-2 ul, |
||
.toclimit-4 .toclevel-3 ul, |
.toclimit-4 .toclevel-3 ul, |
||
Line 13: | Line 14: | ||
cursor:pointer; |
cursor:pointer; |
||
margin-left:-20px; |
margin-left:-20px; |
||
+ | } |
||
− | margin-bottom:2px; |
||
+ | |||
+ | #toc.toc { |
||
+ | padding-left:30px; |
||
+ | padding-right:30px; |
||
+ | padding-bottom:20px; |
||
+ | } |
||
+ | |||
+ | |||
+ | /* SEGGER TABLES */ |
||
+ | |||
+ | table.seggertable { |
||
+ | border:1px solid #bfc3c6; |
||
+ | border-collapse:collapse; |
||
+ | } |
||
+ | |||
+ | table.seggertable tr td { |
||
+ | border:1px solid #bfc3c6; |
||
+ | padding:5px; |
||
+ | } |
||
+ | |||
+ | table.seggertable tr th { |
||
+ | background-color:#2c5b9c; |
||
+ | border-right:1px solid #bfc3c6; |
||
+ | color:#fff; |
||
+ | padding:5px; |
||
+ | } |
||
+ | |||
+ | table.seggertable tr:nth-child(odd) td { |
||
+ | background-color:#f1f1f1; |
||
} |
} |
Latest revision as of 12:24, 2 June 2021
/* CSS placed here will be applied to all skins */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
#toc .toggleicon {
cursor:pointer;
margin-left:-20px;
}
#toc.toc {
padding-left:30px;
padding-right:30px;
padding-bottom:20px;
}
/* SEGGER TABLES */
table.seggertable {
border:1px solid #bfc3c6;
border-collapse:collapse;
}
table.seggertable tr td {
border:1px solid #bfc3c6;
padding:5px;
}
table.seggertable tr th {
background-color:#2c5b9c;
border-right:1px solid #bfc3c6;
color:#fff;
padding:5px;
}
table.seggertable tr:nth-child(odd) td {
background-color:#f1f1f1;
}