MediaWiki:Wikia.css: Difference between revisions
From Portals of Phereon Wiki
Content added Content deleted
portalsofphereon>Kozd mNo edit summary |
portalsofphereon>Kozd mNo edit summary |
||
Line 121: | Line 121: | ||
} |
} |
||
/* Main Page Discord banner */ |
|||
.DiscordWikiBanner { |
.DiscordWikiBanner { |
||
width: 265px; |
width: 265px; |
||
Line 127: | Line 128: | ||
background-repeat: no-repeat; |
background-repeat: no-repeat; |
||
background-size: 100% 100%; |
background-size: 100% 100%; |
||
} |
|||
/* Full space link + hide text */ |
|||
.DiscordWikiBanner a { |
|||
width: 100%; |
|||
height: 100%; |
|||
display: block; |
|||
text-indent: 100%; |
|||
white-space: nowrap; |
|||
overflow: hidden; |
|||
} |
} |
Revision as of 08:40, 22 November 2019
/* 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 {
width: 265px;
height: 76px;
background-image: url(https://discordapp.com/api/guilds/430685832668774400/widget.png?style=banner2);
background-repeat: no-repeat;
background-size: 100% 100%;
}
/* Full space link + hide text */
.DiscordWikiBanner a {
width: 100%;
height: 100%;
display: block;
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}