MediaWiki:Wikia.css

From Kairosoft Wiki
Jump to navigation Jump to search

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.
@import url("/index.php?title=MediaWiki:Common.css&usemsgcache=yes&ctype=text/css&smaxage=86400&action=raw&maxage=86400");
/* See also: [[MediaWiki:Common.css]] */

/* Adds a 3rd color choice */
.color3 { background-color: #B9AB8E; }

/* Changes the border color of wikitables */
.wikitable th, .wikitable td, .wikitable {
	border-color: rgb(153, 142, 120) !important;
}

.pi-image-collection ul.pi-image-collection-tabs { margin:0; }

/* Changes how a Score Calculation table is viewed in visual editor */
#bodyContent[contenteditable=true] .scorecalculation,
#bodyContent[contenteditable=true] .scorecalculation td
{ border:1px solid #333; border-collapse:collapse; padding:2px 4px; }

/* Styles the caption above a table */
.wikitable caption {
	color: black;
	background: #D6D1B2; /* Old Browser Support */
	background: linear-gradient(to bottom,  #D1CDB5 0%,#D6D1B2 55%);
	border: 1px solid rgb(153, 142, 120);
	border-bottom-width: 0;
	border-radius: 5px 5px 0 0;
}

/* Adds the wiki's background image to the ToC */
#toc {
    background:url(https://images.wikia.nocookie.net/kairosoft/images/5/50/Wiki-background);
    background-attachment: fixed;
    border-color:#998E78;
}

/* Rounds bottom corners on Wikia drop-down menus */
ul.subnav { border-radius: 0 0 8px 8px; }

/* Format the page count tally to the left of the contribute button (moved with JS) */
#WikiHeader .buttons .tally { display:inline-block; vertical-align:top; padding-right:5px; }
#WikiaPageHeader { padding-right:0; }

/* Tweaks appearance of Wikia buttons */
[class*=button]:not(.secondary) {
	border-color: #a7550d !important;
	border-width: 1.5px !important;
}
.secondary {
	box-shadow: 0 0 1px #be6c01;
}
.secondary:hover {
	box-shadow: 0 0 3px #c26e01;
}

/* Adds image to right side of Wikia navigation bar */
.wds-community-header__local-navigation {
	background-image:url(https://images.wikia.nocookie.net/kairosoft/images/6/69/Dancing_mascots.gif);
	background-repeat:no-repeat;
	background-position: 97% 50%;
}

/* Tweaks the Categories bar at the bottom of a page */
#WikiaArticleCategories {
	border-radius: 0 0 8px 8px;
	padding: 5px 8px;
}
#WikiaArticleCategories .container {
	padding: 5px 2px 1px;
}
#catlinks, #articleCategories .container {
  background: url(https://images.wikia.nocookie.net/kairosoft/images/d/d8/Satisfied.png);
background-repeat:no-repeat;
background-position:100% 50%;
}
#articleCategories .container { background-position:99% 50%; }

/* Preventing people messing up friend id pages so much so often */
.ooui-theme-fandomooui .friend-id-page .ve-ce-branchNode-blockSlug, .ooui-theme-fandomooui .friend-id-page .ve-ce-branchNode-newSlug { display:none; }

/* Fixes UCP VE issue with icon being white */
.oo-ui-iconElement-icon {
    filter: brightness(50%)
}