MediaWiki:Common.css: Difference between revisions
Appearance
Tag: Undo |
No edit summary |
||
Line 1: | Line 1: | ||
table.infobox { | table.infobox { | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
background | background: #f8f9fa; | ||
font-size: 90%; | font-size: 90%; | ||
line-height: 1.4em; | line-height: 1.4em; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
} | } | ||
table.infobox th, table.infobox td { | 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; } | |||
} | |||
table.infobox th { | |||
} | |||
.infobox-title { | |||
} | |||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
table.infobox { background | table.infobox { background: #202124; border-color: #5f6368; color: #e8eaed; } | ||
table.infobox th { background: #2a2b2e | table.infobox th { background: #2a2b2e; } | ||
.infobox-title { background: #466c2c | .infobox-title { background: #466c2c; } | ||
} | } |
Revision as of 21:53, 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; } }