MediaWiki:Wikia.css: Difference between revisions

From Redemption Wiki
Jump to navigation Jump to search
>HexUseMe
No edit summary
>HexUseMe
No edit summary
Line 230: Line 230:
  * <pre>
  * <pre>
  */
  */
/* Imports */
@import url('https://fonts.googleapis.com/css?family=Bevan|Raleway');
@import "/index.php?title=MediaWiki:Mainpage.css&action=raw&ctype=text/css";
/* End imports */
   
   
/* Mark redirects in Special:Allpages and Special:Watchlist */
/* Mark redirects in Special:Allpages and Special:Watchlist */

Revision as of 23:05, 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>');
}

/* Customizing Tabber */
.tabbertab {
    border-top: 1px solid grey !important;
    border-bottom: 1px solid grey !important;
    border-left: 1px solid grey !important;
    border-right: 1px solid grey !important;
}
 
/* 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: white !important;
    border-top-left-radius: 5px !important;
    border-top-right-radius: 5px !important;
    border: 1px solid black !important;
    color: black !important;
    font-size: 15px !important;
    font-weight: normal !important;
    margin-left: 0 !important;
    padding: 3px 0.5em !important;
    position: relative;
}
 
ul.tabbernav li.tabberactive a {
    background-color: #bfeff2 !important;
    border: 1px solid black !important;
    color: black !important;
    cursor: default;
    font-size: 15px !important;
    font-weight: bold !important;
}
 
ul.tabbernav li.tabberactive {
    line-height: 0 !important;
}
 
    ul.tabbernav li.tabberactive:first-child a {
        margin-left: 0 !important;
    }
 
.tabbertab .ajax-poll {
    border: none !important;
}
 
.tabberlive .tabbertab h2,
.tabberlive .tabbertab h3 {
    display: block !important;
}
/* End of Customizing Tabber */

/***** CSS placed here will be applied to all skins on the entire site. *****
 * See also: [[MediaWiki:Monobook.css]]
 * <pre>
 */
 
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect,
.watchlistredir {
    font-style: italic;
}
 
/* Force links to appear as redlinks */
.redlink a {
    color: #cc2200;
}
 
/* Make tag more prominent in RecentChanges */
.mw-tag-marker-non-script-i18n-edit {
    color: red;
    font-weight: bold;
}
 
/******************************
**** My Infobox Theme ****
*******************************/
 
.my-theme-infobox-toggle-content span.mw-collapsible-toggle {
    float: none;
    display: block;
}
 
.my-theme-infobox-container {
    float: right;
 
    box-sizing: border-box;
    width: 275px;
    margin: 0 0 10px 10px;
    padding: 10px;
 
    border: 1px solid #B5B7CF;
    border-radius: 10px;
 
    background-color: #EFF0FF;
 
    font-size: 10px;
    color: #3A3A3A;
}
 
.my-theme-infobox-container table {
    width: 100%;
}
 
.my-theme-infobox-main-image img {
    max-width: 100% !important;
    height: auto;
    display: block;
    padding: 1em;
    box-sizing: border-box;
}
 
.my-theme-infobox-main-image-caption {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 5px 0px;
}
 
.my-theme-infobox-image img {
    max-width: 100% !important;
    height: auto;
    display: block;
    padding: 1em;
    box-sizing: border-box;
}
 
.my-theme-infobox-image-caption {
    font-size: 90%;
}
 
.my-theme-infobox-title {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
}
 
.my-theme-infobox-header {
    padding-top: 10px;
    font-size: 14px;
    text-align: center;
}
 
.my-theme-infobox-link {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}
 
.my-theme-infobox-line {
    border-top: 1px solid #ccc;
}
 
.my-theme-infobox-line-left {
    vertical-align: top;
    border-top: 1px solid #B5B7CF;
    width: 40%;
}
 
.my-theme-infobox-line-right {
    vertical-align: top;
    text-align: right;
    border-top: 1px solid #B5B7CF;
    width: 60%;
}
 
 
/************ END *************/
 
/* Infobox template style */
.infobox {
    border: 1px solid #aaaaaa;
    background-color: #f9f9f9;
    color: black;
    margin-bottom: 0.5em;
    margin-left: 1em;
    padding: 0.2em;
    float: right;
    clear: right;
}
.infobox td,
.infobox th {
    vertical-align: top;
}
.infobox caption {
    font-size: larger;
    margin-left: inherit;
}
.infobox.bordered {
    border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}
 
/* Giving headers and TOC a little extra space */
#mw-content-text > h2,
.toc {
    margin-top: 20px;
}
 
/* Forum formatting (by -Algorithm & -Splaka) */
.forumheader {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    margin-top: 1em;
    padding: 12px;
}
.forumlist td.forum_edited a {
    color: #000;
    text-decoration: none
}
.forumlist td.forum_title a {
    padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
    font-weight: bold;
    background: url(/images/4/4e/Forum_new.gif) center left no-repeat;
    padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
    font-weight: normal;
    background: none;
    padding-left: 20px;
}
.forumlist th.forum_title {
    padding-left: 20px;
}
 
/* Recent changes byte indicators */
.mw-plusminus-pos {
    color: #006500;
}
 
.mw-plusminus-neg {
    color: #8b0000;
}
 
/* === Babel === */
div.babelbox {
    float: right;
    margin-left: 1em;
    margin-bottom: 0.5em;
    width: 246px;
    border: 1px solid #99b3ff;
    padding: 2px 0;
}
.lang-blockN,
.lang-block0,
.lang-block1,
.lang-block2,
.lang-block3 {
    margin: 2px 4px 2px 4px;
    width: 238px;
    border-collapse: collapse;
}
 
td.lang-codeN,
td.lang-code0,
td.lang-code1,
td.lang-code2,
td.lang-code3 {
    text-align: center;
    font-size: 14pt;
    width: 45px;
    height: 45px;
}
 
td.lang-descriptionN,
td.lang-description0,
td.lang-description1,
td.lang-description2,
td.lang-description3 {
    font-size: 8pt;
    padding: 4pt;
    line-height: 1.25em
}
 
.lang-block0 {
    border:1px solid #FFB3B3;
}
 
td.lang-code0 {
    background-color: #FFB3B3;
    color: black;
}
 
td.lang-description0 {
    background-color: #FFE0E8;
    color: black;
}
 
.lang-block1,
.lang-block2,
.lang-block3  {
    border:1px solid #99B3FF;
}
 
td.lang-code1,
td.lang-code2,
td.lang-code3 {
    background-color: #99B3FF;
    color: black;
}
 
td.lang-description1,
td.lang-description2,
td.lang-description3 {
    background-color: #E0E8FF;
    color: black;
}
 
.lang-blockN {
    border:1px solid #6EF7A7;
}
 
td.lang-codeN {
    background-color: #6EF7A7;
    color: black;
}
 
td.lang-descriptionN {
    background-color: #C5FCDC;
    color: black;
}
 
/* Template:Extension -- styles from MediaWiki.org */
.ext-infobox {
    border: 2px solid #aaaaaa;
    width: 272px; 
    float: right; 
    margin: 0 0 0.5em 0.5em; 
    border-collapse: collapse; 
    background-color: white;
}
 
.ext-infobox td {
    border: 2px none #aaaaaa;
    padding: 0.2em 0.5em;
    border-bottom: 1px solid #f0f0f0 !important;
}
 
.ext-header {
    background-color: #aaaaaa;
    color: white;
    text-align: left;
}
.ext-header td {
    padding-top: 0.5em;
}
 
.ext-header img {
    padding: 0 0.2em 0 0.5em;
}
 
.ext-status-unstable,
.ext-status-unstable td {
    border-color: #990000;
}
 
.ext-status-unstable .ext-header {
    background-color: #990000;
    color: #ffff00;
}
 
.ext-status-experimental,
.ext-status-experimental td {
    border-color: #CC6600;
}
 
 
.ext-status-experimental .ext-header {
    background-color: #CC6600;
}
 
.ext-status-beta,
.ext-status-beta td {
    border-color: #000099;
}
 
.ext-status-beta .ext-header {
    background-color: #000099;
}
 
.ext-status-stable,
.ext-status-stable td {
    border-color: #009900;
}
 
.ext-status-stable .ext-header {
    background-color: #009900;
}
 
/** GENERAL PURPOSE PRETTY TABLES */
table.datatable {
    background-color: transparent;
}
 
table.datatable th,
table.datatable td {
    padding: 4px;
}
 
table.datatable th {
    text-align: left;
    background-color: #999999;
}
 
table.datatable tr {
    background-color: #CCCCCC;
}
 
table.datatable tr:hover {
    background-color: #FFFFCC;
}
 
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
    empty-cells:show;
}
 
table.wikitable th,
table.wikitable td,
table.prettytable th,
table.prettytable td {
    border: 1px #aaa solid;
    padding: 0.2em 0.4em;
}
 
table.wikitable th,
table.wikitable td.hl3,
table.wikitable th.hl3,
table.prettytable th,
table.prettytable td.hl3,
table.wikitable th.hl3 {
    background: #8da7d6;
    text-align: center;
}
 
table.wikitable td.hl1,
table.wikitable th.hl1,
table.prettytable td.hl1,
table.wikitable th.hl1 {
    background: #c5d8fc;
    text-align: center;
}
 
table.wikitable td.hl2,
table.wikitable th.hl2,
table.prettytable td.hl2,
table.wikitable th.hl2 {
    background: #a7c1f2;
    text-align: center;
}
 
table.wikitable caption,
table.prettytable caption {
    margin-left: inherit;
    margin-right: inherit;
    font-weight: bold;
}
 
.NavFrame {
    background: #f9f9f9;
    border: 1px #aaa solid;
    padding: 5px;
}
 
.NavFrame .NavHead {
    background: #8DA7D6;
    border: 1px #aaa solid;
    text-align: center;
    font-weight: bold;
}
 
.NavFrame .NavContent {
    padding: 5px 0;
}
 
.collapsibleButton {
    font-weight: normal;
}
 
.collapsibleLink {
    color: #002BB8;
}
 
/** Style for RSA Keys **/
.rsa {
    padding: 1em;
    border: 1px dashed #2fab34;
    color: black;
    background-color: #f9f9f9;
    line-height: 1.1em;
    white-space: wrap;
    overflow: auto;
}
 
/* for examples on [[CollapsibleInfobox]] */
/* positions the +/- */
a.infoboxtoggle {
    float: right;
}
 
/* hides hidden rows */
.hidden {
    display: none;
}
 
/* does _not_ hide headers */
tr.header.hidden {
    display: table-row;
}
 
/* div.Pre class used in conjuction with source tag */
div.pre {
    background-color:#F9F9F9;
    border:1px dashed #2F6FAB;
    padding:0.5em 1em;
    font-family:monospace;
}
 
/* [[Template:Notice]] */
.notice {
    font-size: 95%;
    width: 80%;
    margin: 0 auto;
    border: 1px #aaa solid;
    border-collapse: collapse;
    background-color: #eee;
    border-left: 10px solid #228b22;
}
 
.notice.red {
    border-left: 10px solid #b22222;
}
 
.notice.orange {
    border-left: 10px solid #f28500;
}
 
.notice.yellow {
    border-left: 10px solid #f4c430;
}
 
.notice.purple {
    border-left: 10px solid #9932cc;
}
 
.notice.blue {
    border-left: 10px solid #1e90ff;
}
 
.notice.gray {
    border-left: 10px solid #bba;
}
 
.notice .notice-img {
    width: 60px;
    padding: 2px 0px 2px 0.5em;
    text-align: center;
}
 
.notice .notice-text {
    padding: 0.25em 0.5em;
    color:#000;
}
 
.notice .notice-info {
    font-size: 85%;
    margin-top:0.5em;
}
 
/**
 * Fix overflow bug in monobook
 */
#mw-content-text pre {
    overflow: auto;
    word-wrap: normal;
}