MediaWiki:Monobook.css

From SourceWatch
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac); IE: hold Ctrl while clicking Refresh, or press Ctrl-F5; Konqueror:: simply click the Reload button, or press F5; Opera users may need to completely clear their cache in Tools→Preferences.

/* edit this file to customize the monobook skin for the entire site */

/*<pre><nowiki>*/

/* This is the plainlinksneverexpand class. It is copied from
   http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css
   It's used by Template:Ref to hide the "external link" arrow on
   the external links generated by that template. This makes them
   look as if they're internal links. */

.plainlinksneverexpand {
  background: none ! important;
  padding: 0 ! important;
}

.plainlinksneverexpand .urlexpansion {
  display: none ! important;
}

.plainlinksneverexpand a {
   background: none !important;
   padding: 0 !important;
}

.plainlinksneverexpand a.external.text:after {
  display: none !important;
}
.plainlinksneverexpand a.external.autonumber:after {
  display: none !important;
}

/* =============================================================
   These settings govern the appearance of SourceWatch's site
   notice, which appears above the page title. Its contents
   are defined by the special article MediaWiki:Sitenotice. */

#siteNotice {
    text-align: right;
    font-size: 90%;
    padding: 0 0 0 0;
    margin-top:0px;
    margin-bottom:0px;
    color:black;
    background-color: white;
    border: 0px;
}
#siteNotice p { margin: none; padding: none; }

#siteNotice a { color:blue; }

/* =========================================================================
   Suppress the page title on ALL pages in the Special namespace.
   This trick is described here:
   http://mail.wikipedia.org/pipermail/mediawiki-l/2005-June/005426.html */

   /* Now commented out, as there's no satisfactory way of restoring
   the default page titles for those Special pages whose titles you
   DONT want to customize. Better support in Wikimedia 1.6 for if-else
   might help here, but it's not a priority.
   .ns--1 .firstHeading { display: none } */

/* =========================================================================
   This class defines the appearance of 'bespoke' page headings generated
   by Template:SiteNavbar's helper templates
   (such as Template:SiteNavbar:MostPopular).
   It should have the same appearance as the regular class "firstHeading"
   if it's possible to find out what the relevant values are...*/

.bespokeFirstHeading {
   text-align: left;
   font-size: 14pt;
   font-style: italic;
}

/*</nowiki></pre>*/