Difference between revisions of "MediaWiki:Common.css"
From Wildermyth Wiki
(Added Alegreya regular and bold font) |
(Added background images, changed some other styling things) |
||
Line 2: | Line 2: | ||
@import url('https://fonts.googleapis.com/css?family=Alegreya:400,700&display=swap'); | @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 */ | |||
content.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; | |||
} |
Revision as of 09:33, 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 */
content.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;
}