Difference between revisions of "MediaWiki:Common.css"

From Wildermyth Wiki
(Added background images, changed some other styling things)
(Fixed body image not showing up)
Line 11: Line 11:


/* Main content body */
/* Main content body */
content.mw-body {
.mw-body {
     background-image: url(images/b/bc/PaperTextureTile.png);
     background-image: url(images/b/bc/PaperTextureTile.png);
     margin-right: 3em;
     margin-right: 3em;

Revision as of 09:35, 18 November 2019

/* CSS placed here will be applied to all skins */

@import url('https://fonts.googleapis.com/css?family=Alegreya:400,700&display=swap');

/* Background image */
body {
    background-image: url(images/5/58/CreditsBG.jpg);
    background-attachment: fixed;
    background-size: cover;
}

/* Main content body */
.mw-body {
    background-image: url(images/b/bc/PaperTextureTile.png);
    margin-right: 3em;
}

/* Side navigation panel*/
div#mw-panel {
    background-image: url(images/f/fd/TextboxSpeech.png);
    background-size: cover;
    background-position: right;
    padding-bottom: 1em;
}

/* Footer */
div#footer {
    margin-right: 3em;
    background-image: url(images/c/cb/TextboxThought.png);
    background-size: cover;
}

/* Headers */
h1 {
    font-family: "Alegreya","Linux Libertine",Georgia,Times,serif;
}