MediaWiki:Mobile.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 160: | Line 160: | ||
#mw-mf-page-left, | #mw-mf-page-left, | ||
#mw-mf-page-left ul li { | #mw-mf-page-left ul li { | ||
background-color: | background-color: #174345; | ||
border: none; | border: none; | ||
} | } | ||
| Line 178: | Line 178: | ||
/* Footer Styles */ | /* Footer Styles */ | ||
.mw-footer { | .mw-footer { | ||
background-image: url(https:// | background-image: url(https://mythcraftrpg.com/wp-content/uploads/2020/12/footer-bg.png); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-size: cover; | background-size: cover; | ||
| Line 194: | Line 194: | ||
background: none; | background: none; | ||
border-bottom: none; | border-bottom: none; | ||
} | |||
.last-modified-bar.active { | |||
background-color: transparent; | |||
} | } | ||
| Line 222: | Line 226: | ||
/* Button styling */ | /* Button styling */ | ||
#userloginForm .mw-ui-button, button[type="submit"][value="Reset password"] { | |||
font-family: "Desmon", Sans-serif !important; | font-family: "Desmon", Sans-serif !important; | ||
font-weight: 400 !important; | font-weight: 400 !important; | ||
| Line 242: | Line 246: | ||
} | } | ||
#userloginForm .mw-ui-button:hover, button[type="submit"][value="Reset password"]:hover { | |||
color: #FEEBB3 !important; | color: #FEEBB3 !important; | ||
border-color: #29878C!important; | border-color: #29878C!important; | ||
| Line 254: | Line 258: | ||
} | } | ||
.section-heading { | |||
font-size: 20px!important; | |||
} | |||
} | } | ||
@media (max-width: 425px) { | @media (max-width: 425px) { | ||
Latest revision as of 11:42, 13 February 2024
/* 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');
}
/* General Styles */
body {
background: white url("/images/TexturedBackground.jpg") fixed cover;
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;
}
/* Home Page Specific */
body.page-Main_Page h1 {
display: none;
}
.minerva-search-form {
width: auto;
}
.minerva-header div.branding-box {
margin-right: 30px;
}
/* Table Styles */
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 {
}
.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;
}
section aside h2 + p {
font-family: "Desmon",Sans-serif;
font-size: 15px!important;
font-weight: 300;
letter-spacing: 2px;
text-align: center;
}
section aside .pi-item h3 {
display: none!important;
}
/* Mobile Front Page Left CSS */
#mw-mf-page-left,
#mw-mf-page-left ul li {
background-color: #174345;
border: none;
}
#mw-mf-page-left ul li a {
color: #FEEBB3 !important;
}
#p-navigation {
margin-top: 50px;
}
ul.hlist {
display: grid !important;
}
/* Footer Styles */
.mw-footer {
background-image: url(https://mythcraftrpg.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;
font-family: "Cinzel Decorative Bold",sans-serif;
font-weight: 900;
font-size: 20px;
}
.last-modified-bar {
background: none;
border-bottom: none;
}
.last-modified-bar.active {
background-color: transparent;
}
.minerva-footer {
border-top: none;
padding-bottom: 10px;
padding-top: 10px;
}
.mw-footer > .post-content {
margin-top: 0;
}
#footer-places.footer-places {
display: flex !important;
justify-content: space-between;
width: 50%;
margin: auto;
}
.hlist-separated li:after {
content: none!important;
}
.last-modified-bar a, .last-modified-bar a:visited, .last-modified-bar .last-modified-text-accent {
color: #29878C !important;
}
/* Button styling */
#userloginForm .mw-ui-button, button[type="submit"][value="Reset password"] {
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;
margin: auto!important;
}
.mw-body #mw-createaccount-join {
color: #FEEBB3 !important;
}
#userloginForm .mw-ui-button:hover, button[type="submit"][value="Reset password"]:hover {
color: #FEEBB3 !important;
border-color: #29878C!important;
background-color: #29878C!important;
}
/* media queries */
@media (max-width: 720px) {
.mw-ui-vform .mw-ui-vform-field {
margin-top: 10px!important;
}
.section-heading {
font-size: 20px!important;
}
}
@media (max-width: 425px) {
.mw-body h1, mw-body-content h1 {
font-size: 28px;
}
.minerva-header .branding-box a span {
font-size: 14px;
}
#footer-places.footer-places {
width: 70%;
}
}