MediaWiki:Wikia.css
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.
/* This page affects the CSS of the Wikia/Oasis skin. */
/* LockOldComments modifications */
.LockOldComments-locked [class^="InlineEntityFormWrapper"] {
background: #191919;
color: var(--theme-page-text-color--hover);
font-size: 14px;
}
/* Editor preview font */
.ve-ui-overlay .ve-ui-mwSaveDialog .mw-body-content,
#wikiPreview .mw-content-ltr {
font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
}
/*** Aircraft article-table border fix ***/
.article-table[border="1"] th, .article-table[border="1"] td, .WikiaTable[border="1"] th, .WikiaTable[border="1"] td {
border: 1px #333333 solid;
}
/*** References/Footnotes modifications ***/
ol.references {
list-style-position: inside; /* Fix for overflow:auto hiding bullets */
margin-bottom: 0px;
padding-left: 0.5em;
padding-right: 0.5em;
}
ol.references + ol.references {
margin-top: 0px;
}
#References, #Footnotes {
clear: both;
}
.reference {
white-space: nowrap; /* Prevent reference notes from having a line all to themselves */
}
.multi-references, #mw-content-text > ol.references {
max-height: 200px;
overflow: auto;
font-size: 11px;
line-height: 20px;
}
.WikiaArticle .multi-references sup, .WikiaArticle #mw-content-text > ol.references sup {
font-size: 9px;
}
.multi-references > div > ol.references {
list-style-type: inherit;
}
/*** Gallery padding for tables and tabbers ***/
.wikia-gallery-spacing-medium .wikia-gallery-item {
padding: 10px!important;
}
/*** Tabber ***/
.tabbernav li {
display: inline-block!important;
line-height: 22px!important;
}
.tabbernav li a {
background: #012e59!important;
background: -moz-linear-gradient(top, #02488b 35%, #012e59 65%)!important;
background: -webkit-linear-gradient(top, #02488b 35%,#012e59 65%)!important;
background: linear-gradient(to bottom, #02488b 35%,#012e59 65%)!important;
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#02488b', endColorstr='#012e59',GradientType=0 )!important;
color: white!important;
}
.acetab-sptemp .tabbernav li a {
background: #490102!important;
background: -moz-linear-gradient(top, #890205 35%, #490102 65%)!important;
background: -webkit-linear-gradient(top, #890205 35%,#490102 65%)!important;
background: linear-gradient(to bottom, #890205 35%,#490102 65%)!important;
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#890205', endColorstr='#490102',GradientType=0 )!important;
}
.tabbernav {
padding: 0!important;
font: normal 12px Helvetica,Arial,sans-serif!important;
border-bottom: 1px solid #323232!important;
}
ul.tabbernav .tabberactive a {
border-bottom: 0!important;
font-weight: bold;
font-size: 16px;
}
.tabberlive .tabbertab {
border: 1px solid #323232!important;
border-top: 0!important;
}
/*** Europa Portable Infobox modifications ***/
.pi-europa .pi-item-spacing {
padding: 6px 10px;
}
.pi-europa .pi-header {
font-size: 13px;
}
.pi-europa .pi-title {
font-size: 16px;
padding: 6px 14px;
}
.pi-europa .pi-image-collection-tabs {
text-align: center;
background-color: #001c36;
}
.pi-europa .pi-horizontal-group {
text-align: center;
}
.pi-europa .pi-horizontal-group-no-labels .pi-data-value {
padding-top: 5px;
}
.pi-europa .pi-data-value ol, .pi-europa .pi-data-value ul {
margin-left: 10px;
text-align: left;
}
.pi-europa .pi-data-value li {
padding-bottom: 2px;
text-indent: -5px;
}
.portable-infobox .reference a {
font-size: 85%;
}
.pi-caption {
text-align: center;
}
.pi-europa .pi-item-spacing.pi-caption {
padding-bottom: 4px;
font-style: italic;
font-size: 11px;
color: #9e9e9e
}
.pi-navigation {
text-align: center;
background-color: #0B2239!important;
}
.pi-horizontal-group-item[data-source="subbar"] {
hyphens: unset;
}
/*** Full Width PI theme for Fileinfo ***/
.pi-theme-fullwidth, .pi-theme-fullwidth.pi-layout-default .pi-data-value.pi-font {
width: 100%!important;
}
.pi-theme-fullwidth .pi-font, .pi-theme-fullwidth .pi-secondary-font {
font-size: 13px!important;
}
/*** Conflict infoboxes ***/
.pi-theme-conflict td {
line-height: 1.3em;
}
.pi-theme-conflict .pi-horizontal-group td {
text-align: left;
}
.pi-theme-conflict .pi-horizontal-group td img {
margin: 0.2em 0!important;
}
.pi-theme-conflict hr, .pi-theme-threeway hr {
height: 1px;
color: #666;
background-color: #666;
border: 0;
margin: 0.5em 0!important;
}
#civcasualties {
text-align: center;
}
/*** Removing auto video captions from specified galleries ***/
.no-video-captions .wikia-gallery .wikia-gallery-item .title {
display: none;
}
.no-video-captions .wikia-gallery-item .title + .lightbox-caption {
color: inherit;
font-weight: bold;
margin: 8px 0 5px;
}
/*** Removing vertical padding from large videos on Portals ***/
.remove-video-padding .wikia-gallery .wikia-gallery-item {
padding-top: 0!important;
padding-bottom: 0!important;
}
/*** Tabber H2 margin fix ***/
.tabbertab > h2:first-of-type {
margin-top: 10px!important;
}
/*** DiffPreview widen ***/
.modalWrapper#diff-preview {
width: 1024px!important;
margin-left: -514px!important;
}
/*** Image page listing modifications ***/
li.page-listing .grid-1 {
float: left;
width: 200px;
}
li.page-listing .grid-3 {
float: left;
width: 490px;
margin-left: 10px;
}
/*** Fixing image gallery positioning mid-editor ***/
.WikiaPhotoGalleryResults li.selected {
border: none;
margin: 15px;
}
/*** Hiding license selection and photo uploads outside of Special:Upload ***/
label[for="wpLicense"],
#wpLicense,
.mw-upload-editlicenses,
.oo-ui-tool-name-multiUploadBar,
.ve-ui-mwMediaDialog-panel-search .oo-ui-menuLayout-menu,
#msupload-div,
#msupload-container,
#wikieditor-toolbar-file-dialog + div .ui-button:last-child,
#page-header-add-new-photo,
#WikiaPhotoGalleryImageUploadForm,
#WikiaPhotoGallerySearch > p > b {
display: none !important;
}
.wikiEditor-ui .wikiEditor-ui-toolbar {
border-width: 1px;
}
#wpUploadDescription {
background: #ffffff;
color: black;
padding: 3px;
}
/*** UserTags ***/
a.tag {
color: inherit;
}
.tag.usergroup-sysop {
background:#000032!important;
}
/*** Right rail button colors ***/
.WikiaRail .rail-module .wds-button.wds-is-secondary {
border-color: #6799FD;
color: #6799FD;
}
/*** H5 Display Fix ***/
.WikiaArticle h5 {
font-size: inherit!important;
font-weight: bold;
}
/*** AircraftBox/AC7 icon fix ***/
.ac7aircraft-icon img {
vertical-align: text-bottom;
}
/*** Code block formatting ***/
code {
border: 1px solid #444;
padding: 1px 4px;
border-radius: 3px;
}
/*** UCP spacing fixes ***/
.mw-parser-output p:first-of-type {
margin: 0;
}
ul.tabbernav li {
padding-top: 0;
}
/* temporary UCP references highlight fix */
ol.references li:target, sup.reference:target {
background-color: #454f52;
}
/*** Text shadow on Special:Community header */
.community-page-header .community-page-header-content {
text-shadow: 0 0 5px #000;
}
/*** Strangereal timeline TOC ***/
.page-Strangereal_Timeline #toc {
clear: both;
}
.page-Strangereal_Timeline #toc ul {
margin: 0;
}
.page-Strangereal_Timeline #toc li:before {
display: none;
}
.page-Strangereal_Timeline #toc li {
float: left;
}
.page-Strangereal_Timeline #toc li a {
display: block;
text-align: center;
padding: 8px 12px;
text-decoration: none;
}
.page-Strangereal_Timeline #toc li a:hover {
background: #3d68a6;
color: white;
}
.page-Strangereal_Timeline #toc > ul > li {
width: 100%;
}
.page-Strangereal_Timeline #toc > ul > li > a {
font-weight: bold;
}
/*** Module:Hatnote spacing at the top of articles ***/
.mw-parser-output .hatnote {
margin-bottom: 10px;
}