Difference between revisions of "MediaWiki:Common.css"

From Eco - English Wiki
Line 43: Line 43:
}
}


/* Icon Frames and Background*/
.iconContainer {
.iconContainer {
     max-width:100px;  
     width: 100px;
     max-height:100px;  
     height: 100px;
     vertical-align: middle;
     margin: auto;
     position:relative;
     position: relative;
}
 
.iconStack {
    position: absolute;
    width: 100%;
    height: 100%;
}
}


img.iconBlue {  
.iconBlue {  
     background-image: url("https://wiki.play.eco/images/6/65/IconBackground_Blue.png");
     background-image: url("https://wiki.play.eco/images/6/65/IconBackground_Blue.png");
    background-blend-mode: solid;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
    background-position: center;
     background-size: 100%;
     background-size: 100%;
     position: absolute;  
     width: 74px;
     width:100px;
     height: 74px;
     height:100px;
     margin: 14px 14px 14px 14px;
}
}


img.iconGreen {  
.iconGreen {  
     background-image: url("https://wiki.play.eco/images/3/3e/IconBackground_Green.png");
     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-position: center;
     background-size: 100%;
     background-size: 100%;
     width:100px;
     width: 74px;
     height:100px;
     height: 74px;
     position: absolute;
     margin: 14px 14px 14px 14px;
}
}


img.iconBrown {  
.iconBrown {  
     background-image: url("https://wiki.play.eco/images/6/65/IconBackground_Brown.png");
     background-image: url("https://wiki.play.eco/images/6/65/IconBackground_Brown.png");
    background-blend-mode: solid;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
    background-position: center;
     background-size: 100%;
     background-size: 100%;
     width:100px;
     width: 74px;
     height:100px;
     height: 74px;
     position: absolute;
     margin: 14px 14px 14px 14px;
}
}


img.iconSoftYellow {  
.iconSoftYellow {  
     background-image: url("https://wiki.play.eco/images/4/4c/IconBackground_SoftYellow.png");
     background-image: url("https://wiki.play.eco/images/4/4c/IconBackground_SoftYellow.png");
    background-blend-mode: solid;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
    background-position: center;
     background-size: 100%;
     background-size: 100%;
     width:100px;
     width: 74px;
     height:100px;
     height: 74px;
     position: absolute;
     margin: 14px 14px 14px 14px;
}
}


img.iconYellow {  
.iconYellow {  
     background-image: url("https://wiki.play.eco/images/b/b6/IconBackground_Yellow.png");
     background-image: url("https://wiki.play.eco/images/b/b6/IconBackground_Yellow.png");
    background-blend-mode: solid;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
    background-position: center;
     background-size: 100%;
     background-size: 100%;
     width:100px;
     width: 74px;
     height:100px;
     height: 74px;
     position: absolute;
     margin: 14px 14px 14px 14px;
}
}


img.iconCream {  
.iconCream {  
     background-image: url("https://wiki.play.eco/images/5/5f/IconBackground_Cream.png");
     background-image: url("https://wiki.play.eco/images/5/5f/IconBackground_Cream.png");
    background-blend-mode: solid;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
    background-position: center;
     background-size: 100%;
     background-size: 100%;
     width:100px;
     width: 74px;
     height:100px;
     height: 74px;
     position: absolute;
     margin: 14px 14px 14px 14px;
}
}


img.iconGold {  
.iconGold {  
     background-image: url("https://wiki.play.eco/images/9/92/IconBackground_Gold.png");
     background-image: url("https://wiki.play.eco/images/9/92/IconBackground_Gold.png");
    background-blend-mode: solid;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
    background-position: center;
     background-size: 100%;
     background-size: 100%;
     width:100px;
     width: 74px;
     height:100px;
     height: 74px;
     position: absolute;
     margin: 14px 14px 14px 14px;
}
}


img.iconOrange {  
.iconOrange {  
     background-image: url("https://wiki.play.eco/images/5/57/IconBackground_Orange.png");
     background-image: url("https://wiki.play.eco/images/5/57/IconBackground_Orange.png");
    background-blend-mode: solid;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
    background-position: center;
     background-size: 100%;
     background-size: 100%;
     width:100px;
     width: 74px;
     height:100px;
     height: 74px;
     position: absolute;
     margin: 14px 14px 14px 14px;
}
}


img.iconWhite {  
.iconWhite {  
     background-image: url("https://wiki.play.eco/images/4/45/IconBackground_White.png");
     background-image: url("https://wiki.play.eco/images/4/45/IconBackground_White.png");
    background-blend-mode: solid;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
    background-position: center;
     background-size: 100%;
     background-size: 100%;
     width:100px;
     width: 74px;
     height:100px;
     height: 74px;
     position: absolute;
     margin: 14px 14px 14px 14px;
}
}


img.iconBrightBlue {  
.iconBrightBlue {  
     background-image: url("https://wiki.play.eco/images/9/9a/IconBackground_BrightBlue.png");
     background-image: url("https://wiki.play.eco/images/9/9a/IconBackground_BrightBlue.png");
    background-blend-mode: solid;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
    background-position: center;
     background-size: 100%;
     background-size: 100%;
     width:100px;
     width: 74px;
     height:100px;
     height: 74px;
     position: absolute;
     margin: 14px 14px 14px 14px;
}
}


.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%;
     background-position: center;
     height: inherit;
     width: 100px;
     width: inherit;
    height:100px;
    position: absolute;
     pointer-events: none;
     pointer-events: none;
}
}

Revision as of 04:33, 18 August 2020

/* Custom font */
@font-face {
    font-family: "Pathway Gothic One";
    font-style: normal;
    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");
}

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

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

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

.iconBlue { 
    background-image: url("https://wiki.play.eco/images/6/65/IconBackground_Blue.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 74px;
    height: 74px;
    margin: 14px 14px 14px 14px;
}

.iconGreen { 
    background-image: url("https://wiki.play.eco/images/3/3e/IconBackground_Green.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 74px;
    height: 74px;
    margin: 14px 14px 14px 14px;
}

.iconBrown { 
    background-image: url("https://wiki.play.eco/images/6/65/IconBackground_Brown.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 74px;
    height: 74px;
    margin: 14px 14px 14px 14px;
}

.iconSoftYellow { 
    background-image: url("https://wiki.play.eco/images/4/4c/IconBackground_SoftYellow.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 74px;
    height: 74px;
    margin: 14px 14px 14px 14px;
}

.iconYellow { 
    background-image: url("https://wiki.play.eco/images/b/b6/IconBackground_Yellow.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 74px;
    height: 74px;
    margin: 14px 14px 14px 14px;
}

.iconCream { 
    background-image: url("https://wiki.play.eco/images/5/5f/IconBackground_Cream.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 74px;
    height: 74px;
    margin: 14px 14px 14px 14px;
}

.iconGold { 
    background-image: url("https://wiki.play.eco/images/9/92/IconBackground_Gold.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 74px;
    height: 74px;
    margin: 14px 14px 14px 14px;
}

.iconOrange { 
    background-image: url("https://wiki.play.eco/images/5/57/IconBackground_Orange.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 74px;
    height: 74px;
    margin: 14px 14px 14px 14px;
}

.iconWhite { 
    background-image: url("https://wiki.play.eco/images/4/45/IconBackground_White.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 74px;
    height: 74px;
    margin: 14px 14px 14px 14px;
}

.iconBrightBlue { 
    background-image: url("https://wiki.play.eco/images/9/9a/IconBackground_BrightBlue.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 74px;
    height: 74px;
    margin: 14px 14px 14px 14px;
}

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