MediaWiki:Common.css: Difference between revisions

From Eco - English Wiki
No edit summary
No edit summary
 
(92 intermediate revisions by 4 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* Custom Font */
@font-face {
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
    font-family: "Pathway Gothic One";
 
    font-style: normal;
/* Framework */
     font-weight: 400;
* {
    src: local("Pathway Gothic One"), local("PathwayGothicOne-Regular"), url("https://fonts.gstatic.com/s/pathwaygothicone/v4/Lqv9ztoTUV8Q0FmQZzPqaL4J1CEROx9mnpUAGKYKzuk.woff2") format("woff2"), url("https://fonts.gstatic.com/s/pathwaygothicone/v4/Lqv9ztoTUV8Q0FmQZzPqaBfSZ9PF2sGs8WIylam6T2Y.woff") format("woff");
font-family: 'Roboto', sans-serif;
}
 
body {
     background-image: url(https://wiki.play.eco/cubes.png);
    background-color: #FAFAFA;
}
 
.ace_editor * {
    font-family: monospace !important;
}
 
.mw-specialpages-notes {
float: left;
}
 
/* Banner */
.headbanner span img {
width: 100%;
height: auto;
}
}


.infobox, .toc {
/* Table of Contents */
     border: 5px outset #465828;
.toc {
     border: 5px solid #A9A9A9;
     padding: 10px;
     padding: 10px;
     float: right;
     float: right;
Line 16: Line 36:
}
}


.mw-headline a {
/* Infoboxes */
     font-family: "Pathway Gothic One";
.infobox {
     font-size: 15px;
    border: 5px solid #7BC2CE;
     font-weight: bold;
    padding: 0;
     padding: 0.25em;
    color: #333333;
     margin-top: 15px;
    float: right;
     text-transform: uppercase;
    margin: 0px 30px 30px 30px;
    width: 300px;
    clear: right;
}
 
.tablescroll {
    overflow-x: auto;
}
.ecotable {
     display: table;
    white-space: normal;
    /*font-family: Quicksand, sans-serif;*/
    border: 2px solid var(--border-color, #395684);
    border-radius: 3px;
}
.ecotable th, .ecoheader {
    background-color: var(--table-header-background, #305080);
    color: var(--table-header-color, #FFFCF7);
}
.ecotable tr:nth-child(odd) {
     background-color: var(--table-row-odd, #3956844D);
}
.ecotable tr, .ecobody {
     background-color: var(--table-row-even, #3956841A);
}
 
.IconFrame {
    border: 5px outset #A9A9A9;
    background: #DCDCDC;
    display:inline-block;
    width: auto;
     padding: 10px;
     margin: 10px;
    text-align: center;
     vertical-align: middle;
}
 
.card-horizontal {
    display: flex;
    flex: 1 1 auto;
}
}

Latest revision as of 16:22, 2 August 2024

/* Custom Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

/* Framework */
* {
	font-family: 'Roboto', sans-serif;
}

body {
    background-image: url(https://wiki.play.eco/cubes.png);
    background-color: #FAFAFA;
}

.ace_editor * {
    font-family: monospace !important;
}

.mw-specialpages-notes {
	float: left;
}

/* Banner */
.headbanner span img {
	width: 100%;
	height: auto;
}

/* Table of Contents */
.toc {
    border: 5px solid #A9A9A9;
    padding: 10px;
    float: right;
    margin: 0px 30px 30px 30px;
    width: 300px;
    clear: right;
}

/* Infoboxes */
.infobox {
    border: 5px solid #7BC2CE;
    padding: 0;
    color: #333333;
    float: right;
    margin: 0px 30px 30px 30px;
    width: 300px;
    clear: right;
}

.tablescroll {
    overflow-x: auto;
}
.ecotable {
    display: table;
    white-space: normal;
    /*font-family: Quicksand, sans-serif;*/
    border: 2px solid var(--border-color, #395684);
    border-radius: 3px;
}
.ecotable th, .ecoheader {
    background-color: var(--table-header-background, #305080);
    color: var(--table-header-color, #FFFCF7);
}
.ecotable tr:nth-child(odd) {
    background-color: var(--table-row-odd, #3956844D);
}
.ecotable tr, .ecobody {
    background-color: var(--table-row-even, #3956841A);
}

.IconFrame {
    border: 5px outset #A9A9A9;
    background: #DCDCDC;
    display:inline-block;
    width: auto;
    padding: 10px;
    margin: 10px;
    text-align: center;
    vertical-align: middle;
}

.card-horizontal {
    display: flex;
    flex: 1 1 auto;
}