MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
(No difference)
|
Latest revision as of 19:14, 14 July 2024
/* CSS placed here will be applied to all skins */
/* Weights can be grabbed if necessary */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans');
@import url('https://fonts.googleapis.com/css2?family=Montserrat');
.mw-body h1,
.mw-body-content h1,
.mw-body-content h2,
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6 {
font-family: 'Montserrat', sans-serif;
}
body {
font-family: 'Open Sans', sans-serif;
}
.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;
}
.mw-collapsible span.mw-collapsible-toggle {
float:left;
margin-left:0;
margin-right:1em;
vertical-align:bottom;
}
.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;
}