To get rid of this ad please Sign up/Login.
Difference between revisions of "MediaWiki:Common.css"
m |
|||
(14 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
/*** Font Awesome ***/ | /*** Font Awesome ***/ | ||
@import "// | @import "https://cdn.entropiaplanets.com/epstatic/fontawesome/css/font-awesome.min.css"; | ||
/*** Remove SMW footer iconm, change after SMW 2.3 https://www.semantic-mediawiki.org/wiki/Help:Remove_the_footer_icon_added_by_Semantic_MediaWiki ***/ | |||
#f-poweredbyico { | |||
display: none !important; | |||
} | |||
#footer-icons { | |||
display: none !important; | |||
} | |||
/*** Classes for coloring ***/ | /*** Classes for coloring ***/ | ||
Line 10: | Line 21: | ||
.ep-blue{color: Cyan} | .ep-blue{color: Cyan} | ||
.ep-white{color: White} | .ep-white{color: White} | ||
/*** Classes for Damage Types ***/ | |||
.ep-bg-stab{background-color: Orchid} | |||
.ep-bg-cut{background-color: RosyBrown} | |||
.ep-bg-impact{background-color: DarkGrey} | |||
.ep-bg-penetration{background-color: DarkSalmon} | |||
.ep-bg-shrapnel{background-color: Olive} | |||
.ep-bg-burn{background-color: DarkOrange} | |||
.ep-bg-cold{background-color: CornflowerBlue} | |||
.ep-bg-acid{background-color: GreenYellow} | |||
.ep-bg-electric{background-color: PowderBlue} | |||
.ep-circle { | |||
width: 99%; | |||
height:99%; | |||
-moz-border-radius: 50%; | |||
-webkit-border-radius: 50%; | |||
border-radius: 50%; | |||
} | |||
/*** Tooltip-popup thingie ***/ | /*** Tooltip-popup thingie ***/ | ||
Line 51: | Line 81: | ||
} | } | ||
/********** T E S T I N G **********/ | /********** T E S T I N G **********/ | ||
/* | /* | ||
.skintest { | .skintest { color: red; } | ||
*/ | */ | ||
Line 103: | Line 97: | ||
/***** 7. WIKITABLES, INFOBOX TEMPLATES, WARNINGS AND OTHER SUCH STYLINGS *****/ | /***** 7. WIKITABLES, INFOBOX TEMPLATES, WARNINGS AND OTHER SUCH STYLINGS *****/ | ||
/* Wikitable (collapsible) class for skinning normal tables */ | /* Wikitable (collapsible) class for skinning normal tables */ | ||
.collapsible { border: 0px solid black; } | .collapsible { border: 0px solid black; } | ||
.collapsible th, .collapsible td { border: 0px solid black; } | .collapsible th, .collapsible td { border: 0px solid black; } | ||
/* Set colours for all header cells in the top row */ | /* Set colours for all header cells in the top row */ | ||
.collapsible th[scope=col] { color: Black; background-color: #C0C0C0; font-size: 1.2em; font-style: bold;} | .collapsible th[scope=col] { color: Black; background-color: #C0C0C0; font-size: 1.2em; font-style: bold;} | ||
.collapsible th[scope=row] { color: black; background-color: #E6E6E6; } | .collapsible th[scope=row] { color: black; background-color: #E6E6E6; } | ||
.collapsible th[scope=row] | .collapsible th[scope=row] | ||
Line 130: | Line 113: | ||
padding: 1em; | padding: 1em; | ||
} | } | ||
Line 141: | Line 121: | ||
border-bottom:1px solid LightGrey; | border-bottom:1px solid LightGrey; | ||
} | } | ||
Line 237: | Line 142: | ||
background-position:50% | background-position:50% | ||
} | } | ||
/*********** Portal:Next Island ***********/ | /*********** Portal:Next Island ***********/ | ||
.portalnextisland { | .portalnextisland { | ||
Line 243: | Line 147: | ||
background-position:50% | background-position:50% | ||
} | } | ||
/*********** Portal:Planet Cyrene ***********/ | /*********** Portal:Planet Cyrene ***********/ | ||
.portalcyrene { | .portalcyrene { | ||
Line 265: | Line 168: | ||
table.EntropiaPlanetsForums th { border: 1px solid black; } | table.EntropiaPlanetsForums th { border: 1px solid black; } | ||
table.EntropiaPlanetsForums td { border: 1px solid black; } | table.EntropiaPlanetsForums td { border: 1px solid black; } | ||
/*********** tighttable ***********/ | /*********** tighttable ***********/ | ||
Line 272: | Line 176: | ||
table.tighttable th.Position { width:102px; } | table.tighttable th.Position { width:102px; } | ||
table.tighttable th.Rewards { width:300px; } | table.tighttable th.Rewards { width:300px; } | ||
/*********** nobordertable ***********/ | /*********** nobordertable ***********/ | ||
table.nobordertable { border:0px solid white; } | table.nobordertable { border:0px solid white; } | ||
/*********** infoboxtable ***********/ | /*********** infoboxtable ***********/ | ||
table.infoboxtable {border-color:#FFFFFF; border-width:0px; border-style:solid; border-spacing:4px; } | table.infoboxtable {border-color:#FFFFFF; border-width:0px; border-style:solid; border-spacing:4px; } | ||
table.infoboxtable th { background-color:#DCDCDC; padding-left:4px; padding-right:4px; vertical-align:top; text-align:left; } | table.infoboxtable th { background-color:#DCDCDC; padding-left:4px; padding-right:4px; vertical-align:top; text-align:left; } | ||
/*********** even and odd in tables ***********/ | /*********** even and odd in tables ***********/ | ||
.smwtable .row-even {background-color:#FFF;} | .smwtable .row-even {background-color:#FFF;} | ||
.smwtable .row-odd {background-color:#CDE6EA;} | .smwtable .row-odd {background-color:#CDE6EA;} | ||
/*********** mapping stuff ***********/ | /*********** mapping stuff ***********/ | ||
.maplabel {background-image:url(http://www.entropiaplanets.com/w/images/1/17/Maplabelback.png); } | .maplabel {background-image:url(http://www.entropiaplanets.com/w/images/1/17/Maplabelback.png); } | ||
Latest revision as of 15:07, 3 March 2017
/*** Imported CSS for content pages with EP forum style ***/ @import "http://www.entropiaplanets.com/w/index.php?title=MediaWiki:EPwiki.css&action=raw&ctype=text/css"; /*** Font Awesome ***/ @import "https://cdn.entropiaplanets.com/epstatic/fontawesome/css/font-awesome.min.css"; /*** Remove SMW footer iconm, change after SMW 2.3 https://www.semantic-mediawiki.org/wiki/Help:Remove_the_footer_icon_added_by_Semantic_MediaWiki ***/ #f-poweredbyico { display: none !important; } #footer-icons { display: none !important; } /*** Classes for coloring ***/ .ep-red{color: OrangeRed} .ep-green{color: Lime} .ep-blue{color: Cyan} .ep-white{color: White} /*** Classes for Damage Types ***/ .ep-bg-stab{background-color: Orchid} .ep-bg-cut{background-color: RosyBrown} .ep-bg-impact{background-color: DarkGrey} .ep-bg-penetration{background-color: DarkSalmon} .ep-bg-shrapnel{background-color: Olive} .ep-bg-burn{background-color: DarkOrange} .ep-bg-cold{background-color: CornflowerBlue} .ep-bg-acid{background-color: GreenYellow} .ep-bg-electric{background-color: PowderBlue} .ep-circle { width: 99%; height:99%; -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%; } /*** Tooltip-popup thingie ***/ .ep-tip span { display:none; opacity:0.9; color:black; position:absolute; bottom:20px; -moz-box-shadow: 2px 2px 2px #CCC; -webkit-box-shadow: 2px 2px 2px #CCC; box-shadow: 2px 2px 2px #CCC;} .ep-tip div { display:none; opacity:0.9; color:black; position:absolute; bottom:20px; -moz-box-shadow: 2px 2px 2px #CCC; -webkit-box-shadow: 2px 2px 2px #CCC; box-shadow: 2px 2px 2px #CCC;} .ep-tip:hover { color: Cyan; } .ep-tip:hover span { display:inline; z-index:99; max-width:300px; min-width:100px; } .ep-tip:hover div { display:initial; z-index:99; max-width:300px; min-width:100px; } /*** Horizontal list ***/ ul.horizontal-list { display: inline; list-style-type: none; } /********** T E S T I N G **********/ /* .skintest { color: red; } */ .collapseButton { /* 'show'/'hide' buttons created dynamically by the */ float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ font-weight: normal; /* are styled here so they can be customised. */ text-align: right; width: auto; } /***** 7. WIKITABLES, INFOBOX TEMPLATES, WARNINGS AND OTHER SUCH STYLINGS *****/ /* Wikitable (collapsible) class for skinning normal tables */ .collapsible { border: 0px solid black; } .collapsible th, .collapsible td { border: 0px solid black; } /* Set colours for all header cells in the top row */ .collapsible th[scope=col] { color: Black; background-color: #C0C0C0; font-size: 1.2em; font-style: bold;} .collapsible th[scope=row] { color: black; background-color: #E6E6E6; } .collapsible th[scope=row] /* For template documentation */ .template-documentation { clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 1em; } /*********** Rightbox ***********/ .rightbox { border-top:1px solid LightGrey; border-left:1px solid LightGrey; border-bottom:1px solid LightGrey; } /*********** EXPORT STYLES ***********/ /**** ROCKtropiaForum ****/ .rtfedit { background:url(http://www.entropiaplanets.com/w/images/5/52/Icon_Edit_Pencil_Blue_16px.png) no-repeat top left; display:inline-block; } .rtfrefresh { background:url(http://www.entropiaplanets.com/w/images/7/77/Icon_refresh_16px.png) no-repeat top left; display: inline-block; } /*********** Portal:Entropia Universe Real Estate ***********/ .portalrealestateheader { background-image:url(http://www.entropiaplanets.com/w/images/9/95/Portal_Entropia_Universe_Real_Estate_Header.jpg); background-color:#000000; background-position:50% } /*********** Portal:Next Island ***********/ .portalnextisland { background-image:url(http://www.entropiaplanets.com/w/images/8/8c/Portal_Next_Island_Header.png); background-position:50% } /*********** Portal:Planet Cyrene ***********/ .portalcyrene { background-image:url(http://www.entropiaplanets.com/w/images/f/f8/Planet_Cyrene_Merfolken_Header.png); background-position:50% } .Planet_Cyrene.rightbox { border-top:1px solid DeepSkyBlue; border-left:1px solid DeepSkyBlue; border-bottom:1px solid DeepSkyBlue; } .Planet_Cyrene.leftbox { border-top:1px solid DeepSkyBlue; border-right:1px solid DeepSkyBlue; border-bottom:1px solid DeepSkyBlue; } /*********** EntropiaPlanets Forums ***********/ table.EntropiaPlanetsForums { border: 1px solid LightGrey; border-collapse:collapse; } table.EntropiaPlanetsForums th { border: 1px solid black; } table.EntropiaPlanetsForums td { border: 1px solid black; } /*********** tighttable ***********/ table.tighttable { padding:0px; } table.tighttable th { padding:0px 0px 0px 1px; font-size:0.85em; font-weight:bold; } table.tighttable td { padding:0px 0px 0px 1px; font-size:0.85em; } table.tighttable th.Position { width:102px; } table.tighttable th.Rewards { width:300px; } /*********** nobordertable ***********/ table.nobordertable { border:0px solid white; } /*********** infoboxtable ***********/ table.infoboxtable {border-color:#FFFFFF; border-width:0px; border-style:solid; border-spacing:4px; } table.infoboxtable th { background-color:#DCDCDC; padding-left:4px; padding-right:4px; vertical-align:top; text-align:left; } /*********** even and odd in tables ***********/ .smwtable .row-even {background-color:#FFF;} .smwtable .row-odd {background-color:#CDE6EA;} /*********** mapping stuff ***********/ .maplabel {background-image:url(http://www.entropiaplanets.com/w/images/1/17/Maplabelback.png); } /* Weapon Card Test */ table.weaponcard { background-image: url(http://www.entropiaplanets.com/w/images/7/77/TestCard.png); background-size:100% 100%; }