MediaWiki:Common.css

De Ace Combat Wiki
Ir para navegação Ir para pesquisar

Nota: Após publicar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.

  • Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
  • Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
  • Internet Explorer/Edge: PressioneCtrl enquanto clica Recarregar, ou Pressione Ctrl-F5
  • Opera: Pressione Ctrl-F5.
/** o código CSS colocado aqui será aplicado a todos os temas */

/* ↓ GLOBAL CSS FROM ENGLISH WIKI ↓ */
@import url(/load.php?lang=en&modules=site.styles&only=styles&skin=vector);


/*** Hiding English image descriptions if a Portuguese description has been made ***/
#mw-imagepage-content + #shared-image-desc {
	display: none;
}

/*** Main Page Modules ***/
.MainPageModule, .embeddable-discussions-module {
	border: none;
	padding: 5px 10px;
	margin: auto auto 20px auto;
}
.rcs-container .MainPageModule {
	display: inline-block;
}
.embeddable-discussions-module .embeddable-discussions-heading-container {
	margin-top: 0px;
}
.embeddable-discussions-module .embeddable-discussions-heading {
	display: none;
}

/*** Main Page Headers ***/
.main-page-tag-lcs h2 {
	text-align: center;
	font-size: 26px;
	margin-top: 0px;
	border-bottom-color: #999;
}
.main-page-tag-rcs h2 {
	text-align: center;
	margin-top: 0px;
	border-bottom-color: #999;
	font-size: 20px;
}

/*** Portal Headers ***/
h2.portal-header {
	text-align: center;
	border-bottom-color: #666;
	font-size: 22px;
}

/*** References/Footnotes modifications ***/
ol.references {
	max-height: 200px;
	overflow: auto;
	list-style-position: inside; /* Fix for overflow:auto hiding bullets */
	margin-bottom: 15px;
	padding-left: 0.5em;
	padding-right: 0.5em;
}
#References, #Footnotes {
	clear: both;
}
.reference {
	white-space: nowrap; /* Prevent reference notes from having a line all to themselves */
}

/*** Quote template styling ***/
.quote {
     border-left: 3px solid #1E508A;
     margin-left: 9px;
}
.quote dl {
     padding: 5px 0;
}
.quote dl dd {
     margin-left: 15px;
}


/*** Gallery padding for tables and tabbers ***/
.wikia-gallery-spacing-medium .wikia-gallery-item {
	padding: 10px!important;
}


/*** Hatnote templates ***/
.hatnote {
	 font-size: 95%;
}

/*** Project:Polls, from Destiny Wiki's Common.css ***/
.poll-table {
	background: #0C0C0C;
	border-collapse: collapse;
	border: none;
	margin: 1em 1em 1em 0;
}
.poll-table th {
	background: #1C1C1C;
	text-align: left!important;
}
.poll-table>thead>tr>th, .poll-table>tbody>tr>td {
	border-bottom: 1px #707070 solid;
	padding: 6px 12px;
	vertical-align: top;
}
.poll-table p {
	margin: 0!important;
}
/** More Info Button, from Destiny Wiki's Common.css and themed after Fandom Design System **/
.moreInfo a {
	display: block;
	width: 100%;
	cursor: pointer;
	text-align: center;
	background: #012E59;
	height: 30px;
	line-height: 30px;
	text-decoration: none;
	color: #FFFFFF!important;
}
.moreInfo a:hover {
	color: #FFFFFF!important;
	background: #02488B;
	text-decoration: none;
}


/*** Template:Mbox colors, see Wikia.css and Monobook.css for base styling ***/
.mbox-orange {
	 border-left-color: #b40!important;
}
.mbox-blue {
	 border-left-color: #33c!important;
}
.mbox-red {
	 border-left-color: #700!important;
}
.mbox-green {
	border-left-color: #050!important;
}


/*** Europa Portable Infobox modifications ***/
.pi-header {
	cursor: default;
}
.pi-europa .pi-item-spacing {
	padding: 4px 12px;
}
.pi-europa .pi-header {
	font-size: 12px;
}
.pi-europa .pi-title {
	font-size: 16px;
	padding: 5px 12px!important;
}
.pi-europa .pi-image-collection-tabs {
	text-align: center;
}
.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;
}

 
/*** 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;
}


/*** Navboxes ***/
.navbox {
	width: 100%;
	background: #034F7A;
	color: white;
	margin: 1em auto;
	font-size: 84%;
	clear: both;
	padding: 2px;
	border-spacing: 0;
	border: none; /* 2px solid #034F7A */
	border-radius: 3px;
}
 
/*.navbox a {
	color: #BFBFFF;
}*/
 
/* Merges navboxes that are directly under each other */
.navbox + .navbox {
	margin-top: -16px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.navbox .navbox-title {
	background: #012E59;
	font-weight: bold;
}

.navbox .navbox-title > th > a {
	color: #FFF;
}

.navbox .navbox-title, .navbox .navbox-title a {
	color: #CCF;
}
 
.navbox .navbox-title-padright {
	padding-right: 65px;
}

.navbox .navbox-title-padleft {
	padding-left: 65px;
}

.navbox .navbox-subgroup {
	border-spacing: 0;
	width: 100%;
}

.navbox .navbox-gutter {
	height: 2px;
}

.navbox .navbox-subgroup .navbox-gutter {
	background: #034F7A;
}

.navbox .navbox-subgroup .navbox-group {
	min-width: 150px;
}

.navbox .navbox-section-row > td {
	padding: 0;
	height: 100%;
}

.navbox .navbox-section {
	width: 100%;
	border-spacing: 0;
}

.navbox .navbox-above,
.navbox .navbox-below,
.navbox .navbox-image {
	background: #001D48;
	text-align: center;
}

.navbox .navbox-group,
.navbox .navbox-header {
	background: #012E59;
	color:white;
	font-weight: bold;
	height: 100%;
	padding: 2px 4px;
}

.navbox .navbox-header-collapsible {
	padding-left: 65px;
}

.navbox .navbox-group {
	min-width: 125px;
}

.navbox .navbox-group,
.navbox .navbox-image-left {
	border-right: 2px solid #034F7A;
}

.navbox-image-right {
	border-left: 2px solid #034F7A;
}

.navbox .navbox-list {
	background: #0D0F11;
	color:white;
	width: 100%;
	height: 100%;
	padding: 0;
}

.navbox .navbox-list div {
	padding: 0px 4px;
}

.navbox .navbox-list.no-group {
	text-align: center;
	padding-top: 2px;
	padding-bottom: 2px;
}

/*.navbox .navbox-list a {
	color: #66F;
}

.navbox .navbox-list a.new {
	color: #F22 !important;
}*/

.navbox .mw-collapsible-toggle {
	width: 65px;
}
/* hlist */
.hlist ul {
	margin: 0;
	list-style: none;
}

.hlist li, .hlist ul ul {
	display: inline;
}

.hlist li a {
	white-space: nowrap;
}

.hlist ul ul:before {
	content: "("
}

.hlist ul ul:after {
	content: ")"
}

.hlist li:after {
	content: " • ";
}

.hlist ul ul li:after {
	content: "/";
}

.hlist li:last-child:after, .hlist ul ul li:last-child:after {
	content: none;
}


/* Tooltips */
/* Main CSS class of the tooltip */
.main-tooltip {
	border: 1px solid #888;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
	border-radius: 4px;
	margin-bottom: 5px;
	padding: 2px 5px;
	background: rgba(25,25,25,0.97);
	min-width: 370px;
	max-width: 450px;
}
 
/* Adds padding to the wrapper to make space for a shadow + z-index so tooltips are visible over edit preview screen */
#tooltip-wrapper {
	padding: 3px 7px 2px 3px;
	z-index: 6000000;
}
 
/* Hides tooltips with redlinks, not yet loaded ones and elements containing tooltip contents for advanced tooltips */
.has-redlinks, .tooltip-loading, .advanced-tooltip .tooltip-contents {
	display: none;
}


/* Limits headers shown in a Table of Contents */
/* Taken from Wikipedia: http://en.wikipedia.org/wiki/MediaWiki:Common.css */
/* To be used in conjunction with Template:TOC limit */
.toclimit-2 .toclevel-1 ol, .toclimit-3 .toclevel-2 ol, .toclimit-4 .toclevel-3 ol, .toclimit-5 .toclevel-4 ol, .toclimit-6 .toclevel-5 ol, .toclimit-7 .toclevel-6 ol {
	display: none;
}


/* Removing section edit links for users who may have it enabled */
h2 .editsection, h3 .editsection, h4 .editsection, h5 .editsection, h6 .editsection {
	display: none;
}


/* 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;
}