MediaWiki:Common.css
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 fonts */
@import url('https://fonts.cdnfonts.com/css/imperator');
@import url('https://fonts.cdnfonts.com/css/raleway-5');
@font-face {
font-family: 'Desmon';
src: url('/images/1/17/Desmon.ttf') format('truetype');
}
@font-face {
font-family: 'Cinzel Decorative';
src: url('/images/5/52/CinzelDecorative-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Cinzel Decorative Bold';
src: url('/images/6/64/CinzelDecorative-Bold.ttf') format('truetype');
}
body {
background-color: white;
font-family: 'Raleway', sans-serif;
}
h1, h2, h3, h4, h5 {
color: #174345;
}
a, a:visited, .toctogglelabel {
color: #29878C!important;
}
a.new, .vector-menu-tabs-legacy .new a, .vector-menu-tabs-legacy .new a:visited {
color: #FC6543;
}
*:focus-visible {
outline: 1px solid #174345;
}
/* CREATURE TABLES */
table.creature {
background-color: #f9f9f92b;
background: url("https://srd.mythcraftrpg.com/images/5/57/MythCraft-PaperTexture.jpg") scroll;
border: 2px solid #1C6EA4;
// font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
// width: 40%;
}
table.creature tbody td {
font-size: 14px;
}
table.creature thead {
background: #A0C3C7;
border-bottom: 0;
}
table.creature th {
font-size: 16px;
font-weight: bold;
color: #000000;
border-top: 2px solid #AAAAAA;
border-bottom: 2px solid #AAAAAA;
}
/* Common table styles */
table {
font-family: 'Raleway', sans-serif;
border-collapse: collapse;
width: 80%;
}
table.mw-collapsible {
text-align: left;
}
.wikitable {
background-color: white;
}
.wikitable > * > tr > td:has(img) {
padding: 0;
}
.wikitable > * > tr > td img {
height: auto;
max-width: 100%
}
.wikitable:has(img) {
table-layout: fixed;
}
.wikitable > tr > th, .wikitable > * > tr > th, .toc, .toccolours {
background-color: #FEEBB3;
}
/* To make images responsive */
.res-img img {
max-width: 80%;
height: auto;
}
.res-img p:has(img) {
text-align: center;
}
/* Take off "Main Page" from the home page */
body.page-Main_Page h1 {
display: none;
}
.mw-editsection {
display: none;
}
/* Content and panel styling */
body #content {
padding-right: 10%;
border-bottom: none;
border-top: 1px solid #29878C;
min-height: calc(100vh - 258px);
}
body.page-Main_Page table {
margin: auto!important;
margin-top: 10px!important;
margin-bottom: 10px!important;
}
body.page-Main_Page h2 {
text-align: center;
font-family: "Desmon",Sans-serif;
}
body.page-Main_Page #content {
padding-right: 1.5em;
}
.mw-body h1, mw-body-content h1 {
font-family: "Cinzel Decorative Bold",Sans-serif;
font-size: 45px;
font-weight: 900;
}
.wikitable > caption {
font-family: "Cinzel Decorative Bold",Sans-serif;
font-weight: 900;
font-size: 20px;
letter-spacing: 5px;
}
h2.pi-title {
font-family: "Desmon",Sans-serif;
font-size: 28px;
font-weight: 600;
letter-spacing: 4px;
}
div #mw-panel {
/* Color & Background */
background-attachment: scroll;
background-color: rgba(252, 101, 67, 1);
/* Box */
height: 100%;
width: 170px;
/* Positioning */
position: fixed;
/* Effects */
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
}
div #mw-panel ul li,
footer ul li {
font-size: 13px !important;
color: white !important;
}
div #mw-panel ul li a,
div#footer ul li a:visited,
footer ul li a,
div#footer ul li a:visited {
color: #FEEBB3 !important;
}
div #mw-panel h3 {
font-size: 16px !important;
color: rgba(44, 37, 3, 1);
}
#p-Official_Links {
display: none;
}
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading {
background-image: linear-gradient(to bottom,rgba(167,215,249,0) 0,#29878C 100%);
}
/* Button styling */
.mw-ui-button {
font-family: "Desmon", Sans-serif !important;
font-weight: 400 !important;
letter-spacing: 1.3px;
text-shadow: 0px 0px 10px rgba(0,0,0,0.3);
fill: #FEEBB3 !important;
color: #FEEBB3 !important;
background-color: #FC6543 !important;
border-style: solid !important;
border-width: 4px 4px 4px 4px !important;
border-color: #FEEBB3 !important;
border-radius: 50px 0px 50px 0px !important;
padding: 15px 45px 15px 45px !important;
}
#mw-createaccount-join {
color: #FEEBB3 !important;
}
.mw-ui-button:hover {
color: #FEEBB3 !important;
border-color: #29878C!important;
background-color: #29878C!important;
}
/* Footer styling */
footer {
background-image: url(https://mythcraft.flywheelsites.com/wp-content/uploads/2020/12/footer-bg.png);
background-repeat: no-repeat;
background-size: cover;
margin-left: 10em!important;
padding: 2em!important;
height: 70px;
}
footer #footer-icons {
display: none;
}
#footer-info-lastmod {
text-align: center;
}
.mw-footer #footer-places {
display: flex;
justify-content: space-between;
width: 50%;
margin: auto;
}