Mostly Harmless
Difference between revisions of "MediaWiki:Common.css"
From Unreal Wiki, The Unreal Engine Documentation Site
Line 35: | Line 35: | ||
background: #cef; | background: #cef; | ||
border: 1px solid #88a; | border: 1px solid #88a; | ||
− | border-spacing: | + | border-spacing: 1px; |
margin: 1em 0px; | margin: 1em 0px; | ||
padding: 0px; | padding: 0px; | ||
Line 44: | Line 44: | ||
table.navbox th.navbox-header { | table.navbox th.navbox-header { | ||
background: #eef; | background: #eef; | ||
− | |||
} | } | ||
table.navbox th.navbox-group { | table.navbox th.navbox-group { | ||
Line 52: | Line 51: | ||
table.navbox td.navbox-body { | table.navbox td.navbox-body { | ||
text-align: center; | text-align: center; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Revision as of 05:45, 5 March 2008
/* <!-- Fix for weird-looking preview and diff, doesn't affect CSS content --><source lang="css"> Styles for page content that will be applied to all skins. */ /** Infobox layout ************************************************************* * * Description: General style for infobox-like content objects. */ table.infobox, div.infobox { background: #fed; border: 1px solid #88a; float: right; margin: 1em; margin-right: 0px; padding: 1em; } table.infobox th { text-align: left; padding: 1px; padding-right: 10px; } table.infobox.infobox-pages th { text-align: center; padding-right: 1px; } /** Navbox layout ************************************************************* * * Description: General style for navigation boxes. */ table.navbox { background: #cef; border: 1px solid #88a; border-spacing: 1px; margin: 1em 0px; padding: 0px; font-size: 88%; width: 100%; } table.navbox th.navbox-header { background: #eef; } table.navbox th.navbox-group { background: #eef; text-align: left; } table.navbox td.navbox-body { text-align: center; } /** Article message boxes ****************************************************** * * Description: Various display styles for the ambox template. */ table.ambox { margin: 0px 10%; border-collapse: collapse; background: white; border: 1px solid #19f; /* default notice color */ border-left-width: 10px; } /* The message body cell(s) */ table.ambox th.ambox-text, table.ambox td.ambox-text { padding: 0.25em 0.5em; width: 100%; } /* The left image cell */ table.ambox td.ambox-image { padding: 2px 0px 2px 0.5em; text-align: center; } /* The right image cell */ table.ambox td.ambox-imageright { padding: 2px 0.5em 2px 0px; text-align: center; } /* type 'notice' (default) */ table.ambox-notice { border-color: #19f; } /* type 'serious' */ table.ambox-serious { border-color: #b22; background: #fee; } /* type 'content' */ table.ambox-content { border-color: #f80; } /* type 'style' */ table.ambox-style { border-color: #fc0; } /* type 'info' */ table.ambox-info{ border-width: 1px; border-color: #88a; } /** Template documentation ***************************************************** * * Description: Various display styles template documentation. */ .template-documentation { clear: both; margin: 0px; margin-top: 1em; border: 1px solid #aaa; background-color: #eee; padding: 5px; } .dablink { font-style: italic; padding-left: 2em; } .dablink i { font-style: normal; } /* </source><!-- end of preview fix --> */