MediaWiki:Wikia.css: Difference between revisions
Jump to navigation
Jump to search
>HexUseMe No edit summary |
>HexUseMe No edit summary |
||
| Line 159: | Line 159: | ||
function WikiActivity2RecentChanges{ | function WikiActivity2RecentChanges{ | ||
$('.wikia-button[data-id$="wikiactivity"]').replaceWith('<a data-id="recentchanges" class="wikia-button secondary" accesskey="g" title="Special:RecentChanges" href="/wiki/Special:RecentChanges"><img height="0" width="0" class="sprite activity" src="http://images1.wikia.nocookie.net/common/skins/common/blank.gif">Recent Changes</a>'); | $('.wikia-button[data-id$="wikiactivity"]').replaceWith('<a data-id="recentchanges" class="wikia-button secondary" accesskey="g" title="Special:RecentChanges" href="/wiki/Special:RecentChanges"><img height="0" width="0" class="sprite activity" src="http://images1.wikia.nocookie.net/common/skins/common/blank.gif">Recent Changes</a>'); | ||
} | |||
.tabbernav { | |||
font-family: inherit !important; | |||
font-weight: normal !important; | |||
font-size: 13px !important; | |||
border-bottom: 3px solid #2aa198 !important; | |||
padding: 0.3em 0 !important; | |||
} | |||
.tabbernav a { | |||
padding: 0.3em 0.5em !important; | |||
margin: 0 !important; | |||
color: #3a3a3a !important; | |||
border: none !important; | |||
background: transparent !important; | |||
} | |||
.tabberactive a { | |||
color: white !important; | |||
background: #2aa198 !important; | |||
} | |||
.tabbernav :not(.tabberactive) a:hover { | |||
background: rgba(42,161,152, 0.2) !important; | |||
} | |||
.tabbertab { | |||
border: none !important; | |||
padding: 0 !important; | |||
} | } | ||
Revision as of 22:09, 20 October 2017
@import "/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css";
.i18ndoc {
background-color: #FFF77D;
border-bottom: 1px solid lightgrey;
font-family: monospace;
font-size: 8pt;
height: 140px;
overflow: auto;
padding: 3px;
}
/* Remove "Added by <name>" tag on images */
.WikiaArticle .picture-attribution {display:none;}
.wordmark {padding-left:30px;}
/* [[Template:Navbox]] */
table.navbox { /* Navbox style */
border: 1px solid #E5CDBE;
padding: 1px;
}
.navbox, .navbox-subgroup {
background: #E7D8C5; /* Background color */
}
.navbox-title { /* Title style */
background: #A78154; /* Level 1 color */
}
.navbox-group { /* Group style */
background: #C19A6B; /* Level 2 color */
}
.navbox-subgroup .navbox-title {
background: #C19A6B; /* Level 2 color */
}
.navbox-subgroup .navbox-group {
background: #C19A6B; /* Level 3 color */
}
/**
* Styling for topIcon function in [[MediaWiki:Common.js]]
*/
.topright-icon {
display: none;
}
#rs-header-icons {
position: absolute;
right: 0;
}
#rs-header-icons a {
margin-left: 2px;
}
/* Bolding headers */
h3,
h4,
h5,
h6 {
font-weight: bold !important;
}
/**
* Core font-size overrides
*/
/* from <https://github.com/Wikia/app/blob/dev/skins/oasis/css/mixins/bodytext.scss> */
.WikiaArticle {
font-size: 13px;
line-height: 21px;
}
/* from <https://github.com/Wikia/app/blob/dev/skins/oasis/css/core/article.scss> */
.WikiaArticle h2 {
font-size: 18px;
}
.WikiaArticle h3 {
font-size: 16px;
}
.WikiaArticle h4 {
font-size: 14px;
}
.WikiaArticle li {
line-height: 20px;
}
.WikiaArticle .editsection {
font-size: 13px;
}
.WikiaArticle .editsection img {
margin-right: 0;
}
.WikiaArticle .thumbcaption {
line-height: 18px;
}
.WikiaArticle .toc #toctitle h2 {
font-size: 14px;
}
.WikiaArticle .toc #toctitle .toctoggle {
font-size: 12px;
}
#RelatedPagesModuleWrapper {
display:none;
}
/* Preventing image attribution displaying */
.WikiaArticle .article-thumb .attribution {
display: none;
}
/* Overriding faded colour caption text back to black */
.WikiaArticle .article-thumb .caption {
color: #000;
}
.WikiaMainPageBanner,
.wikia-ad,
#WikiaArticleBottomAd,
.FooterAd,
#TOP_LEADERBOARD { display:none }
a[href$="/wiki/User:Blueoptic"] {
text-shadow:0px 0px 4px orange;
color: orange !important;
font-weight: bold !important;
font-family: Arial !important;
}
a[href$="/wiki/User:Bman00100"] {
text-shadow:0px 0px 4px orange;
color: orange !important;
font-weight: bold !important;
font-family: Arial !important;
}
a[href$="/wiki/User:Ownerscape"] {
text-shadow:0px 0px 4px orange;
color: orange !important;
font-weight: bold !important;
font-family: Arial !important;
}
a[href$="/wiki/User:Amonn11"] {
text-shadow:0px 0px 4px cyan;
color: cyan !important;
font-weight: bold !important;
font-family: Arial !important;
}
/* change wiki activity to recent changes */
function WikiActivity2RecentChanges{
$('.wikia-button[data-id$="wikiactivity"]').replaceWith('<a data-id="recentchanges" class="wikia-button secondary" accesskey="g" title="Special:RecentChanges" href="/wiki/Special:RecentChanges"><img height="0" width="0" class="sprite activity" src="http://images1.wikia.nocookie.net/common/skins/common/blank.gif">Recent Changes</a>');
}
.tabbernav {
font-family: inherit !important;
font-weight: normal !important;
font-size: 13px !important;
border-bottom: 3px solid #2aa198 !important;
padding: 0.3em 0 !important;
}
.tabbernav a {
padding: 0.3em 0.5em !important;
margin: 0 !important;
color: #3a3a3a !important;
border: none !important;
background: transparent !important;
}
.tabberactive a {
color: white !important;
background: #2aa198 !important;
}
.tabbernav :not(.tabberactive) a:hover {
background: rgba(42,161,152, 0.2) !important;
}
.tabbertab {
border: none !important;
padding: 0 !important;
}