MediaWiki:Wikia.css

From Portals of Phereon Wiki
Revision as of 17:56, 12 December 2020 by Kozd (talk | contribs) (130 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:Tabber.css - Tabber styles
> MediaWiki:NavSpecies.css - Species tabber 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:Tabber.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;
}

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

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

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

/* Hide preloads if full-width editor */
.editpage-sourcewidemode-on #preload-templates {
    display: none;
}

/* Disable discord module user list button */
.discord-online {
    pointer-events: none;
}

/* Main Page Discord banner */
.DiscordWikiBanner {
    margin:auto -4% -1%;
    height: 68px;
    background-image: url(https://discordapp.com/api/guilds/430685832668774400/widget.png?style=banner2);
    background-repeat: no-repeat;
    background-size: 100% auto;
}

/* Full space link + hide text */
.DiscordWikiBanner a {
    width: 100%;
    height: 100%;
    display: block;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    font-size: 0;
}

.town-tabber .tabbertab {height:300px;overflow: auto;}

.town-tabber .tabbertab::-webkit-scrollbar, 
.scrollbar-minimal::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.town-tabber .tabbertab::-webkit-scrollbar-track, 
.scrollbar-minimal::-webkit-scrollbar-track {
    background: transparent; 
}
 
/* Handle */
.town-tabber .tabbertab::-webkit-scrollbar-thumb, 
.scrollbar-minimal::-webkit-scrollbar-thumb {
    background: hsla(25, 43%, 44%, 1); 
}

/* Handle on hover */
.town-tabber .tabbertab::-webkit-scrollbar-thumb:hover, 
.scrollbar-minimal::-webkit-scrollbar-thumb:hover {
    background: hsla(25, 43%, 38%, 1); 
}

.imageAlign img {
    vertical-align: text-bottom;
}