Difference between revisions of "MediaWiki:Common.css"

From Wildermyth Wiki
(Fixed body image not showing up)
m (Added top margin to footer, fixed header font)
Line 14: Line 14:
     background-image: url(images/b/bc/PaperTextureTile.png);
     background-image: url(images/b/bc/PaperTextureTile.png);
     margin-right: 3em;
     margin-right: 3em;
}
}


Line 27: Line 28:
div#footer {
div#footer {
     margin-right: 3em;
     margin-right: 3em;
    margin-top: 1em;
     background-image: url(images/c/cb/TextboxThought.png);
     background-image: url(images/c/cb/TextboxThought.png);
     background-size: cover;
     background-size: cover;
Line 32: Line 34:


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

Revision as of 09:42, 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;
    margin-top: 1em;
    background-image: url(images/c/cb/TextboxThought.png);
    background-size: cover;
}

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