MediaWiki:Common.css

Revision as of 17:27, 5 March 2016 by Gunnar (Talk | contribs)

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* CSS placed here will be applied to all skins */

/* change standard link colors */
a,
a:link { color: White; }
a:visited { color: #DCDCDC; }
a.new:link { color: White; }
a.new:visited { color: #DCDCDC; }
a.extiw:link { color: White; } /* links to other Wikipedias */
a.extiw:visited { color: #DCDCDC; }
a.external:link { color: White; } /* external links */
a.external:visited { color: #DCDCDC; }

/* change standard link colors */
.mw-body a:link { color: white; } /* normal unvisited links */
.mw-body a:link:visited { color: #DCDCDC; } /* visited links */
.mw-body a:link:active { color: white; } /* active links */
.mw-body a:link.new { color: white; } /* new links */
.mw-body a:link.interwiki { color: white; } /* interwiki links */
.mw-body a:link.external { color: white; } /* external links */
.mw-body a:link.stub { color: white; } /* hovered links */
 
.mw-body a:link {color: white}
.mw-body a:visited {color: #DCDCDC}
.mw-body a:hover {color: #DCDCDC}
.mw-body a:active {color: #DCDCDC}


/* make the background behind the content area and the tabs a light grey */
#content, #content table
#p-cactions ul li a { background: #545454; }
/*#mw-head-base ul li a { border-left: 0px solid #545454;
/*  border-right: 0px solid #545454; }


/* adjust colors */
body { background: black; }
h1 { color: white; }
h2 { color: white; }
h3 { color: white; }

#content { color: white; 
  border-left: 1px solid #545454;
  border-bottom: 1px solid #545454;
}
#mw-head { background: black; }
#mw-body { background: black; }
#ca-nstab-mediawiki { background: black; }
#ca-talk { background: black; }
#ca-view { background: black; }
#ca-edit { background: black; }
#ca-history { background: black; }
.ca-history a { color: white; }
#ca-unwatch { background: black; }
#ca-delete { background: black; }
#ca-move { background: black; }
#ca-nstab-main { background: black; }
#ca-viewsource { background: black; }
#ca-watch { background: black; }
#ca-nstab-special { background: black; }
#ca-nstab-project { background: black; }
#ca-addsection { background: black; }
#ca-protect { background: black; }
.editOptions { background: #545454; }
#p-navigation-label { color: white; }
head li { border-right: 0px solid black }

/* change the logo */
#p-logo { background-image: url(/pics/gb.png) 35% 50% no-repeat; }


/* put scrollbar on pre sections instead of ugly cutoff/overlap in Firefox */
pre { overflow: auto; }


/* make a few corners round */
/*#p-cactions ul li, #p-cactions ul li a {
/*  border-top-left-radius: 1em;
/*  border-bottom-left-radius: 1em;
/*}
/*#content {
/*  border-top-left-radius: 1em;
/*  border-bottom-left-radius: 1em;
/*}
/*.pBody {
/*  border-top-right-radius: 1em;
/*  border-bottom-right-radius: 1em;
/*}


/* Fix sidebar */
div#mw-panel { position: fixed;
  overflow: auto;
  top: 100px;
/*  bottom: 0px;
  height: auto;
  /* Prevent content overlay when sidewards scrolling */
  background-color: Black;
  border-right: 2px solid #545454;
  border-left: 2px solid #545454;
  border-top: 2px solid #545454;
  border-bottom: 2px solid #545454;
}
/* Prevent sidewards scrolling in pre elements */
pre {
  overflow: auto;
  max-height: 25em;
}

/* change sidebar
#n-randompage {display:none}