Difference between revisions of "MediaWiki:Common.css"
From AtlasWiki
(Created page with "/* CSS placed here will be applied to all skins */ /* All content copied from @media print { →* * Table rendering * As on shared.css but with white background.: t...") |
(Fixed un-ended comment) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | /* All content copied from | + | /* All content copied from the default CSS code */ |
@media print { | @media print { | ||
/** | /** |
Revision as of 12:48, 5 March 2014
/* CSS placed here will be applied to all skins */ /* All content copied from the default CSS code */ @media print { /** * Table rendering * As on shared.css but with white background. */ table.atlaswikitable, table.mw_metadata { margin: 1em 0; border: 1px #aaa solid; background: white; border-collapse: collapse; } table.atlaswikitable > tr > th, table.atlaswikitable > tr > td, table.atlaswikitable > * > tr > th, table.atlaswikitable > * > tr > td, .mw_metadata th, .mw_metadata td { border: 1px #aaa solid; padding: 0.2em; } table.atlaswikitable > tr > th, table.atlaswikitable > * > tr > th, .mw_metadata th { text-align: center; background: white; font-weight: bold; } table.atlaswikitable > caption, .mw_metadata caption { font-weight: bold; } /* Some pagination options */ .atlaswikitable, .thumb, img { page-break-inside: avoid; } } @media screen { /** * atlaswikitable class for skinning normal tables * keep in sync with commonPrint.css */ table.atlaswikitable { margin: 1em 0; background-color: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; color: black; } table.atlaswikitable > tr > th, table.atlaswikitable > tr > td, table.atlaswikitable > * > tr > th, table.atlaswikitable > * > tr > td { border: 1px #aaa solid; padding: 0.2em; } table.atlaswikitable > tr > th, table.atlaswikitable > * > tr > th { background-color: #f2f2f2; text-align: center; } table.atlaswikitable > caption { font-weight: bold; } }