 common css for all skins wikitable prettytable class for skinning normal tables table wikitable table prettytable margin 1em 1em 1em 0; background #f9f9f9; border 1px #aaaaaa solid; border-collapse collapse; table wikitable th table wikitable td table prettytable th table prettytable td border 1px #aaaaaa solid; padding 0 2em; table wikitable th table prettytable th background #f2f2f2; text-align center; table wikitable caption table prettytable caption margin-left inherit; margin-right inherit; style for notices notice text-align justify; margin 1em; padding 0 2em; #disambig border-top 3px double #cccccc; border-bottom 3px double #cccccc; #spoiler border-top 2px solid #ddd; border-bottom 2px solid #ddd; standard talk template style talk-notice border 1px solid #c0c090; background-color #f8eaba; margin-bottom 3px; width 80 ; border-spacing 3px; margin-left auto; margin-right auto; talk-notice after content the css for this template should be changed see wikipedia template standardisation ; make template background appear correctly on all browsers talk-notice td background inherit; metadata table metadata border 1px solid #aaaaaa; display none; speak none; metadata-label color #aaaaaa; makes redirects appear in italics on special allpages allpagesredirect font-style italic; choose whether to have ad bc dates or ce bce dates first the default display both see templates adce and bcebc for how these are used use_default_date_convention display inline; use_ad_and_bc display none; use_bce_and_ce display none; if you want to display ad and bc add the following to user you monobook css page use_default_date_convention display none; use_ad_and_bc display inline; use_bce_and_ce display none; if you want to display ce and bce add the following to user you monobook css page use_default_date_convention display none; use_ad_and_bc display none; use_bce_and_ce display inline; class for links with loudspeaker icon next to them audiolink a background url center left no-repeat important; padding-left 16px important; padding-right 0 important; add formatting to make sure that external references from template ref do not get url expansion not even when printed the mechanism up to mediawiki 1 4 was that the html code contained a span following the anchor a; this span had the class urlexpansion which was not displayed on screen but was shown when the medium was print the rules below ensure a that there is no extra padding to the right of the anchor displayed as b that there is no external link arrow for the link and c that this span of class urlexpansion is never shown plainlinksneverexpand background none important; padding 0 important; plainlinksneverexpand urlexpansion display none important; make sure that ext links displayed within plainlinksneverexpand don't get the arrow plainlinksneverexpand a background none important; padding 0 important; with mediawiki 1 5 the mechanism has changed instead of a span of class urlexpansion following the anchor a the anchor itself now has class external autonumber and the expansion is inserted when printing see the common printing style sheet at using the after pseudo- element of css we have to switch this off for links due to template ref plainlinksneverexpand a external text after display none important; plainlinksneverexpand a external autonumber after display none important; merge template style messagebox border 1px solid #aaaaaa; background-color #f9f9f9; width 80 ; margin 0 auto 1em auto; padding 2em; text-align justify; messagebox merge border 1px solid #cf9fff; background-color #f5edf5; text-align center; messagebox cleanup border 1px solid #9f9fff; background-color #efefff; text-align center; messagebox standard-talk border 1px solid #c0c090; background-color #f8eaba; adventure descriptive text style desc border 1px solid #999999; background-color #c6c6c6; color black; margin-left 5em; margin-right 5em; padding 0 2em; infobox template style infobox border 1px solid #aaaaaa; background-color #f9f9f9; color black; margin-bottom 0 5em; margin-left 1em; padding 0 2em; float right; clear right; infobox td infobox th vertical-align top; infobox caption font-size larger; margin-left inherit; infoboxleft border 1px solid #aaaaaa; background-color #f9f9f9; color black; margin-bottom 0 5em; margin-right 1em; padding 0 2em; float left; clear left; infoboxleft td infoboxleft th vertical-align top; infoboxleft caption font-size larger; margin-right inherit; infobox bordered border-collapse collapse; infobox bordered td infobox bordered th border 1px solid #aaaaaa; infobox bordered borderless td infobox bordered borderless th border 0; infoboxleft bordered border-collapse collapse; infoboxleft bordered td infoboxleft bordered th border 1px solid #aaaaaa; infoboxleft bordered borderless td infoboxleft bordered borderless th border 0; infobox sisterproject width 20em; font-size 90 ; support for template ipa template unicode and template polytonic 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; #wpsave font-weight bold; hiddenstructure from monobook - allows selective hiding of markup in templates hiddenstructure display none; speak none; removes underlines from links nounderlines a text-decoration none; css for testing a new main page design see wikipedia wikiproject usability main page #enwpmainpage width 100 ; margin-top 1em; #enwpmainpage h2 font-size 130 ; font-weight bold; margin 0; padding 0; border 0; #enwpmpmargin margin-right 13 8em; #enwpmpcol1 float left; clear left; width 50 ; #enwpmpcol2 width 49 9 ; float left; #enwpmpbrowse background #f8fcff url no-repeat 180 9 ; border 1px solid #c7c7c7; #enwpmpbrowsecats li font-size 85 ; margin-left 1em; line-height 1 5; #enwpmpbrowsecats h3 font-size 120 ; margin 2em 0 1em - 8em; padding 0; font-weight normal; #enwpmpbrowsecats h3 a font-weight bold; #enwpmpbook background-image url #enwpmpfeaturedpic text-align center; margin 0 0 5em; font-size 85 ; font-weight bold; #enwpmpfeaturedpic h2 font-size 145 ; text-align left; enwpmpbrowseright float right; width 12 7em; enwpmpbrowsebottom margin 1em 0; enwpmpbrowsebottom #enwpmpbrowsecats li enwpmpbrowsebottom #enwpmpusefullinks enwpmpbrowsebottom #enwpmpfeaturedpic float left; width 24 ; margin 0; line-height normal; enwpmpbrowsebottom #enwpmpbrowsecats h3 margin-left 0; #enwpmpusefullinks clear left; #enwpmpsearch background url no-repeat top right; #enwpmpsearch input vertical-align middle; #enwpmpsearchinner float right; width 20em; text-align center; #bodysearchmp margin 0; padding 0; #bodysearchmp bodysearchwrap float right; width 17 5em; text-align left; padding 8em 0; #bodysearchmp label display block; font-size 95 ; font-weight bold; margin-bottom - 2em; #bodysearchmp bodysearchbtngo font-weight bold; padding-left 3em; padding-right 3em; margin-left 5em; enwpmpcontentbox border 1px solid; margin-bottom 9em; #enwpmpcol2 enwpmpcontentbox margin-left 9em; enwpmpimage float right; margin 0 0 2em 2em; enwpmpimage img position relative; z-index 3; #enwpmpsisterprojects float left; width 49 ; enwpmpsisterproject float left; width 17em; margin 0; height 5 5em; margin 0; enwpmpsisterimg float left; width 40px; height 100 ; #enwpmpotherlangs margin-left 50 ; #enwpmainpagenocss display none; #enwpmpbook2 background-image url #enwpmpsearch2 background url no-repeat top right; custom link colors for use in mediawiki edittools charboxblack a link charboxblack a hover charboxblack a visited charboxblack a active color black; charboxsilver a link charboxsilver a hover charboxsilver a visited charboxsilver a active color silver; charboxgray a link charboxgray a hover charboxgray a visited charboxgray a active color gray; charboxwhite a link charboxwhite a hover charboxwhite a visited charboxwhite a active color white; charboxmaroon a link charboxmaroon a hover charboxmaroon a visited charboxmaroon a active color maroon; charboxred a link charboxred a hover charboxred a visited charboxred a active color red; charboxpurple a link charboxpurple a hover charboxpurple a visited charboxpurple a active color purple; charboxfuchsia a link charboxfuchsia a hover charboxfuchsia a visited charboxfuchsia a active color fuchsia; charboxgreen a link charboxgreen a hover charboxgreen a visited charboxgreen a active color green; charboxlime a link charboxlime a hover charboxlime a visited charboxlime a active color lime; charboxolive a link charboxolive a hover charboxolive a visited charboxolive a active color olive; charboxyellow a link charboxyellow a hover charboxyellow a visited charboxyellow a active color yellow; charboxnavy a link charboxnavy a hover charboxnavy a visited charboxnavy a active color navy; charboxblue a link charboxblue a hover charboxblue a visited charboxblue a active color blue; charboxteal a link charboxteal a hover charboxteal a visited charboxteal a active color teal; charboxaqua a link charboxaqua a hover charboxaqua a visited charboxaqua a active color aqua; 