Difference between revisions of "MediaWiki:Vector.css"

From The Viking Age Compendium
Jump to: navigation, search
m
m
Line 43: Line 43:
 
body.page-Main_Page.action-view h1.firstHeading {
 
body.page-Main_Page.action-view h1.firstHeading {
 
     display: none !important;
 
     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;
 +
}

Revision as of 18:54, 24 February 2013

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