MediaWiki:Common.css
Jump to navigation
Jump to 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */
#content { background-color: wheat; }
/* Temporary area for options discovered - to be used later, after editing
.editOptions{background-color:#333;border-color:#4c4c4c} - Color for the edits options at the bottom of a page */
/* Code for the background image and general page color */
body {
background-image: url(http://images.shoutwiki.com/en.journey/8/87/JourneyBackground.png);
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: right center;
}
/* Wikitable stuff */
#toc,div.toc,ul#filetoc,li.gallerybox div.thumb{background-color:#F2DAA9;border-color:darkgray}
code{border:none;background-color:inherit;color:inherit}
table.mw_metadata td,table.mw_metadata th,table.wikitable,table.wikitable>*>tr>th,table.wikitable>*>tr>td,pre{/*((Text))color:#F2D69D;*/background-color:#F2DAA9;border-color:darkgray}
table.mw_metadata th,table.wikitable>*>tr>th{background-color:#F2D69D}
table.diff{background-color:#F2DAA9}
td .diffchange{color:#F2DAA9}
/* Class for Infobox template styling */
.infoStyle {
border: 1px solid darkgray;
background-color: #F2DAA9;
font-size:90%;
width:250px;
float:right;
}
/**********************************************************************************************************
* Used by [[Template:Key]] - from help.gamepedia.com/MediaWiki:Common.css - dark and light are switched *
**********************************************************************************************************/
.key {
display:inline-block;
white-space:nowrap;
}
.key kbd {
padding: 0.1em 0.6em 0.1em 0.6em;
margin-right:2px;
font-size:85%;
font-family:inherit;
font-style:normal;
border-radius: .2em;
}
/* Light Wiki Variation */
.keysLight {
color:black;
border: 1px solid rgb(170, 170, 170);
box-shadow: 0.1em 0.2em 0.2em rgb(221, 221, 221);
background-image: linear-gradient(to bottom, rgb(238, 238, 238), rgb(249, 249, 249), rgb(238, 238, 238));
background-color: rgb(249, 249, 249);
}
/* Dark Wiki Variation */
.keysDark {
color:white;
border: 1px solid rgb(0, 0, 0);
box-shadow: 0.1em 0.2em 0.2em rgb(0, 0, 0);
background-image: linear-gradient(to bottom, rgb(0, 0, 0), rgb(15, 15, 15), rgb(30, 30, 30));
background-color: rgb(30, 30, 30);
}
/******************************
* End Template:Key coloration *
*******************************/