MediaWiki:Common.css: Difference between revisions

From MythCraft Online SRD
Jump to navigation Jump to search
No edit summary
No edit summary
 
(230 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* 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;
}


zbody {
a.new, .vector-menu-tabs-legacy .new a, .vector-menu-tabs-legacy .new a:visited {
background: url("/images/TexturedBackground.jpg");
    color: #FC6543;
background-size: cover;
}
}


body {
*:focus-visible {
/* Font & Text */
    outline: 1px solid #174345;
font-family: sans-serif;
}
font-size: 16px;
font-style: normal;
font-variant: normal;
font-weight: 400;
letter-spacing: normal;
line-height: normal;
text-decoration: none solid rgb(0, 0, 0);
text-align: start;
text-indent: 0px;
text-transform: none;
vertical-align: baseline;
white-space: normal;
word-spacing: 0px;


/* Color & Background */
/* CREATURE TABLES */
background-image: url("/images/TexturedBackground.jpg");
table.creature {
background-attachment: fixed;
    background-color: #f9f9f92b;
background-position: 50% 50%;
    background: url("https://srd.mythcraftrpg.com/images/5/57/MythCraft-PaperTexture.jpg") scroll;
background-repeat: repeat;
    border: 2px solid #1C6EA4;
    // font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    // width: 40%;
}


background-color: rgb(10, 5, 35);
table.creature tbody td {
    font-size: 14px;
}


background-position: 50% 50%;
table.creature thead {
background-repeat: no-repeat;
    background: #A0C3C7;
color: rgb(0, 0, 0);
    border-bottom: 0;
background-size: cover;
}


/* Box */
table.creature th {
height: 1281px;
    font-size: 16px;
width: 1709px;
    font-weight: bold;
border: 0px none rgb(0, 0, 0);
    color: #000000;
border-top: 0px none rgb(0, 0, 0);
    border-top: 2px solid #AAAAAA;
border-right: 0px none rgb(0, 0, 0);
    border-bottom: 2px solid #AAAAAA;
...tom: 0px none rgb(0, 0, 0);
}


border-left: 0px none rgb(0, 0, 0);
/* Common table styles */
margin: 0px;
table {
padding: 0px;
    font-family: 'Raleway', sans-serif;
max-height: none;
    border-collapse: collapse;
min-height: 0px;
    width: 80%;
max-width: none;
}
min-width: 0px;


/* Positioning */
table.mw-collapsible {
position: static;
    text-align: left;
top: auto;
}
bottom: auto;
right: auto;
left: auto;
float: none;
display: block;
clear: none;
z-index: auto;


/* List */
.wikitable {
list-style-image: none;
    background-color: white;
list-style-type: disc;
}
list-style-position: outside;


/* Table */
.wikitable > * > tr > td:has(img) {
border-collapse: separate;
    padding: 0;
border-spacing: 0px 0px;
}
caption-side: top;
empty-cells: show;
table-layout: auto;


/* Miscellaneous */
.wikitable > * > tr > td img {
overflow: auto scroll;
    height: auto;
cursor: auto;
    max-width: 100%
visibility: visible;
}


/* Effects */
.wikitable:has(img) {
transform: none;
    table-layout: fixed;
transition: all 0s ease 0s;
outline: rgb(255, 0, 0) dashed 1px;
outline-offset: 0px;
box-sizing: content-box;
resize: none;
text-shadow: none;
text-overflow: clip;
word-wrap: normal;
box-shadow: none;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}
}


div #mw-head {
.wikitable > tr > th, .wikitable > * > tr > th, .toc, .toccolours {
/* Font & Text */
    background-color: #FEEBB3;
font-family: sans-serif;
}
font-size: 16px;
font-style: normal;
font-variant: normal;
font-weight: 400;
letter-spacing: normal;
line-height: normal;
text-decoration: none solid rgb(0, 0, 0);
text-align: start;
text-indent: 0px;
text-transform: none;
vertical-align: baseline;
white-space: normal;
word-spacing: 0px;


/* Color & Background */
/* To make images responsive */
background-attachment: scroll;
.res-img img {
background-color: rgba(0, 0, 0, 0);
    max-width: 80%;
background-image: none;
    height: auto;
background-position: 0% 0%;
}
background-repeat: repeat;
color: rgb(0, 0, 0);


/* Box */
.res-img p:has(img) {
height: 80px;
    text-align: center;
width: 1709px;
}
border: 0px none rgb(0, 0, 0);
border-top: 0px none rgb(0, 0, 0);
border-right: 0px none rgb(0, 0, 0);
border-bottom: 0px none rgb(0, 0, 0);
border-left: 0px none rgb(0, 0, 0);
margin: 0px;
padding: 0px;
max-height: none;
min-height: 0px;
max-width: none;
min-width: 0px;


/* Positioning */
position: absolute;
top: 0px;
bottom: 1201px;
right: 0px;
left: 0px;
float: none;
display: block;
clear: none;
z-index: auto;


/* List */
/* Take off "Main Page" from the home page */
list-style-image: none;
body.page-Main_Page h1 {
list-style-type: disc;
    display: none;
list-style-position: outside;
}


/* Table */
.mw-editsection {
border-collapse: separate;
    display: none;
border-spacing: 0px 0px;
}
caption-side: top;
empty-cells: show;
table-layout: auto;


/* Miscellaneous */
/* Content and panel styling */
overflow: visible;
body #content {
cursor: auto;
    padding-right: 10%;
visibility: visible;
    border-bottom: none;
    border-top: 1px solid #29878C;
    min-height: calc(100vh - 258px);
}


/* Effects */
body.page-Main_Page table {
transform: none;
    margin: auto!important;
transition: all 0s ease 0s;
    margin-top: 10px!important;
outline: rgb(255, 0, 0) dashed 1px;
    margin-bottom: 10px!important;
outline-offset: 0px;
}
box-sizing: content-box;
 
resize: none;
body.page-Main_Page h2 {
text-shadow: none;
    text-align: center;
text-overflow: clip;
    font-family: "Desmon",Sans-serif;
word-wrap: normal;
}
box-shadow: none;
 
border-top-left-radius: 0px;
body.page-Main_Page #content {
border-top-right-radius: 0px;
    padding-right: 1.5em;
border-bottom-left-radius: 0px;
}
border-bottom-right-radius: 0px;
 
.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 {
div #mw-panel {
/* Font & Text */
    /* Color & Background */
font-family: sans-serif;
    background-attachment: scroll;
font-size: 16px;
    background-color: #174345;
font-style: normal;
   
font-variant: normal;
    /* Box */
font-weight: 400;
    height: 100%;
letter-spacing: normal;
    width: 170px;
line-height: normal;
text-decoration: none solid rgb(0, 0, 0);
text-align: start;
text-indent: 0px;
text-transform: none;
vertical-align: baseline;
white-space: normal;
word-spacing: 0px;


/* Color & Background */
    /* Positioning */
background-attachment: scroll;
    position: fixed;
background-color: rgba(255, 255, 255, 0.67);
background-image: none;
background-position: 0% 0%;
background-repeat: repeat;
color: rgb(0, 0, 0);


/* Box */
    /* Effects */
height: 704.688px;
    border-top-right-radius: 8px;
width: 160px;
    border-bottom-right-radius: 8px;
border: 6px solid rgba(0, 0, 0, 0);
}
border-top: 6px solid rgba(0, 0, 0, 0);
border-right: 6px solid rgba(0, 0, 0, 0);
border-bottom: 6px solid rgba(0, 0, 0, 0);
border-left: 6px solid rgba(0, 0, 0, 0);
margin: 0px 0px 0px;
zzmargin: 176px 0px 0px;
padding: 0px 0px 15px 8px;
max-height: none;
min-height: 0px;
max-width: none;
min-width: 0px;


/* Positioning */
div #mw-panel ul li,
position: absolute;
footer ul li {
top: 0px;
    font-size: 13px !important;
bottom: 373.312px;
    color: white !important;
right: 1541px;
}
left: -12px;
float: none;
display: block;
clear: none;
z-index: auto;


/* List */
div #mw-panel ul li a {
list-style-image: none;
    color: white !important;
list-style-type: disc;
}
list-style-position: outside;


/* Table */
div#footer ul li a:visited,
border-collapse: separate;
footer ul li a,
border-spacing: 0px 0px;
div#footer ul li a:visited {
caption-side: top;
    color: #FEEBB3 !important;
empty-cells: show;
}
table-layout: auto;


/* Miscellaneous */
div #mw-panel h3 {
overflow: visible;
    font-size: 16px !important;
cursor: auto;
    color: #FEEBB3;
visibility: visible;
}


/* Effects */
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading {
transform: none;
    background-image: linear-gradient(to bottom,rgba(167,215,249,0) 0,#29878C 100%);
transition: all 0s ease 0s;
}
outline: rgb(255, 0, 0) dashed 1px;
 
outline-offset: 0px;
.oo-ui-toolbar-actions .oo-ui-toolbar-bar .oo-ui-tool-title {
box-sizing: content-box;
    color: black!important;
resize: none;
}
text-shadow: none;
 
text-overflow: clip;
/* Button styling */
word-wrap: normal;
.mw-ui-button {
box-shadow: none;
    font-family: "Desmon", Sans-serif !important;
border-top-left-radius: 0px;
    font-weight: 400 !important;
border-top-right-radius: 8px;
    letter-spacing: 1.3px;
border-bottom-left-radius: 0px;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.3);
border-bottom-right-radius: 8px;
    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://mythcraftrpg.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;
}
}

Latest revision as of 11:41, 13 February 2024

/* 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: #174345;
    
    /* 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 {
    color: white !important;
}

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: #FEEBB3;
}

.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%);
}

.oo-ui-toolbar-actions .oo-ui-toolbar-bar .oo-ui-tool-title {
    color: black!important;
}

/* 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://mythcraftrpg.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;
}