MediaWiki:Common.css

From MassiveCraft Wiki
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 skins */

@import url('https://fonts.googleapis.com/css?family=Open+Sans');

.navbox-title
{
	width: 100%;
	min-width:100%;
}

body, body #mw-page-base {
	background: url(https://wiki.massivecraft.com/images/e/ee/Bg3.png);
	background-repeat: no-repeat;
}

#simpleSearch input {
    background-color: #ffffff;
}

.scroll-table table {
	max-width: 100%;
	overflow: hidden;
	display: block;
	overflow-x: auto;
	white-space: nowrap;
}

.eighty-width img {
    width: 80%;
    height: auto;
}

.fifty-width-left img {
    width: 50%;
    height: auto;
    float: left;
}

.fifty-width-right img {
    width: 50%;
    height: auto;
    float: right;
}

.twenty-five-width-left img {
    width: 25%;
    height: auto;
    float: left;
}

.twenty-five-width-right img {
    width: 25%;
    height: auto;
    float: right;
}

.topbanner img {
    max-width: 100%;
    height: auto;
}

.topbanner-var img {
    max-width: 100%;
    height: auto;
    border-radius: 25px;
    padding-bottom: 20px;
}

.proficiency {
	flex-flow: row wrap;
}

.proficiency h2 {
	border: none;
}

.proficiency ul {
    columns: 3;
    width: 600px;
}

.proficiency li {
    margin-bottom: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    border: 2px solid;
}

.button-contain {
	font-size:160%;
	padding-left: 10px;
	padding-right: 10px;
}

.infobox {
	border: 1px solid #C9D8CC;
	border-spacing: 0;
}
	
#bodyContent .plainlinks a {
	background: none !important;
	padding: 0 !important;
	color: #002bb8 !important;
}

table.testtable {
     background-image:url('https://wiki.massivecraft.com/images/2/2c/Altalook.png');
}

/* {{pp|small=yes}} */
.div-col {
	margin-top: 0.3em;
	column-width: 40em;
	column-rule: 1px solid #aaa;
}

/* Reset top margin for lists in div col */
.div-col dl,
.div-col ol,
.div-col ul {
	margin-top: 0;
}

/* Avoid elements breaking between columns
   See also Template:No col break */
.div-col li,
.div-col dd {
	page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
	break-inside: avoid-column;
}

/* {{pp|small=yes}} */
.div-col-rel {
	margin-top: 0.3em;
	column-width: 40em;
	column-rule: 1px solid #aaa;
}

/* Reset top margin for lists in div col */
.div-col-rel dl,
.div-col-rel ol,
.div-col-rel ul {
	margin-top: 0;
}

/* Avoid elements breaking between columns
   See also Template:No col break */
.div-col-rel li,
.div-col-rel dd {
	page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
	break-inside: avoid-column;
}