MediaWiki:Common.css: Difference between revisions

From Eco - English Wiki
No edit summary
No edit summary
 
(43 intermediate revisions by 4 users not shown)
Line 1: Line 1:
/* Custom font */
/* Custom Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pathway+Gothic+One&display=swap');


/* Framework */
/* Framework */
Line 9: Line 8:


body {
body {
background: url(https://wiki.play.eco/cubes.png);
    background-image: url(https://wiki.play.eco/cubes.png);
/*background-color: #F5F5F5;*/
    background-color: #FAFAFA;
}
 
.ace_editor * {
    font-family: monospace !important;
}
 
.mw-specialpages-notes {
float: left;
}
}


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


/* Headline */
/* Table of Contents */
.mw-headline a {
    font-family: "Pathway Gothic One";
    font-size: 15px;
    font-weight: bold;
    padding: 0.25em;
    text-transform: uppercase;
}
 
/* Table of Contents*/
.toc {
.toc {
     border: 5px solid #A9A9A9;
     border: 5px solid #A9A9A9;
Line 38: Line 36:
}
}


/* Infoboxes*/
/* Infoboxes */
.infobox {
.infobox {
     border: 5px solid #7BC2CE;
     border: 5px solid #7BC2CE;
Line 49: Line 47:
}
}


/* Icon Frames and Background*/
.tablescroll {
.iconContainer {
     overflow-x: auto;
     width: 100px;
    height: 100px;
    margin: auto;
    position: relative;
}
}
 
.ecotable {
.iconStack {
     display: table;
     position: absolute;
    white-space: normal;
     width: 100%;
    /*font-family: Quicksand, sans-serif;*/
     height: 100%;
     border: 2px solid var(--border-color, #395684);
     border-radius: 3px;
}
}
 
.ecotable th, .ecoheader {
.iconBlue, .iconGreen, .iconBrown, .iconSoftYellow , .iconYellow, .iconCream, .iconGold, .iconOrange, .iconWhite, .iconBrightBlue {
     background-color: var(--table-header-background, #305080);
     background-repeat: no-repeat;
     color: var(--table-header-color, #FFFCF7);
    background-position: center;
    background-size: 120%;
     width: 64px;
    height: 64px;
    margin: 18px;
}
}
 
.ecotable tr:nth-child(odd) {
.iconBlue {  
     background-color: var(--table-row-odd, #3956844D);
     background-image: url("https://wiki.play.eco/images/6/65/IconBackground_Blue.png");
}
}
 
.ecotable tr, .ecobody {
.iconGreen {  
     background-color: var(--table-row-even, #3956841A);
     background-image: url("https://wiki.play.eco/images/3/3e/IconBackground_Green.png");
}
}


.iconBrown {  
.IconFrame {
     background-image: url("https://wiki.play.eco/images/6/65/IconBackground_Brown.png");
    border: 5px outset #A9A9A9;
     background: #DCDCDC;
    display:inline-block;
    width: auto;
    padding: 10px;
    margin: 10px;
    text-align: center;
    vertical-align: middle;
}
}


.iconSoftYellow {
.card-horizontal {
    background-image: url("https://wiki.play.eco/images/4/4c/IconBackground_SoftYellow.png");
     display: flex;
}
     flex: 1 1 auto;
 
.iconYellow {
    background-image: url("https://wiki.play.eco/images/b/b6/IconBackground_Yellow.png");
}
 
.iconCream {
    background-image: url("https://wiki.play.eco/images/5/5f/IconBackground_Cream.png");
}
 
.iconGold {
    background-image: url("https://wiki.play.eco/images/9/92/IconBackground_Gold.png");
}
 
.iconOrange {
    background-image: url("https://wiki.play.eco/images/5/57/IconBackground_Orange.png");
}
 
.iconWhite {
    background-image: url("https://wiki.play.eco/images/4/45/IconBackground_White.png");
}
 
.iconBrightBlue {  
     background-image: url("https://wiki.play.eco/images/9/9a/IconBackground_BrightBlue.png");
}
 
.iconBorder {
     background-image: url("https://wiki.play.eco/images/9/95/IconFrame.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    height: inherit;
    width: inherit;
    pointer-events: none;
}
 
/* Icon Recipes Frames and Background*/
.iconRecipe {
    background-image: url("https://wiki.play.eco/images/6/65/IconBackground_Blue.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    width: 44px;
    height: 44px;
    margin: 10px;
}
}

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;
}