MediaWiki:Vector.css

From The Viking Age Compendium
Revision as of 16:58, 16 August 2015 by Admin (Talk | contribs)

Jump to: navigation, search

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 affect users of the Vector skin 


/* Background format based on the code from 
http://kamelopedia.mormo.org/index.php/MediaWiki:Vector.css*/

 body {
    background-color: #fcf6e4;
    background-image: url(http://www.vikingage.org/wiki/skins/Viking/MW_V_page-base.png);
 }
 
 #mw-page-base {
    background-color: #fff;
    background-image: url(http://www.vikingage.org/wiki/skins/Viking/MW_V_page-fade.png);
 }
 
div.vectorTabs, div.vectorTabs span, div.vectorMenu h5 a {
    background-image: url(http://www.vikingage.org/wiki/skins/Viking/MW_V_tab-break.png);
 }
 
 #content {
    background-image: url(http://www.vikingage.org/wiki/skins/Viking/MW_V_border.png) !important;
 }
 
 #mw-head-base {
    background-image: url(http://www.vikingage.org/wiki/skins/Viking/MW_V_border.png);
 }
 
 #footer {
    background-image: url(http://www.vikingage.org/wiki/skins/Viking/MW_V_border.png) !important;
 }
 
 div.vectorTabs ul li {
    background-color: #fcf6e4;
    background-image: url(http://www.vikingage.org/wiki/skins/Viking/MW_V_tab-normal-fade.png);
 }
 
div.vectorTabs li.selected {
    background-image: url(http://www.vikingage.org/wiki/skins/Viking/MW_V_tab-current-fade.png);
 }

/* hide the header on the first page */
body.page-Main_Page.action-view h1.firstHeading {
    display: none !important;

/* workaround for small font sizes in some browsers: see https://bugzilla.wikimedia.org/show_bug.cgi?id=23708 */
pre.css.source-css,               /* MediaWiki:*.css, User:*.css */
pre.javascript.source-javascript, /* MediaWiki:*.js, User:*.js */
pre.lua.source-lua,               /* Module:* */
div.mw-geshi pre,                 /* source enclose="pre" */
div.mw-geshi div,                 /* source enclose="div" */
span.mw-geshi                     /* source enclose="none" */ {
    font-family: monospace, sans-serif !important;
}
*/