MediaWiki:Common.css

Revision as of 17:53, 4 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 */

/* make the background behind the content area and the tabs a light grey */
#content, #content table
#p-cactions ul li a { background: #545454; }

/* stop background image from scrolling with content area */
/*body { background-attachment: fixed; }

/* replace the book in the background with something else */
body { background: black; }
#content { color: white; }
#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; }


/* change header colors
/*.header_outer { background: red; }
/*.header_container { background: purple; }
/*.header { background: yellow; }
/*#header { background: green; }

/* changes the background of pre areas  */
/*pre { background: green; }

/* change the logo */
/* #p-logo a { background: url(http://www.compneurosci.com/images/bg_visual.jpg) 35% 50% no-repeat; }

/* style the search box and the buttons below it */
.searchButton {
    background-color: #efefef;
    border: 1px outset;
}
#searchInput { border: 1px inset; }

/* standard link colors */
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; }

/* 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-top-right-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: 100%;
  /* Prevent content overlay when sidewards scrolling */
  background-color: Black;
  border-right: 1px solid #A7D7F9;
}
/* Prevent sidewards scrolling in pre elements */
pre {
  overflow: auto;
  max-height: 25em;
}