MediaWiki:Custom-common.less

// /** * The is the root LESS file for MediaWiki:Common.css. * * To update MediaWiki:Common.css from this file: * - For Oasis users: Click the "Update CSS" button at the top of the page * - For Monobook users: Click the "Update CSS" link in your toolbox * * For more information, see  * * LESS standard library:  * Non-standard mixins:   * * Available themedesigner values: * - @theme-body   -> body background colour * - @theme-buttons -> button colour * - @theme-header -> collapsible footer bar colour * - @theme-links  -> link colour * - @theme-page   -> article content background */

// directory, used in imports @dir: 'MediaWiki:Custom-common.less';

// template styling @import '@{dir}/infobox.less'; @import '@{dir}/navbox.less';

// page specific styling @import '@{dir}/mainpage.less';

/* --            CSS to convert -- */ /***** CSS placed here will be applied to all skins on the entire site. *****/ .mw-headline { // Style all headings (h2, h3, etc) font-family: Copperplate, Copperplate Gothic Light, fantasy, Impact, Charcoal, sans-serif; } abbr[title] { border-bottom:1px dotted currentColor; } .oddrow tr:nth-of-type(odd)>td, tr.oddrow td { background:rgba(0,0,0,0.04); } /* Darkens every other row */ /* .center is used by wikia, and makes element used on also have a width of 100% */ .ct, .centertext { text-align:center; }

/* General hide class to be used as necessary (pair to .mobile-hide) */ .desktop-hide { display: none !important; }

.tfm-background-color { background: #6A7495; } .wikitable tr:target { border-color:#012e59; border-style:solid; background:#B5D9E8; }

/* Adds wikipedia Template:Ambox type style to a table/div */ .messagebox { background:#EEE; color:black; border:1px solid #AAA; border-left:10px solid @theme-buttons; padding:2px 10px; display:block; margin:0 10%; overflow:auto; }

/* Enables H2 and H3 headers Tabber */ .tabberlive { position:relative; // Needed for .tabbertab { h2, h3 { display:block !important; } } }

.wikitable td { overflow: hidden; } .blankCell { cursor: not-allowed; background: rgba(150, 150, 150, 0.15); text-align: center; font-size: 65%; color: rgba(58, 58, 58, 0.35); padding: 100px; margin: -100px; }

/* Template:ColorPalette */ .color-palette { display:inline-block; width:16px; height:16px; vertical-align: text-top; border:1px solid #555; border-radius:3px; } .color-palette-text { font-weight: bold; text-shadow: 1px 1px 1px #555, -1px 1px 1px #555, 1px -1px 1px #555, -1px -1px 1px #555; }

/* Template:Extimage - resize height based on width */ .extimage div, .extimage a, .extimage img { height: inherit; max-height: inherit; max-width: inherit; width: inherit; }