MediaWiki:Mobile.css

Revision as of 14:01, 16 December 2023 by Mythcraftadmin (talk | contribs)

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.
/* All CSS here will be loaded for users of the mobile site */

/* Import fonts */
@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 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;
}

.header-container,
#mw-mf-page-center {
    background-color: white!important;
}

body #content {
    min-height: 100vh;
}

/*Take off "Main Page" from the home page */
body.page-Main_Page h1 { display: none; }


body {
background: url("/images/TexturedBackground.jpg");
background-size: cover;
background-attachment: fixed;

}

/* TABLES */
table {
  font-family: 'Raleway', sans-serif;
  border-collapse: collapse;
  width:40em;
  max-width:40em;
}

th{
background-color: #059862;
}

td, th {
  border: 1px solid #ddd;
  padding: 8px;
}

tr:nth-child(even){background-color: #f2f2f2;}

tr:hover {background-color: #ddd;}

th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
}

.wikitable > * > tr > td:has(img) {
    padding: 0;
}

.wikitable > * > tr > td img {
    height: auto;
    max-width: 100%
}

table.wikitable:has(img) {
    display: table;
    table-layout: fixed;
}

.wikitable > tr > th, .wikitable > * > tr > th, .toc, .toccolours {
    background-color: #FEEBB3;
}

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: 32px;
    font-weight: 900;
}

h1.section-heading {
    font-size: 20px;
}

.wikitable > caption {
    font-family: "Cinzel Decorative Bold",Sans-serif;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 5px;
}

.minerva-header .branding-box a span {
    font-family: "Cinzel Decorative Bold",Sans-serif;
    font-weight: 900;
    font-size: 20px;
}

/* mf page left CSS */
#mw-mf-page-left, #mw-mf-page-left ul li {
    background-color: rgba(252, 101, 67, 1);
    border: none;
}

#mw-mf-page-left ul li a {
    color: #FEEBB3 !important;
}

#p-navigation {
    margin-top: 50px;
}

ul.hlist {
    display: grid!important;
}

/* Footer CSS */
.mw-footer {
    background-image: url(https://mythcraft.flywheelsites.com/wp-content/uploads/2020/12/footer-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    color: #FEEBB3 !important;
}

.mw-footer .minerva-footer-logo {
    text-align: center;
}

.last-modified-bar {
    background: none;
    border-bottom: none;
    
}

.minerva-footer {
    border-top: none;
    padding-bottom: 10px;
    padding-top: 10px;
}

.mw-footer > .post-content {
    margin-top: 0px;
}

#footer-places.footer-places {
    display: flex!important;
    justify-content: space-between;
    width: 50%;
    margin: auto;
}