MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After publishing, 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: Press Ctrl-F5.
/* CSS placed here will be applied to all non-mobile skins */
/* For mobile site, edit MediaWiki:Mobile.css */
html body {
background: url("https://necessewiki.com/mediawiki/images/background.png") no-repeat fixed center bottom / cover #e6e6e6;
height: auto !important;
margin-top: 0 !important;
min-height: 100%;
display: flex;
flex-direction: column;
}
@font-face {
font-family: 'Necessebit';
src: url(https://necessewiki.com/mediawiki/resources/assets/necessebit.ttf) format('truetype');
}
.necesse-title-image {
width: 100%;
max-width: 640px;
height: auto;
}
.necesse-content-cell {
box-shadow: inset 0 0 2px 2px #cccccc, 0 0 2px 2px #282828;
background: #f0f0f0;
}
.necesse-header {
font-family: 'Necessebit';
font-size: 24px;
font-weight: bold;
color: #282828;
text-shadow: 0px 2px 1px #919191;
}
.necesse-main-menu-game {
min-width: 300px;
}
.necesse-main-menu-world {
min-width: 300px;
}
@media only screen and (min-width: 1000px) {
.necesse-main-menu-game {
min-width: 600px;
}
.necesse-main-menu-world {
min-width: 650px;
}
}
.itemplate {
margin: 1px 5px 1px 2px;
display: block;
white-space: nowrap;
}
.necesse-infobox {
box-shadow: inset 0 0 2px 2px #cccccc, 0 0 2px 2px #282828;
background: #f0f0f0;
float: right;
margin-left: 15px;
margin-bottom: 15px;
min-width: 300px;
}
.infobox {
float: right;
width: 300px;
}
.infobox-table {
width: 100%;
}
.infobox-header {
text-align: center;
font-size: 20px;
}
.infobox-region {
background-color: #454545;
border-radius: 5px;
font-weight: bold;
text-align: center;
color: #ddd;
text-shadow: 0px 2px 2px #000;
}
.infobox-section {
padding-left: 10px;
color: black;
white-space: nowrap;
vertical-align: top;
}
.infobox-detail {
padding-right: 10px;
}
.wikitable {
border-collapse: separate;
border: none;
background-color: initial;
}
.wikitable.rounded {
border: 1px solid rgba(0, 0, 0, 0.5);
border-radius: 5px;
padding: 0.1em;
}
.wikitable tr th {
background-color: #454545;
padding: 0.2em 0.4em;
text-align: center;
font-weight: bold;
font-size: 16px;
color: #ddd;
text-shadow: 0px 2px 2px #000;
border: 1px solid #111;
}
.wikitable tr th a {
color: #99d;
}
.wikitable tr th a.new {
color: #ba0000;
}
.wikitable tr td {
background-color: #f0f0f0;
padding: 0.2em 0.4em;
border: 1px solid #aaa;
}