MediaWiki:Common.css

/* CSS placed here will be applied to all skins */ //**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**// /* Home page "What's new" section sizer *//* div#whats_new { width: 663px;/* JS overridden by Common.js - default of 800x640 resolution */ overflow: auto; } td.whats_new_section { width: 249px;/* JS overridden by Common.js - default of 800x640 resolution */ background-color: #FFFFFF; vertical-align: top; border-radius: 5px; border: 1px solid #AAAAAA; }
 * BY: U:Technical 13
 * 29 July 2015

/* Support for "Template:IPA", "Template:Unicode", and "Template:Polytonic" that are used in "MediaWiki:Edittools". The inherit declaration resets the font for all browsers except MSIE6. The empty comment must remain. */ .IPA { font-family: Chrysanthi Unicode, Doulos SIL, Gentium, GentiumAlt, Code2000, TITUS Cyberbit Basic, DejaVu Sans, Bitstream Vera Sans, Bitstream Cyberbit, Arial Unicode MS, Lucida Sans Unicode, Hiragino Kaku Gothic Pro, Matrix Unicode; font-family /**/:inherit; } .Unicode { font-family: TITUS Cyberbit Basic, Code2000, Doulos SIL, Chrysanthi Unicode, Bitstream Cyberbit, Bitstream CyberBase, Bitstream Vera, Thryomanes, Gentium, GentiumAlt, Visual Geez Unicode, Lucida Grande, Arial Unicode MS, Microsoft Sans Serif, Lucida Sans Unicode; font-family /**/:inherit; } .polytonic { font-family: Athena, Gentium, Palatino Linotype, Arial Unicode MS, Lucida Sans Unicode, Lucida Grande, Code2000; font-family /**/:inherit; }

/* Hide stuff meant for accounts with special permissions. Made visible again in  MediaWiki:Group-steward.css, MediaWiki:Group-bureaucrat.css, MediaWiki:Group-sysop.css, MediaWiki:Group-superuser.css and Mediawiki:Group-ddowikivip.css. */ /* deprecated groups */.developer-show, .widgeteditor-show, /* active groups */ .steward-show, .bureaucrat-show, .sysop-show, .superuser-show, .ddowikivip-show { display: none; }

/** * Styling for links generated by MediaWiki:Edittools * @source www.mediawiki.org/wiki/Extension:CharInsert#Styling * @updated 2012-02-29 */ .mw-charinsert-buttons { margin-top: 10px; border: 1px solid #aaaaaa; padding: 1px; text-align: center; font-size: 110%; } .mw-charinsert-buttons a { color: black; background-color: #cde !important; font-weight: bold; font-size: .9em; text-decoration: none; border: thin #069 outset; padding: 0 .1em .1em; } .mw-charinsert-buttons a:hover, .mw-charinsert-buttons a:active { background-color: #bcd; border-style: inset; } .client-js .mw-edittools-section { display: inline; } .client-js .mw-edittools-section input[type="button"] { font-size: 0.9em; padding-left: 1px; padding-right: 1px; margin-left: 1px; } /* End of Edittools css */

/** * Universal Pop-up fix * by User:Ague * Updated 16:38, April 11, 2012 */ span.has_tooltip { position: relative; }

span.has_tooltip span.tooltip { display: none; }

span.has_tooltip:hover span.tooltip { display: block; width: 200%; position: absolute; top: 9px; left: 13px; } /* End of pop-up fix */

/** * Universal fix * based on css from User:Ague * Updated 14:25, April 16, 2012 * This may not function for those using either of the Truglass(2) themes that are currently bugged. * Those themes may never actually get to read the common.css file. pre { max-width: 1200px; min-width: 300px; white-space: pre-wrap !important; word-wrap: break-word; overflow: auto; } /* fix */

/* strip "Item:" namespace from category pages fix *//* a[title^='Item:'] { font-family: 'Lucida Grande', Geneva, Arial, Verdana, monospace; font-size: 12px; display: inline-block; overflow: hidden; text-indent: -2.1em; }
 * //* strip "Item:" namespace from category pages fix end */

/** * Universal RecentChanges, Watchlist, and Contributions color modification * BY: User:Technical_13 * Created 10:20(EDT), March 27, 2013 strong.mw-plusminus-pos { color: #00FF00 !important; } strong.mw-plusminus-null { color: #777777 !important; } strong.mw-plusminus-neg { color: #FF0000 !important; }*/
 * //* Going to change this into a Gadget I think...

/* Broken CSS fix attempt. User:.../truglass.css fails to load... Let's bump it up one notch... */ .inlinlist { padding: 0px; margin: 0px; } .inlinlist ul { padding: 0px; margin: 0px; } .inlinlist ol { padding: 0px; margin: 0px; } .inlinlist li { display: inline; padding: 0px; margin: 0px; } font-size: 10px; background: none; border: none; padding: 0px; margin: 0px 0px 0px 2em; }   content: "[ "; } .dropdown { font: 10px "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif; } /* END of Truglass fixes */
 * 1) cactions span#ca-nstab-project,
 * 2) cactions span#ca-nstab-item {
 * 1) cactions span#ca-nstab-project:before,
 * 2) cactions span#ca-nstab-item:before {
 * 1) sidebar h3 { font-size: 10px; color: #000; }
 * 1) content a.stub:hover:after { content:\00A0\24C8; font-size: 90%; }

/* Default style for navigation boxes */ .navbox {                    /* Navbox container style */ border: 1px solid #aaa; width: 100%; margin: auto; clear: both; font-size: 88%; text-align: center; padding: 1px; } .navbox-inner, .navbox-subgroup { width: 100%; } .navbox-group, .navbox-title, .navbox-abovebelow { padding: 0.25em 1em;     /* Title, group and above/below styles */ line-height: 1.5em; text-align: center; } th.navbox-group {            /* Group style */ white-space: nowrap; /* @noflip */ text-align: right; } .navbox, .navbox-subgroup { background: #fdfdfd;     /* Background color */ } .navbox-list { line-height: 1.8em; border-color: #fdfdfd;   /* Must match background color */ } .navbox th, .navbox-title { background: #ccccff;     /* Level 1 color */ } .navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title { background: #ddddff;     /* Level 2 color */ } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: #e6e6ff;     /* Level 3 color */ } .navbox-even { background: #f7f7f7;     /* Even row striping */ } .navbox-odd { background: transparent; /* Odd row striping */ } table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ margin-top: -1px;         /* (doesn't work for IE6, but that's okay)       */ } .navbox .hlist td dl, .navbox .hlist td ol, .navbox .hlist td ul, .navbox td.hlist dl, .navbox td.hlist ol, .navbox td.hlist ul { padding: 0.125em 0;      /* Adjust hlist padding in navboxes */ } ol + table.navbox, ul + table.navbox { margin-top: 0.5em;       /* Prevent lists from clinging to navboxes */ }

/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript in MediaWiki:Common.js are styled here so they can be customised. */ .collapseButton { /* @noflip */ float: right; font-weight: normal; /* @noflip */ margin-left: 0.5em; /* @noflip */ text-align: right; width: auto; }

/* Styling for JQuery makeCollapsible, matching that of collapseButton */ .mw-collapsible-toggle { font-weight: normal; /* @noflip */ text-align: right; } .navbox .mw-collapsible-toggle { width: 6em; }

/* Class to easily hide an element */ .hidden { display: none; }

/* Begin Item Display CSS attributes */ /* The following ItemDisplay... attributes are added by Joe to be used by ItemDisplay... templates */ /* Added to Mediawiki:Common.css */ /* until invididual unique themes can be created and migrated to skin css files ( vector ... truglass ... simple ) */

/* classes used on Template pages */ table.ItemDisplayTemplateOuterTable { background: #CCEEFF; /* color of extra whitespace displayed when column tables are not equal height / outer table border */ border-collapse: collapse; /* this gets rid of ~1px extra margin between outer table and inside tables */ } table.ItemDisplayTemplateOuterTable tr { vertical-align: top; /* this will top align both details side and images side */ } table.ItemDisplayTemplateOuterTable th { padding-left: 10px; padding-right: 10px; padding-top: 2px; padding-bottom: 2px; white-space: nowrap; vertical-align: middle; background: #AACCFF; } table.ItemDisplayTemplateOuterTable td.ItemDisplayTemplateExampleValue { padding-top: 15px; background: #FFFFFF; } table.ItemDisplayTemplateOuterTable td { padding-left: 10px; padding-right: 10px; padding-top: 2px; padding-bottom: 2px; background: #CCEEFF; }

/* classes used on Ammunition pages */ table.ItemDisplayAmmunitionOuterTable { width: 100%; /* set the outer table to expand width to maximum allowed */ /* height: 100%; */ /* this value is needed when either inside table is configured to expand height */ background: #F0D1E0; /* color of extra whitespace displayed when column tables are not equal height / outer table border */ border-collapse: collapse; /* this gets rid of ~1px extra margin between outer table and inside tables */ } table.ItemDisplayAmmunitionOuterTable tr { vertical-align: top; /* this will top align both details side and images side */ } table.ItemDisplayAmmunitionOuterTable td { width: 100%; /* set cells to expand to fill parent block element */ } table.ItemDisplayAmmunitionDetailsTable { width: 100%; /* set details table to expand to fill parent block element */ background: #F0D1E0; /* color of cell borders in details table */ } table.ItemDisplayAmmunitionDetailsTable th { padding-left: 10px; padding-right: 10px; padding-top: 2px; padding-bottom: 2px; /* border: 2px outset; */ white-space: nowrap; vertical-align: middle; background: #E6B2CC; /* background color of detail name cells */ } table.ItemDisplayAmmunitionDetailsTable td { padding-left: 10px; padding-right: 10px; padding-top: 2px; padding-bottom: 2px; background: #EBC2D6; /* background color of detail data cells */ /* border: 2px outset; */ } table.ItemDisplayAmmunitionImagesTable { width: 100%; padding-top: 10px; padding-bottom: 10px; background: #F0D1E0; /* background color for images table (column) */ } table.ItemDisplayAmmunitionImagesTable tr { } table.ItemDisplayAmmunitionImagesTable td { padding-left: 10px; padding-right: 10px; padding-top: 15px; padding-bottom: 15px; /* background: #EEFFCC; */ /* dont think this parameter is used */ /* border: 2px outset; */ }

/* classes used on Armor pages */ table.ItemDisplayArmorOuterTable { width: 100%; /* set the outer table to expand width to maximum allowed */ /* height: 100%; */ /* this value is needed when either inside table is configured to expand height */ background: #E0D1B2; /* color of extra whitespace displayed when column tables are not equal height / outer table border */ border-collapse: collapse; /* this gets rid of ~1px extra margin between outer table and inside tables */ } table.ItemDisplayArmorOuterTable tr { vertical-align: top; /* this will top align both details side and images side */ } table.ItemDisplayArmorOuterTable td { width: 100%; /* set cells to expand to fill parent block element */ } table.ItemDisplayArmorDetailsTable { width: 100%; /* set details table to expand to fill parent block element */ background: #E0D1B2; /* color of cell borders in details table */ } table.ItemDisplayArmorDetailsTable th { padding-left: 10px; padding-right: 10px; padding-top: 2px; padding-bottom: 2px; /* border: 2px outset; */ white-space: nowrap; vertical-align: middle; background: #CCB280; /* background color of detail name cells */ } table.ItemDisplayArmorDetailsTable td { padding-left: 10px; padding-right: 10px; padding-top: 2px; padding-bottom: 2px; background: #D6C299; /* background color of detail data cells */ /* border: 2px outset; */ } table.ItemDisplayArmorImagesTable { width: 100%; padding-top: 10px; padding-bottom: 10px; background: #E0D1B2; /* background color for images table (column) */ } table.ItemDisplayArmorImagesTable tr { } table.ItemDisplayArmorImagesTable td { padding-left: 10px; padding-right: 10px; padding-top: 15px; padding-bottom: 15px; /* background: #EEFFCC; */ /* dont think this parameter is used */ /* border: 2px outset; */ }

/* classes used on Component pages */ table.ItemDisplayComponentOuterTable { width: 100%; /* set the outer table to expand width to maximum allowed */ /* height: 100%; */ /* this value is needed when either inside table is configured to expand height */ background: #CCEEFF; /* color of extra whitespace displayed when column tables are not equal height / outer table border */ border-collapse: collapse; /* this gets rid of ~1px extra margin between outer table and inside tables */ } table.ItemDisplayComponentOuterTable tr { vertical-align: top; /* this will top align both details side and images side */ } table.ItemDisplayComponentOuterTable td { width: 100%; /* set cells to expand to fill parent block element */ } table.ItemDisplayComponentDetailsTable { width: 100%; /* set details table to expand to fill parent block element */ background: #CCEEFF; /* color of cell borders in details table */ } table.ItemDisplayComponentDetailsTable th { padding-left: 10px; padding-right: 10px; padding-top: 2px; padding-bottom: 2px; /* border: 2px outset; */ white-space: nowrap; vertical-align: middle; background: #A3BECC; /* background color of detail name cells */ } table.ItemDisplayComponentDetailsTable td { padding-left: 10px; padding-right: 10px; padding-top: 2px; padding-bottom: 2px; background: #B8D6E6; /* background color of detail data cells */ /* border: 2px outset; */ } table.ItemDisplayComponentImagesTable { width: 100%; padding-top: 10px; padding-bottom: 10px; background: #CCEEFF; /* background color for images table (column) */ } table.ItemDisplayComponentImagesTable tr { } table.ItemDisplayComponentImagesTable td { padding-left: 10px; padding-right: 10px; padding-top: 15px; padding-bottom: 15px; /* background: #EEFFCC; */ /* dont think this parameter is used */ /* border: 2px outset; */ }

/* End Item Display CSS attributes */

/* Warning boxes for things like the block log on IP/user pages should be formated as such */ div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon { clear: both; margin: 0.2em 0px; border: 1px solid #BB7070; background: none repeat scroll 0% 0% #FFDBDB; padding: 0.25em 0.9em; }