ATTENTION! The process of updating WiKi to version Eco 10.x has begun. Those wishing to participate can find out more Information on our ECO Contribution Wiki Discord.

MediaWiki:Common.css: Difference between revisions

From Eco - English Wiki
No edit summary
No edit summary
 
(48 intermediate revisions by 3 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* Custom Font */
@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 */
* {
font-family: 'Roboto', sans-serif;
}
 
body {
body {
background: url(https://wiki.play.eco/cubes.png);
    background-image: url(https://wiki.play.eco/cubes.png);
/*background-color: #F5F5F5;*/
    /*background-color: #F5F5F5;*/
}
}


@font-face {
.ace_editor * {
    font-family: monospace !important;
}
 
/* Banner */
.headbanner span img {
width: 100%;
height: auto;
}
 
/* Headline */
.mw-headline a {
     font-family: "Pathway Gothic One";
     font-family: "Pathway Gothic One";
     font-style: normal;
     font-size: 15px;
     font-weight: 400;
     font-weight: bold;
     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");
     padding: 0.25em;
    text-transform: uppercase;
}
 
/* Table of Contents */
.toc {
    border: 5px solid #A9A9A9;
    padding: 10px;
    float: right;
    margin: 0px 30px 30px 30px;
    width: 300px;
    clear: right;
}
}


img.iconBlue {  
/* Infoboxes */
     background-image: url("https://wiki.play.eco/images/6/65/IconBackground_Blue.png");
.infobox {
     background-blend-mode: solid;
     border: 5px solid #7BC2CE;
    padding: 0;
    color: #333333;
    float: right;
    margin: 0px 30px 30px 30px;
    width: 300px;
    clear: right;
}
 
/* Icon Frames and Background */
.iconContainer {
    width: 100px;
    height: 100px;
    margin: auto;
    position: relative;
}
 
.iconContainerSmall {
    width: 64px;
    height: 64px;
    margin: auto;
    position: relative;
}
 
.iconStack {
    position: absolute;
    width: 100%;
     height: 100%;
}
 
.iconNormal {
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-size: 100%;
    background-position: center;
     position: absolute;  
     background-size: 120%;
     width:100px;
     width: 64px;
     height:100px;
     height: 64px;
     margin: 18px;
}
}


img.iconGreen {
.iconBlue, .iconGreen, .iconBrown, .iconSoftYellow , .iconYellow, .iconCream, .iconGold, .iconOrange, .iconWhite, .iconBrightBlue, .iconGrey {
    background-image: url("https://wiki.play.eco/images/3/3e/IconBackground_Green.png");
    background-blend-mode: solid;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-size: 100%;
    background-position: center;
     width:100px;
     background-size: 120%;
     height:100px;
     width: 64px;
     position: absolute;
     height: 64px;
     margin: 18px;
    display: block;
}
}


.iconBorder {  
.iconBorder {  
     background-image: url("https://wiki.play.eco/images/9/95/IconFrame.png");
     background-image: url("https://wiki.play.eco/images/9/95/IconFrame.png");
    background-blend-mode: solid;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
    background-position: center;
     background-size: 100%;
     background-size: 100%;
    height: inherit;
    width: inherit;
    pointer-events: none;
}
.iconBorder.borderGreen {
    background-image:url(https://wiki.play.eco/images/b/be/IconFrameGreen.png);
}
.iconBorder.borderYellow {
    background-image:url(https://wiki.play.eco/images/e/e7/IconFrameYellow.png);
}
/* Icon CraftingRecipes 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-position: center;
     width: 100px;
    background-size: auto;
     height:100px;
     width: 44px;
     position: absolute;
    height: 44px;
     margin: 10px;
}
 
.iconRecipe img {
height: 44px;
width: 44px;
}
 
/* Icon Frames and Background */
.iconBlue {
    background: radial-gradient(#547cb3 40%, #324a6a);
}
 
.iconGreen {
    background-image: url("https://wiki.play.eco/images/3/3e/IconBackground_Green.png");
}
 
.iconBrown {
    background-image: url("https://wiki.play.eco/images/6/65/IconBackground_Brown.png");
}
 
.iconSoftYellow {
     background-image: url("https://wiki.play.eco/images/4/4c/IconBackground_SoftYellow.png");
}
 
.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");
}
}


.iconContainer {
.iconGrey {  
     max-width:100px;
     background-image: url("https://wiki.play.eco/images/9/9e/IconBackground_Grey.png");
    max-height:100px;
    vertical-align: middle;
    position:relative;
}
}


.infobox {
.paperBasic {  
     border: 5px solid #7BC2CE;
     background-image: url("https://wiki.play.eco/images/3/31/PaperBackground_Basic.png");
    padding: 0;
    color: #333333;
    float: right;
    margin: 0px 30px 30px 30px;
    width: 300px;
    clear: right;
}
}


.toc {
.paperAdvanced {  
     border: 5px solid #A9A9A9;
     background-image: url("https://wiki.play.eco/images/5/56/PaperBackground_Advanced.png");
    padding: 10px;
    float: right;
    margin: 0px 30px 30px 30px;
    width: 300px;
    clear: right;
}
}


.mw-headline a {
.paperModern {  
     font-family: "Pathway Gothic One";
     background-image: url("https://wiki.play.eco/images/7/79/PaperBackground_Modern.png");
    font-size: 15px;
    font-weight: bold;
    padding: 0.25em;
    text-transform: uppercase;
}
}

Latest revision as of 22:23, 20 April 2024

/* Custom Font */
@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 */
* {
	font-family: 'Roboto', sans-serif;
}

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

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

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

/* Headline */
.mw-headline a {
    font-family: "Pathway Gothic One";
    font-size: 15px;
    font-weight: bold;
    padding: 0.25em;
    text-transform: uppercase;
}

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

/* Icon Frames and Background */
.iconContainer {
    width: 100px;
    height: 100px;
    margin: auto;
    position: relative;
}

.iconContainerSmall {
    width: 64px;
    height: 64px;
    margin: auto;
    position: relative;
}

.iconStack {
    position: absolute;
    width: 100%;
    height: 100%;
}

.iconNormal {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 120%;
    width: 64px;
    height: 64px;
    margin: 18px;
}

.iconBlue, .iconGreen, .iconBrown, .iconSoftYellow , .iconYellow, .iconCream, .iconGold, .iconOrange, .iconWhite, .iconBrightBlue, .iconGrey {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 120%;
    width: 64px;
    height: 64px;
    margin: 18px;
    display: block;
}

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

.iconBorder.borderGreen {
    background-image:url(https://wiki.play.eco/images/b/be/IconFrameGreen.png);
}
.iconBorder.borderYellow {
    background-image:url(https://wiki.play.eco/images/e/e7/IconFrameYellow.png);
}

/* Icon CraftingRecipes 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;
}

.iconRecipe img {
	height: 44px;
	width: 44px;
}

/* Icon Frames and Background */
.iconBlue { 
    background: radial-gradient(#547cb3 40%, #324a6a);
}

.iconGreen { 
    background-image: url("https://wiki.play.eco/images/3/3e/IconBackground_Green.png");
}

.iconBrown { 
    background-image: url("https://wiki.play.eco/images/6/65/IconBackground_Brown.png");
}

.iconSoftYellow { 
    background-image: url("https://wiki.play.eco/images/4/4c/IconBackground_SoftYellow.png");
}

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

.iconGrey { 
    background-image: url("https://wiki.play.eco/images/9/9e/IconBackground_Grey.png");
}

.paperBasic { 
    background-image: url("https://wiki.play.eco/images/3/31/PaperBackground_Basic.png");
}

.paperAdvanced { 
    background-image: url("https://wiki.play.eco/images/5/56/PaperBackground_Advanced.png");
}

.paperModern { 
    background-image: url("https://wiki.play.eco/images/7/79/PaperBackground_Modern.png");
}