MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→Base infobox look: table.infobox { border: 1px solid #a2a9b1; background-color: #f8f9fa; color: inherit; font-size: 90%; line-height: 1.4em; border-collapse: collapse; } table.infobox th, table.infobox td { padding: 0.25em 0.5em; vertical-align: top; } table.infobox th { text-align: left; background: #f2f2f2; } .infobox-title { text-align: center !important; font-size: 120% !important; font-weight: bold; background: #cfe3a3; /* light gree..." |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
table.infobox{border:1px solid #a2a9b1;background:#f8f9fa;font-size:90%;line-height:1.4em;border-collapse:collapse} | |||
table.infobox { | table.infobox th,table.infobox td{padding:.25em .5em;vertical-align:top} | ||
table.infobox th{text-align:left;background:#f2f2f2} | |||
.infobox-title{text-align:center;font-size:120%;font-weight:bold;background:#cfe3a3} | |||
@media (prefers-color-scheme: dark){ | |||
table.infobox{background:#202124;border-color:#5f6368;color:#e8eaed} | |||
table.infobox th{background:#2a2b2e} | |||
.infobox-title{background:#466c2c} | |||
} | |||
table.infobox th, table.infobox td { | |||
} | |||
table.infobox th { | |||
} | |||
.infobox-title { | |||
} | |||
@media (prefers-color-scheme: dark) { | |||
table.infobox { background | |||
table.infobox th { background: #2a2b2e | |||
.infobox-title { background: #466c2c | |||
} | } |
Revision as of 21:37, 1 October 2025
table.infobox{border:1px solid #a2a9b1;background:#f8f9fa;font-size:90%;line-height:1.4em;border-collapse:collapse} table.infobox th,table.infobox td{padding:.25em .5em;vertical-align:top} table.infobox th{text-align:left;background:#f2f2f2} .infobox-title{text-align:center;font-size:120%;font-weight:bold;background:#cfe3a3} @media (prefers-color-scheme: dark){ table.infobox{background:#202124;border-color:#5f6368;color:#e8eaed} table.infobox th{background:#2a2b2e} .infobox-title{background:#466c2c} }