MediaWiki: Common.css: Difference between revisions
From KaiyouRO
No edit summary |
No edit summary |
||
Line 43: | Line 43: | ||
/* 2 - Wikitablec */ | /* 2 - Wikitablec */ | ||
table.wikitablec, | |||
table.prettytable { | |||
margin: 1em 1em 1em 0; | |||
background: #f9f9f9; | |||
border: 1px #aaa solid; | |||
border-collapse: collapse; | |||
} | |||
table.wikitablecenter, | |||
table.prettytable { | |||
margin-left: auto; | |||
margin-right: auto; | |||
background: #f9f9f9; | |||
border: 1px #aaa solid; | |||
border-collapse: collapse; | |||
} | |||
table.wikitablec th, table.wikitablec td, | |||
table.prettytable th, table.prettytable td { | |||
border: 1px #aaa solid; | |||
padding: 0.2em; | |||
text-align: center; | |||
} | |||
table.wikitablec th, | |||
table.prettytable th { | |||
background: #f2f2f2; | |||
text-align: center; | |||
} | |||
table.wikitablec caption, | |||
table.prettytable caption { | |||
margin-left: inherit; | |||
margin-right: inherit; | |||
font-weight: bold; | |||
} | |||
table.prettytablec code, | |||
table.wikitablec code { | |||
background-color: transparent; | |||
} | |||
table.wikitablecenter th, table.wikitablecenter td, | |||
table.prettytable th, table.prettytable td { | |||
border: 1px #aaa solid; | |||
padding: 0.2em; | |||
text-align: center; | |||
} | |||
table.wikitablecenter th, | |||
table.prettytable th { | |||
background: #f2f2f2; | |||
text-align: center; | |||
} | |||
table.wikitablecenter caption, | |||
table.prettytable caption { | |||
margin-left: inherit; | |||
margin-right: inherit; | |||
font-weight: bold; | |||
} | |||
table.prettytablecenter code, | |||
table.wikitablecenter code { | |||
background-color: transparent; | |||
} | |||
table.elements {} | table.elements {} |
Revision as of 15:33, 16 October 2022
/ *************** Tabla de contenido *************** 1 - NavBox 2 - Wikitablec ************************************************** */ /* 1 - NAVBOX */ table.navbox { background-color: #f9f9f9; border: 1px solid #aaa; clear: both; font-size: 90%; margin: 1em 0em 0em; padding: 2px; width: 100%; } table.navbox th { background-color: #90EE90; padding-left: 1em; padding-right: 1em; } table.navbox tr:not(:first-child) th { background-color: #90EE90; } .collapseButton { float: right; font-weight: normal; text-align: right; width: auto; } @media print { .navbox { display: none; } } /* 2 - Wikitablec */ table.wikitablec, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; } table.wikitablecenter, table.prettytable { margin-left: auto; margin-right: auto; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; } table.wikitablec th, table.wikitablec td, table.prettytable th, table.prettytable td { border: 1px #aaa solid; padding: 0.2em; text-align: center; } table.wikitablec th, table.prettytable th { background: #f2f2f2; text-align: center; } table.wikitablec caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } table.prettytablec code, table.wikitablec code { background-color: transparent; } table.wikitablecenter th, table.wikitablecenter td, table.prettytable th, table.prettytable td { border: 1px #aaa solid; padding: 0.2em; text-align: center; } table.wikitablecenter th, table.prettytable th { background: #f2f2f2; text-align: center; } table.wikitablecenter caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } table.prettytablecenter code, table.wikitablecenter code { background-color: transparent; } table.elements {} table.elements th, table.elements td { padding: 0.5em; } td.effective { background-color: #BFFFBF; } td.ineffective { background-color: #FFBF7F; } td.nullified { background-color: #FFBFBF; }