MediaWiki:Wikia.css

From Portals of Phereon Wiki
Revision as of 15:20, 15 November 2019 by portalsofphereon>Olaroll

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Imports:
> MediaWiki:Mbox.css - Mbox styles
> MediaWiki:NavSpecies.css - species tabview tab color styles
> MediaWiki:ThemeSpecies.css - species infobox styles
> MediaWiki:ThemeNPC.css - NPC infobox styles
*/
@import "/load.php?articles=MediaWiki:Mbox.css&only=styles&mode=articles";
@import "/load.php?articles=MediaWiki:NavSpecies.css&only=styles&mode=articles";
@import "/load.php?articles=MediaWiki:ThemeSpecies.css&only=styles&mode=articles";
@import "/load.php?articles=MediaWiki:ThemeNPC.css&only=styles&mode=articles";

/* Tabview Design */
/* Selected Tab */
ul.tabs li.selected a {
    color: White;
    background: #572806;
    border: 3px solid Black;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    text-shadow:
    1.4px 1.4px 0 black,
   -1px -1px 0 black,  
    1px -1px 0 black,
    -1px 1px 0 black,
     1px 1px 0 black;
}
 
/* Normal Tab; NOT selected */
ul.tabs li a {
    background: #a55b26;
    color: White;
    border: 2px solid Black;
    border-bottom: none;
    text-shadow:
    1.4px 1.4px 0 black,
   -1px -1px 0 black,  
    1px -1px 0 black,
    -1px 1px 0 black,
     1px 1px 0 black;
}
 
/* Contents of the selected tab */
.tabBody.selected {
    background: #caac95;
    color: Black;
    border: 3px solid Black;
    border-radius: 0 0 6px 6px;
    padding: 5px;
    box-shadow: 3px 3px 6px Black;
}

/* Customizing Tabber */
.tabbertab {
    border-top: 2px solid Black !important;
    border-bottom: 2px solid Black !important;
    border-left: 2px solid Black !important;
    border-right: 2px solid Black !important;
    background: #caac95;
}
 
/* add spaces to tabview tabs */
.tabberlive > ul.tabbernav > li {
    margin-right: 2px;
}
    /* not applying on the last tabview tabs */
    .tabberlive > ul.tabbernav > li:last-child {
        margin-right: 0;
    }
 
.tabbernav {
    background: transparent;
    border-bottom: 0 !important;
    padding: 3px 0 !important;
}
 
ul.tabbernav li a {
    -moz-border-radius-topleft: 5px !important;
    -moz-border-radius-topright: 5px !important;
    background: #a55b26 !important;
    border-top-left-radius: 5px !important;
    border-top-right-radius: 5px !important;
    border: 2px solid black !important;
    color: white !important;
    font-size: 16px !important;
    font-weight: normal !important;
    margin-left: 0 !important;
    padding: 3px 0.5em !important;
    position: relative;
    text-shadow:
    1.4px 1.4px 0 black,
   -1px -1px 0 black,  
    1px -1px 0 black,
    -1px 1px 0 black,
     1px 1px 0 black;
}
 
ul.tabbernav li.tabberactive a {
    background-color: #572806 !important;
    border: 2px solid black !important;
    color: white !important;
    cursor: default;
    font-size: 16px !important;
    font-weight: bold !important;
}
 
ul.tabbernav li.tabberactive {
    
}
 
ul.tabbernav li.tabberactive:first-child a {
        margin-left: 0 !important;
    }
    
ul.tabbernav li a:hover {
    text-decoration: underline !important;
}
 
.tabbertab .ajax-poll {
    border: none !important;
}
 
.tabberlive .tabbertab h2,
.tabberlive .tabbertab h3 {
    display: block !important;
}
/* End of Customizing Tabber */

/* No section edit buttons */

.editsection { display: none; }

/* Changing the color of the links */
/*a:not(.portable-infobox) {
	-webkit-transition: all 200ms;
	-moz-transition: all 200ms;
	-ms-transition: all 200ms;
	-o-transition: all 200ms;
	transition: all 200ms;
}

a:hover {
	-webkit-transition: all 200ms;
	-moz-transition: all 200ms;
	-ms-transition: all 200ms;
	-o-transition: all 200ms;
	transition: all 200ms;
	text-shadow: 0px 0px 2px #42bcd5;
	color: #42bcd5;
}*/

/* Poll */
.ajax-poll, .pollAnswerVotes {
    border-color: #230a06 !important;
    width: auto;
}

/* Table/Cell Border enable special style */
.table-border {
    border: 1px solid #b2af9c;
}
.table-border td, .table-border th{
    border-left: 1px solid #b2af9c;
    border-right: 1px solid #b2af9c;
}

/* h3 underline */
h3 > .mw-headline {
    text-decoration: underline !important;
}

/* To make images responsive */
.autoscale img {
	max-width:100%;
	height:auto;
}

/* make subheading 3 not useless, smaller that text (default: 16px) (default h5 = 12px)*/
.WikiaArticle h5 {
    font-size: 16px;
}

/* make subheading 4 size as subheading 3*/
.WikiaArticle h6 {
    font-size: 12px;
}