MediaWiki:Common.css

/* Gentoo Wiki custom css. Talk to a3li before changing anything here, please. */

/* Code highlighting */ .mw-code { border: none; padding: 1px; background: none; font-size: 1.2em; }

/* HACK! */ pre pre { font-size: .8em; }

/* Message Boxes (new) */ .gw-msgbox, .gw-contentbox { padding: 3px; margin-top: .5em; margin-bottom: .5em; }

.gw-msgbox .gw-msgbox-title { margin-top: -3px; margin-left: -3px; display: table-row; float: left; padding: 3px; margin-right: 3px; font-weight: bold; }

.gw-msgbox .gw-msgbox-content { display: table-row; }

/* Content Boxes (new) */ .gw-contentbox { padding-top: 0; }

.gw-contentbox .gw-contentbox-title { /** margin-top: -.3em; old **/ margin-top: 0; margin-left: -3px; display: table-row; padding: 3px; padding-top: 1px; /** new **/ padding-left: 0; float: left; }

.gw-contentbox .gw-contentbox-title1 { padding: 3px; font-weight: bold; }

.gw-contentbox .gw-contentbox-subtitle { padding: 3px; font-weight: bold; }

.gw-contentbox .gw-contentbox-description { padding: 3px; font-weight: bold; }

.gw-contentbox .gw-contentbox-rightmsg { float: right; margin-top: -3px; margin-right: -3px; padding: 3px; }

.gw-contentbox .gw-contentbox-content { clear: both; padding-top: 3px; }

.gw-contentbox-content pre, .gw-cmdbox pre { border: none; background: none; margin: 0; }

/* Notice/Warning/File/Kernel Boxes (old) Hybrid boxes are usable for one-line as well as multi-line content. To achieve that, the title box has position: absolute so that all text flows around it. You have to manually add padding for the first line. Got a better solution? Let a3li know. */ .gw-box, .gw-hybrid-box { margin-top: .5em; margin-bottom: .5em; background-color: #f3f3f3; }

.gw-hybrid-box { padding: .3em; }

.gw-box pre, .gw-hybrid-box pre { border: none; background: none; margin: 0; }

.gw-box-show-pre pre { border: 1px solid silver !important; background-color: white !important; }

.gw-box .gw-box-title { padding: .3em; font-weight: bold; color: white; }

.gw-hybrid-box .gw-box-title { padding: .3em; font-weight: bold; color: white; display: inline-block; float: left; margin: -.3em .3em 0 -.3em; position: absolute; }

.gw-box .gw-box-content { }