Jump to content

User:HiB2Bornot2B/greylady.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/*
WIKIPEDIA.ORG - GREY LADY LOOK
This style sheet overhauls Wikipedia for simplicity, legibility and style.

LANGUAGE CUSTOMIZATION
The list of sister article links is governed by the negation selector:

    #p-lang ul li
	:not(.interwiki-da)
	:not(.interwiki-de)
	:not(.interwiki-en)
	etc.
	{display:none !important;}

	(do not edit the above demonstration code - for custmoization locate the section entitled 'language class selectors')

meaning that any list items that are not of one of the classes listed (the .interwiki-xx's) should not be displayed (two negatives = those listed should be displayed). Remove the lines containing those that are of no use to you and substitute your own (e.g. :not(.interwiki-ja) if you want to see links to the Japanese wikipedia.) The default set include the top ten wikipedias using western-style alphabets by number of articles (plus Danish). Find more languages classes at http://meta.wikimedia.org/wiki/Complete_list_of_language_Wikipedias_available.

PLEASE NOTE THAT
- The width of the wrapper element is ~1000 pixels so use should probably be restricted to screen widths surpassing 1024px
- The appearance of special pages, main pages and portals across international wikipedias can vary wildly. Due to time/interest constraints usually only the English-language ones are specifically targeted. Try emailing a request/solution if you think something really needs work.
- The printer-friendly-page is not printer-friendly (solution: turn off the style before going to the PFP)
- As different people have different concepts of what's useful, this version defaults to not removing or hiding any links or messages. Check the section Messageboxes and uncomment the appropriate line, if you wish to turn off the less urgent warnings/messages.
- You can let me know of any problems or suggestions at the userstyles.org forum thread: http://userstyles.org/forum/comments.php?DiscussionID=129 or by
email: chochem at gmail dot com.
*/

@-moz-document 
	domain(meta.wikimedia.org),
	domain(commons.wikimedia.org),
	domain(species.wikimedia.org),
	domain(wikimediafoundation.org),
	domain(wikisource.org),
	domain(wikiversity.org),
	domain(en.wiktionary.org),
	domain(en.wikibooks.org),
	domain(en.wikiquote.org),
	domain(en.wikipedia.org),
	domain(da.wikipedia.org),
	domain(de.wikipedia.org),
	domain(fr.wikipedia.org),
	domain(sv.wikipedia.org),
	domain(pl.wikipedia.org),
	domain(nl.wikipedia.org),
	domain(pt.wikipedia.org),
	domain(ru.wikipedia.org),
	domain(it.wikipedia.org),
	domain(es.wikipedia.org)
{



/* ******************************** */
/* GLOBAL                           */
/* ******************************** */

    body {
	font-family: Georgia, serif !important;
	background: #ffffff url('') 0 0 no-repeat !important;
	font-size: 15.5px !important;
	}
    #globalWrapper {
	width: 970px !important;
	margin: 15px auto 0px auto !important;
	padding: 0 !important;
	font-size: 15.5px !important;
	}



/* ******************************** */
/* CONTENT                          */
/* ******************************** */

/* 'column content' is a wrapper for 'content' which contains a heading and bodyContent; column content is only relative to the top of the page, as column-one has been absolutely positioned; the real positioner is content {top:90px} + globalwrapper {margin:15px} */
    #column-content {
	position: relative !important;
	margin: 0 !important;
	padding: 0 !important;
	}
    #content {
	background: white !important;
	margin: 0 !important;
	padding: 35px 0 0 14px !important;
	width: 100% !important;
	border: none !important;
	border-left: 1px solid !important;
	border-color: #999 !important;
	top: 105px !important;
	}
    div#bodyContent {
	width: 100% !important;
	text-align: justify !important;
	font-size: 15.5px !important;
	margin: 0 !important; padding: 0 !important;
	}



/* ******************************** */
/* COLMN-ONE & PORTLET CLASS        */
/* ******************************** */

/* Column-one contains all portlets (.portlet); it is at the end of the html so to get it at the top it is positioned absolutely; top-margin: 15px is set to correspond to the globalwrapper's margin */
    #column-one {
	position: absolute !important;
	width: 985px !important;
	height: 75px !important;
	padding: 0px !important;
	margin: 15px auto 0px auto !important;
	top: 0px !important;
	text-align: left !important;
	z-index: 10 !important;
	white-space: normal !important;
	font-size: 11px !important;
	background-image: url(http://pics.viharpander.dk/stylish/nohatlogo_75x72.gif) !important;
	background-repeat: no-repeat !important;
	}

    .portlet {margin: 0 !important;}
    .portlet ul,
    .portlet li {
	display: inline !important;
	margin: 0 !important;
	}
    .portlet h5 {display:none !important;}

    .pBody {
	border: none !important;
	padding: 0 !important;
	font-family: Helvetica, Arial, sans-serif !important;
	background-color: transparent !important;
	}
    .pBody ul li {
	margin: 0 !important;
	padding: 0 0.1em 0 0.1em !important;
	}
    .pBody li a {display: inline !important;}



/* ******************************** */
/* P-CACTIONS                       */
/* ******************************** */

/*  the tabs menu; positioned so that the left li border overlaps with the left content border; has a solid bottom border which is only seen between list items as it is overlapped by the list items; list and selected list items are equated, apart from the letter.spacing marking the currently selected list-link; bold font-weights are stamped out (why should the edit page be marked out??) */
    #p-cactions {
	position: absolute !important;
	top: 95px !important;
	left: 0 !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0  !important;
	float:left !important;
	text-transform: uppercase !important;
	white-space: normal !important;
	border-bottom:1px solid #999 !important;
        }
    #p-cactions ul {
	margin: 0 !important;
	padding: 0em !important;
	}
    #p-cactions li,
    #p-cactions li.selected {
	padding: 0.2em 0em 0.2em 0em !important;
	margin: 0 !important;
	border-style: solid solid none solid !important;
	border-color: #999 !important;
	}
    #p-cactions li a {
	background-color: #ffffff !important;
	color: #333 !important;
	font-family: Helvetica, Arial, sans-serif !important;
	text-transform: uppercase !important;
	}
    #p-cactions li.selected a {letter-spacing: 0.5em !important;}
    #p-cactions,
    #p-cactions ul,
    #p-cactions li,
    #p-cactions li.selected, 
    #p-cactions li a, 
    #p-cactions li.selected a
	{font-weight: normal !important;}



/* ******************************** */
/* P-PERSONAL                       */
/* ******************************** */

/*  my page, my talk etc.; postioned relatively (so it stays within the boundaries of columnone); NB: doesnt do this is the line is too long (long username); can be solved by increasing width of p-personal but this will interfere with p-cactions */

    #p-personal {
	position: relative !important;
	width: 500px !important;
	padding: 0 !important;
	margin: 0 !important;
	float: right !important;
	left: auto !important;
	right: 0px !important;
	text-align: right !important;
	top: 95px !important;
	overflow:hidden !important;
        }
    #p-personal .pBody li {
	margin-left: 0.8em !important;
	padding: 0 !important;
	}
    #p-personal ul {padding: 0 !important;}
    #p-personal li a {
	color: black !important;
	text-transform: lowercase !important;
	}
    #p-personal li a:hover {padding-bottom: 0 !important;}
    #pt-login {font-weight: normal !important}

/* login - the login / create account option displayed when not logged in */
    li#pt-userpage,
    li#pt-anonuserpage,
    li#pt-login {
	background: none !important;
	padding-left: 0 !important
	}



/* ******************************** */
/* TOP MENUS                        */
/* ******************************** */

/* Basic manipulation */
    #p-navigation,
    #p-Navigation,
    #p-tb,
    #p-lang,

    #p-participate 			/* wikimedia commons */, 
    #p-Community			/* wikibooks */, 
    #p-community			/* wikiversity */, 
    #p-Wikiquote_links			/* wikiquote */, 
    #p-Mitmachen 			/* german */, 
    #p-Contribuer 			/* french */,
    #p-interaction 			/* english */,
    div[id="p-comunit.C3.A0"] 		/* italian */,
    #p-navigation2			/* dutch */,
    div[id="p-colabora.C3.A7.C3.A3o"]	/* portuguese */,
    #p-participation 			/* russian */,
    #p-techniczne  			/* polish */
		/* no danish, swedish or spanish equivalents */ 
	{margin: 0.25em 0 !important;
	position: relative !important;
	width: 750px !important;
	float: left !important;
	top:-18px !important;
	}
#p-lang ul li
		{display:none !important;}
    #p-navigation {margin-top: 0 !important;}

  /* indent menus - following logo curvature */
    #p-navigation,
    #p-Navigation,
    #p-lang
	{left: 77px !important;}
    #p-tb,
    #p-participate 			/* wikimedia commons */, 
    #p-Community			/* wikibooks */, 
    #p-community			/* wikiversity */, 
    #p-Wikiquote_links			/* wikiquote */, 
    #p-Mitmachen 			/* german */, 
    #p-Contribuer 			/* french */,
    #p-interaction 			/* english */,
    div[id="p-comunit.C3.A0"] 		/* italian */,
    #p-navigation2			/* dutch */,
    div[id="p-colabora.C3.A7.C3.A3o"]	/* portuguese */,
    #p-participation 			/* russian */,
    #p-techniczne  			/* polish */
		/* no danish, swedish or spanish equivalents */
	{left: 87px !important;}

  /* list separator */
    #p-navigation ul li:before,
    #p-Navigation ul li:before,
    #p-tb ul li:before,
    #p-lang ul li:before,
    #p-participate li:before				/* wikimedia commons */, 
    #p-Community li:before				/* wikibooks */, 
    #p-community li:before				/* wikiversity */, 
    #p-Wikiquote_links li:before			/* wikiquote */, 
    #p-Mitmachen li:before 				/* german */, 
    #p-Contribuer li:before 				/* french */,
    #p-interaction ul li:before 			/* english */,
    div[id="p-comunit.C3.A0"] ul li:before 		/* italian */,
    #p-navigation2 ul li:before 			/* dutch */,
    div[id="p-colabora.C3.A7.C3.A3o"] ul li:before 	/* portuguese */,
    #p-participation ul li:before 			/* russian */,
    #p-techniczne ul li:before 				/* polish */
		/* no danish, swedish or spanish equivalents */
	{content: "\0020 \00BB \0020" !important;}

    /* menus - cut */
    #p-zmiany, 					/* polish */
    div[title*="Collegamenti"],			/* italian */
    div[title*="outros projetos"]		/* spanish */

	{display: none !important;}

  /* language class selectors */
    #p-lang ul li
	:not(.interwiki-da)
	:not(.interwiki-de)
	:not(.interwiki-en)
	:not(.interwiki-es)
	:not(.interwiki-fr)
	:not(.interwiki-it)
	:not(.interwiki-nl)
	:not(.interwiki-pl)
	:not(.interwiki-pt)
	:not(.interwiki-ru)
	:not(.interwiki-sv)
	{display:none !important;} 

/* For outstanding achievements in the field of excellence: remove featured-star from sister articles listings */
   li[title*="anbefalet"],
   li[title*="fremragende"], 
   li[title*="exzellent"],
   li[title*="destacado"],
   li[title*="qualità"],
   li[title*="medal"],
   li[title*="destaque"],
   li[title*="?????????"],
   li[title*="utvald"]
      {background-image: none !important}



/* ******************************** */
/* OTHER PORTLETS (SEARCH & LOGO)   */
/* ******************************** */

/* Search portlet */
    #p-search {
	position:relative !important;
	margin: 0 !important;
	padding: 0 !important;
	float: right !important;
	top:-13px !important;
	}
    #p-search .pBody {padding: 0 !important;}
    #searchBody {text-align: right !important;}
    #searchInput {margin-bottom: 4px !important;}
    #searchGoButton {font-weight: normal !important;}

/* Wikipedia logo */
/* Removed (logo-image is hardwired into the html so it has to go; substitute logo is background image for columnone as a whole - unfortunately this cannot be associated with a hyperlink ) */
    div#p-logo,
    div#siteNotice
	{display:none !important;}



/* ******************************** */
/* FOOTER                           */
/* ******************************** */

/* made part of content-flow (removed box-borders, added continuous left-hand-border), 'separated' by increasing padding, removed graphics */
    #footer {
	width: 100% !important;
	border-top: none !important;
	border-bottom: none !important;
	border-left: 1px solid !important;
	border-color: #999 !important;
	margin: 0 !important;
	padding: 200px 0 50px 14px !important;
	font-size: 70% !important;}
    #footer a {text-decoration: none !important;}
    div#f-poweredbyico,
    div#f-copyrightico,
    img[alt="Creative Commons License"]
	{display: none !important;}
    li#copyright:before {
	content: "\A \0020 \A A WikiMedia Project - Powered by MediaWiki \A" !important;
	white-space: pre !important;
	}



/* ******************************** */
/* TEXT                             */
/* ******************************** */

/* Headlines */
    h1 {
	font-variant: small-caps !important;
	font-size: 150% !important;
	border-bottom: none !important;
	padding-top: 0 !important;
	}
    h2 {
	width: auto !important;}
    h3 {font-weight: normal !important;}
    h3#siteSub {font-size: 84% !important;}
    div#contentSub {
	font-size: 84% !important;
	line-height: 1.2em !important;
	margin: 0 0 1.4em 0em !important;
	color: #7d7d7d !important;
	width: auto !important;
	}
    h4 {font-size: 100% !important;}

/* un-indenting the redirection notices using somewhat crude selectors (needed to distingush from discussion hierarchy use on talk pages) */

    /* div#stub {margin-left: -0.25em !important;} */

    .dablink {padding-left: 0 !important;}

    dl > dd > .dablink,
    dl > dd > .plainlinks,
    dl > dd > .noprint,
    dl > dd > .boilerplate,
    div.boilerplate > dl > dd > i:first-child,
    div#jump-to-nav + dl > dd > i:first-child,
    div.messagebox + dl > dd > i:first-child,
    div.notice + dl > dd > i:first-child,
    div.metadata + dl > dd > i:first-child,
    div.thumb + dl > dd > i:first-child,
    table + dl > dd > i:first-child,
    h2 + dl > dd > i:first-child,
    h3 + dl > dd > i:first-child,
    h4 + dl > dd > i:first-child {
      margin-left: -2em !important;}

/* Blockquote */
    blockquote {
       width: auto !important;
       border: none !important;
       margin: 1em !important;
       padding: 0 !important;
       background: none !important;
       font-style: italic !important;
       font-size: inherit !important;}

/* Code */
    code,
    pre
       {border: none !important; display: block !important;}

/* Hyperlinks */
    #bodyContent a,
    #content a,
    #footer a
       {text-decoration: none !important;}

/* Lists */



/* ******************************** */
/* TABLES & BOXES                   */
/* ******************************** */

/* Global */
    table {
	font-family: arial, sans-serif !important;
	font-size: 13px !important;
	position: static !important;}
    table[align="right"],
    table[style*="float: right"] {
	margin-left: 15px !important;
	margin-right: 0 !important}
    table[align="left"] {
	margin-left: 0 !important;
	margin-right: 15px !important;}

    td, th {padding: 0.5em !important;}
    td .thumb {border: none !important;}
    td code {background: transparent !important;}
    caption {font-family: arial, sans-serif !important;}

/* Exception: Tables that are not tables (lists and quotes) */
    #bodyContent > table[style*="background: transparent"],
    #bodyContent > table[style*="background-color: transparent"],
    #bodyContent > table[style*="background-color: inherit"],
    #bodyContent > table[style*="border: 0px"],
    #stub table,
    table.cquote {
	background-color: transparent !important;
	font-family: georgia, serif !important;
	font-size: 15.5px !important;}
    .references-small, .references-small table{font-family: georgia, serif !important;}

/* Notices */
    .notice {
	border: none !important;
	margin: 0 !important;
	font-family: arial, sans-serif !important;
	font-size: 90% !important;
	padding: 0.5em !important;}

    .spoiler {
	font-family: georgia, serif !important;
	font-size: 100% !important;
	margin: 0 !important;
	padding: 0 !important;}

/* Table of contents */
    .toc {
	background-color: white !important;
	border: none !important;
	margin: 1em 0 !important;
	padding: 0 !important;
	font-family: georgia, serif !important;
	font-size: inherit !important;}
    .toc td {
	margin: 0 !important;
	padding: 0 !important;}
    #toctitle {
	text-align: left !important;
	margin: 0 !important;}

/* toc boxes (mostly like toccolours) */
    #toc:not(.toc) {
	width: 100% !important;
	clear: both !important;
	border: thin solid #666666 !important;
	border-collapse: collapse !important;
	margin: 12px auto !important;
	background-color: white !important;
	font-family: arial, sans-serif !important;}

    /* general cell settings */
    #toc:not(.toc) th,
    #toc:not(.toc) td {
	width: auto !important;
	border: none !important;
	margin: 0 !important;
	padding: 0.5em !important;}

    /* text alignment and weight */
    #toc:not(.toc) td b {font-weight: normal !important;}

    /* width - distinguishing */
    #toc:not(.toc)[align="right"],
    #toc:not(.toc)[style*="float: right"],
    #toc:not(.toc)[style*="clear: right"],
    #toc.infobox {
	width: 20em !important; 
	float: right !important; 
	margin: 12px 0 12px 15px !important;}

    /* targetting headings - background */
    #toc:not(.toc) th:only-child[style*="background"],
    #toc:not(.toc) th:only-child[bgcolor*="#"],
    #toc:not(.toc) td:only-child[style*="background"],
    #toc:not(.toc) td:only-child[bgcolor*="#"] {
	border: thin solid #666666 !important;
	background-color: #666666 !important;
	color: #EEEEEE !important;
	text-align: center !important;
	font-size: 90% !important;}

    /* targetting headings - text */
    #toc:not(.toc) th:only-child[style*="background"] a,
    #toc:not(.toc) th:only-child[bgcolor*="#"] a,
    #toc:not(.toc) td:only-child[style*="background"] a,
    #toc:not(.toc) td:only-child[bgcolor*="#"] a 
	{color: #EEEEEE !important;}

/* Toccolours */
    .toccolours {
	border: thin solid #666666 !important;
	border-collapse: collapse !important;
	padding: 2px !important;
	background-color: white !important;
	font-family: arial, sans-serif !important;
	font-size: 85% !important;}

    /* general cell settings */
    .toccolours th,
    .toccolours td {
	width: auto !important;
	margin: 0 !important;
	padding: 0.5em !important;
	border: none !important;}
    .toccolours th:empty,
    .toccolours td:empty
	{display: none !important;}
    .toccolours td b {font-weight: normal !important;}
    .toccolours tr,.toccolours th, .toccolours td {border: none !important;border-width: 0px !important}

    /* text alignment and weight */
    .toccolours td:only-child {text-align: center !important}
    .toccolours ul {text-align: left !important}

    /* width - distinguishing */
/*  center > .toccolours, - commented out due to behaviour at Talk:Colonization_of_Mars */
    .toccolours[style*="margin: 0.5em auto"],
    .toccolours[style*="margin: 1em auto"],
    .toccolours[style*="margin: 0pt auto"],
    .toccolours[style*="margin-left: auto; margin-right: auto"],
/*  .toccolours[style*="clear: both"], - commented out due to combination of float: right & clear: both */
    .toccolours[style*="width: 100%"],
    .toccolours[align="center"] {
	width: 100% !important;
	clear: both !important;
	margin: 12px 0 !important;}

    /* targetting headings - background */
    .toccolours td:only-child[style*="background"],
    .toccolours td:only-child[bgcolor*="#"],
    .toccolours td:only-child[style*="font-size: large"],
    .toccolours th:only-child,
    .toccolours th[style*="background"]:only-child,
    .toccolours th[bgcolor*="#"]:only-child,
    .toccolours th[bgcolor*="a"]:only-child,
    .toccolours th[bgcolor*="e"]:only-child,
    .toccolours th[bgcolor*="i"]:only-child,
    .toccolours th[bgcolor*="o"]:only-child,
    .toccolours th[bgcolor*="u"]:only-child,
    .toccolours th[bgcolor*="y"]:only-child {
	border: none !important;
	background-color: #666666 !important;
	color: #EEEEEE !important;
	text-align: center !important;}
    .toccolours td:only-child[bgcolor*="#f0f1ff"] {
	border: none !important;
	background-color: inherit !important;
	color: black !important;}
    .toccolours caption {
	padding: 0.5em !important;
	border: thin solid #666666 !important;
	margin: 0 0 0 14px !important;
	background-color: #666666 !important;
	color: #EEEEEE !important;}

    /* headings - text */
    .toccolours .selflink {color: inherit !important;}
    .toccolours td:only-child[style*="background"] a,
    .toccolours td:only-child[bgcolor*="#"] a,
    .toccolours td:only-child[style*="font-size: large"] a,
    .toccolours th:only-child a,
    .toccolours th[style*="background"]:only-child a,
    .toccolours th[bgcolor*="#"]:only-child a,
    .toccolours th[bgcolor*="a"]:only-child a,
    .toccolours th[bgcolor*="e"]:only-child a,
    .toccolours th[bgcolor*="i"]:only-child a,
    .toccolours th[bgcolor*="o"]:only-child a,
    .toccolours th[bgcolor*="u"]:only-child a,
    .toccolours th[bgcolor*="y"]:only-child a,
    .toccolours caption a
	{color: #EEEEEE !important;}
    .toccolours td:only-child[bgcolor*="#f0f1ff"] a
	{color: black !important;}
    .toccolours th .noprint span {color: #EEEEEE !important;}

    /* special cases */
    .NavFrame .toccolours {margin: 0 !important;}
    .toccolours img {background-color: white !important;}
    .toccolours ul {font-family: arial, sans-serif !important;}

    /* image info */
    #shared-image-desc .toccolours th {
	border: none !important;
	background-color: #666666 !important;
	color: #EEEEEE !important;}
    #filetoc,
    .sharedUploadNotice table {
	border: none !important;
	font-family: arial, sans-serif !important;
	font-style: normal !important;}

    /* quotes */
    blockquote.toccolours {
	width: auto !important;
	border: none !important;
	margin: 1em !important;
	font-family: georgia, serif !important;}

/* Infoboxes */
    .infobox {
	border: thin solid #666666 !important;
	border-collapse: collapse !important;
	margin: 0 0 15px 15px !important;
	padding: 2px !important;
	background-color: white !important;
	font-family: arial, sans-serif !important;
	font-size: 85% !important;}

    /* general cell settings */
    .infobox th,
    .infobox td {
	border: none !important;
	margin: 0 !important;
	padding: 0.5em !important;
	background-color: white !important;
	color: black !important;
	font-weight: normal !important;}

    .infobox th div,
    .infobox td div
	{background-color: transparent !important;}
    .infobox th:only-child:empty,
    .infobox td:only-child:empty
	{display: none !important;}

    /* text alignment and weight */
    .infobox td,
    .infobox div {
	border: none !important;
	margin: 0 !important;
	background-color: white !important;
	color: black !important;
	font-weight: normal !important;}
    .infobox td b {font-weight: normal !important;}
    .infobox td:only-child {text-align: center !important}
    .infobox ul {text-align: left !important}

    /* targetting headings - background */
    .infobox th:only-child,
    .infobox caption,
    .infobox td.mergedtoprow,
    .infobox td:only-child[style*="background"],
    .infobox td:only-child[bgcolor*="#"],
    .infobox td:only-child[style*="font-size: large"],
    .infobox td:only-child[style*="font-size: larger"],
    .infobox td:only-child[style*="font-size: 110%"],
    .infobox td:only-child[style*="font-size: 120%"],
    .infobox td:only-child[style*="font-size: 130%"],
    .infobox td:only-child[style*="font-size: 140%"],
    .infobox td:only-child[style*="font-size: 150%"] {
	border: none !important;
	background-color: #666666 !important;
	color: #EEEEEE !important;
	text-align: center !important;}
    .infobox caption {
	padding: 0.5em 1em !important;
	border: thin solid #666666 !important;
	margin: 0 0 0 14px !important;}

    /* targetting headings - text */
    .infobox th:only-child a,
    .infobox caption a,
    .infobox td.mergedtoprow a, 
    .infobox td:only-child[style*="background"] a,
    .infobox td:only-child[bgcolor*="#"] a,
    .infobox td:only-child[style*="font-size: large"] a,
    .infobox td:only-child[style*="font-size: larger"] a,
    .infobox td:only-child[style*="font-size: 110%"] a,
    .infobox td:only-child[style*="font-size: 120%"] a,
    .infobox td:only-child[style*="font-size: 130%"] a,
    .infobox td:only-child[style*="font-size: 140%"] a,
    .infobox td:only-child[style*="font-size: 150%"] a 
	{color: #EEEEEE !important;}

    /* restoring bold to headings - is this needed? 
    .infobox td[style*="font-size: larger"] b,
    .infobox td[style*="text-align: center"] i b,
    .infobox th[style*="font-size: larger"],
    .infobox big,
    .infobox td.mergedtoprow b {
	font-weight: bold !important;
	text-align: center !important;} */

    /* sisterproject infoboxes */
    .sisterproject {
	margin-top: 12px !important;
	margin-bottom: 12px !important;
	padding: 1em !important;
	background-color: #EEEEEE !important;
	font-family: arial, sans-serif !important;
	text-align: left !important;}
    div.sisterproject {border: none !important;}
    .sisterproject div {background-color: #EEEEEE !important;}
    .sisterproject .floatleft,
    .sisterproject .floatnone {
	margin-right: 1em !important;
	clear: both !important;}

    /* Special cases */
    table.infobox ul {font-family: arial, sans-serif !important;}
    .infobox .infobox {border: none !important;}
    .infobox th[style*="font-size: 90%"],
    .infobox th[style*="font-size: 100%"] {
	background-color: white !important;
	color: black !important;} /* movie posters andthelike - now with fix for collateral damage */

/* 'Box' */
    .box {border: thin solid #AAAAAA !important;}

    /* targetting headings - background */
    .box th:only-child[style*="background"],
    .box th:only-child[bgcolor*="#"],
    .box th:only-child[bgcolor*="a"],
    .box th:only-child[bgcolor*="e"],
    .box th:only-child[bgcolor*="i"],
    .box th:only-child[bgcolor*="o"],
    .box th:only-child[bgcolor*="u"],
    .box th:only-child[bgcolor*="y"] {
	background-color: #AAAAAA !important;
	color: black !important;}
    .box th, .box td {padding: 0.5em !important}

    /* Special cases */
    table.box ul {font-family: arial, sans-serif !important;}

/* Navigation elements (collapsible theme tables) - see http://en.wikipedia.org/wiki/Template:Navbox_generic */

    .NavFrame,
    .NavHead,
    .NavContent,
    .navbox,
    .collapsible,
    table.navbox ul {
	font-family: arial, sans-serif !important;
	font-size: 12px !important;}
    .NavFrame span,
    .NavHead span,
    .NavContent span,
    .navbox span,
    .collapsible span
	{font-size: 100% !important;}
    .navbox span[style*="float:"] 
	{font-size: xx-small !important;}

    .NavFrame[style*="float: right"] {
	width: 200px !important;
	margin-left: 15px !important;}
    .NavFrame, .navbox {
	width: 100% !important;
	clear: both !important;
	margin-top: 12px !important;
	margin-bottom: 12px !important;
	border: thin solid #666666 !important;
	background-color: white !important;}
    .navbox {padding: 0 !important;}
    .NavFrame {padding: 2px !important;}


    /* targetting headings */
    .NavHead,
    table.navbox th[style*="text-align: center"]:only-child,
    table.navbox th:only-child,
    table.navbox td[style*="background-color"]:only-child {
	height: auto !important;
	width: auto !important;
	border: thin solid #666666 !important;
	border-collapse: collapse !important;
	padding: 0 0.5em !important;
	background-color: #666666 !important;
	color: #EEEEEE !important;}
    .NavHead .noprint span,
    .collapsible span, 
    .NavHead a,
    .navbox th[style*="text-align: center"]:only-child a,
    .navbox th:only-child a,
    table.navbox td[style*="background-color"]:only-child a,
    .navbox .plainlinksneverexpand,

    .NavToggle,
    .navbox .new span, 
    .navbox .external span
	{color: #EEEEEE !important;}

    /* NavContent */
    .NavContent,
    .NavContent .toccolours {
	width: auto !important;
	border: none !important;}
    .NavContent table,
    .NavContent td 
	{background-color: transparent !important;}

    /* subheadings */
    .navbox th,
    .NavContent th {
	border: none !important;
	background-color: white !important;
	color: black !important;
}
    .navbox th a,
    .NavContent th a {
	color: black !important;
	font-weight: bold !important;}

    /* Special cases */
    .infobox .NavHead a {color: black !important;}
    .NavHead div {background-color: #666666 !important;}
    .NavHead img {display: none !important;}
    table.NavContent ul {font-family: arial, sans-serif !important;}
    .navbox td {padding: 0.5em !important;}
    .navbox tbody {margin: 0 !important;}


/* Wikitables */
    .wikitable {
	margin-top: 12px !important;
	margin-bottom: 12px !important;
	text-align: left !important;
	border: none !important;
	background-color: #EEEEEE !important;
	font-family: arial, sans-serif !important;
	font-size: 88% !important;}

    /* general cell settings */
    .wikitable th {
	background-color: #AAAAAA !important;
	color: black !important;
	font-weight: bold !important;
	margin: 0 !important;
	padding: 0.5em !important;
	border: thin solid #AAAAAA !important;}
    .wikitable td {
	border: thin solid #AAAAAA !important;
	padding: 0.5em !important;}
    .wikitable table {
	background-color: inherit !important;}

    /* text alignment and weight */
    .wikitable td b {font-weight: normal !important;}

    /* Special cases */
    table.wikitable ul {font-family: arial, sans-serif !important;}

/* Portal boxes */
    div.tright[style*="font-size: 85%"] {
	float: right !important;
	border: none !important;
	margin: 15px 0 15px 15px !important;
	padding: 0.5em !important;
	background-color: #EEEEEE !important;
	font-family: arial, sans-serif !important;
	font-size: 85% !important;}
    div.tright[style*="font-size: 85%"] tr {
	margin: auto !important;}

/* Category links */
    #catlinks {
	font-size: 90% !important;
	text-align: center !important;
	border: none !important;
	margin-top: 36px !important;
	margin-bottom: 8px !important;
	background-color: #EEEEEE !important;
	font-family: arial, sans-serif !important;}
    p.catlinks > a:first-child {font-weight: bold !important;}
    p.catlinks > a:first-child:after {
	content: "\A" !important;
	white-space: pre !important;}

/* Galleries */
    .gallery {
	border: none !important;
	margin: 12px 0 !important;}
    .gallery td {background-color: #EEEEEE !important;}
    .gallerybox {background-color: transparent !important;}
    .gallerytext {
	background-color: transparent !important;  
	font-size: 80% !important;
	padding: 15px !important;
	text-align: justify !important;}

/*  Messageboxes (NPOVs and current events should display; others shouldn't (too goddamn many of them)) */
    .messagebox,
    .messagebox-beige {
	border: none !important;
	margin-bottom: 8px !important;
	background-color: #EEEEEE !important;
	font-family: arial, sans-serif !important;
	font-size: 90% !important;
	text-align: center !important;}

/*  .cleanup, 
    .protected,
    .linkless
	{display: none !important;} */



/* User templates */
    #TemplateBUser
	{border: none !important;} 

/* Chess boards */
    table[style*="background-color: rgb(255, 206, 158)"] td {
	margin: 0 !important;
	padding: 0 !important;}

/* Stubs */
    #stub,
    #stub table
	{font-family: georgia, serif !important;}



/* ******************************** */
/* IMAGES                           */
/* ******************************** */

    img {
	color: #DDDDDD !important;
	border: none !important;
	border-color: transparent !important;}
    .thumb {
	background-color: #EEEEEE !important;
	border: none !important;
	font-family: arial, sans-serif !important;
	margin: 0 !important;}
    div.thumb div {font-size: 90% !important;}
    .tleft {border-right: 1em solid white !important;}
    .tright {border-left: 1em solid white !important;}
    .tnone {
	border-left: 1em solid white !important;
	float: right !important;}
    .tleft,
    .tright,
    .tnone {
	border-bottom: 1em solid white !important;
	border-top: 1em solid white !important;}
    .thumbinner,
    .thumbcaption {
	background-color: #EEEEEE !important;
	color: black !important;
	border-color: #EEEEEE !important;}
    .thumbcaption {margin-top: 15px !important}
    .thumbcaption .magnify {display: none !important}
    .metadata img {background-color: transparent !important;}

/* Featured, spoken, semiprotected icons v-aligned with headline */
    .metadata {top: 35px !important;}
    #cornerbox {top: 20px !important;}
    #cornerbox {border: none !important;}



/* ******************************** */
/* MAIN PAGES AND PORTALS           */
/* ******************************** */

    /* english wikipedia mp */
    .MainPageBG,
    .MainPageBG table,
    table[style*="border: 1px solid rgb(204, 204, 204); background: rgb(252, 252, 252) none repeat scroll 0%; width: 100%;"],
    table[style*="border: 1px solid rgb(204, 204, 204); background: rgb(252, 252, 252) none repeat scroll 0%; width: 100%;"] table,
    table[style*="border: 1px solid rgb(204, 204, 204); background: rgb(252, 252, 252) none repeat scroll 0%; width: 100%;"] td {
	border: none !important;
	background-color: white !important;
	padding: 0 !important;
	font-family: georgia, serif !important;
	font-size: 15.5px !important;}
    .MainPageBG h2 {
	border: none !important;
	font-weight: normal !important;
	background-color: #CEDFF2 !important;}

    /* english wiktionary mp */
    table#main_page td {font-family: georgia, serif !important;}
    table#main_page td b:only-child {font-family: arial, sans-serif !important;}

    /* english portals */
    h2[style*="border"] span.mw-headline big,
    h2[style*="border"] span.mw-headline i,
    a[href*="action=edit"] span 
	{font-family: arial, sans-serif !important;}

}