Information.png

Welcome to the Kingdom Hearts Database! 👑 Pardon the dust! We're rolling out new updates and improvements to the design of the Kingdom Hearts Database! Stay tuned for details this week! 👑 Our Spoiler policy is in effect! All articles related to Kingdom Hearts III must have the Unreleased template until checked and cleared by a member of the site staff! 👑 Be sure to join our Discord server and meet our growing community!

Difference between revisions of "MediaWiki:Common.css"

From Kingdom Hearts Database
Jump to: navigation, search
Line 420: Line 420:
 
**
 
**
 
**************************************************/
 
**************************************************/
table{
+
.mw-parser-output table{
 
border: none;
 
border: none;
 
     background: #EFEFEF;
 
     background: #EFEFEF;
Line 426: Line 426:
 
}
 
}
  
table tr{
+
.mw-parser-output table tr{
 
border: none;
 
border: none;
 
}
 
}
  
td, th {
+
.mw-parser-output td, .mw-parser-output th {
 
     border: none;
 
     border: none;
 
     padding: 0.8em;
 
     padding: 0.8em;

Revision as of 02:18, 11 January 2020

/* CSS placed here will be applied to all skins */

/*************************************************
**
**		IMPORT FONTS
**
**************************************************/
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:100,300,400,700&display=swap&subset=greek,greek-ext,latin-ext');
@import url('https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i&display=swap&subset=greek,greek-ext,latin-ext');


/*************************************************
**
**		FORMATTING AND HEADERS
**
**************************************************/
body {
 font-family:Roboto;
}

@media (max-width: 720px) {
  .page-Main_Page .mw-body {
    padding:0;
 }
}

/* Hides Main Page/Community Portal page titles */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading,
body.page-KHDatabase_Community_Portal.action-view h1.firstHeading, body.page-KHDatabase_Community_Portal.action-submit h1.firstHeading,
body.page-KHDatabase_Community_Portal_Courtyard.action-view h1.firstHeading, body.page-KHDatabase_Community_Portal_Courtyard.action-submit h1.firstHeading,
body.page-KHDatabase_Community_Portal_Gummi_Ship_Hangar.action-view h1.firstHeading, body.page-KHDatabase_Community_Portal_Gummi_Ship_Hangar.action-submit h1.firstHeading,
body.page-KHDatabase_Community_Portal_Library.action-view h1.firstHeading, body.page-KHDatabase_Community_Portal_Library.action-submit h1.firstHeading,
body.page-KHDatabase_Community_Portal_Hall_of_the_Cornerstone.action-view h1.firstHeading, body.page-KHDatabase_Community_Portal_Hall_of_the_Cornerstone.action-submit h1.firstHeading,
body.page-KHDatabase_News.action-view h1.firstHeading, body.page-KHDatabase_News.action-submit h1.firstHeading{
	display: none;
}

.mw-newpages-pagename {
    font-weight: bolder;
}

#jump-to-nav{
	display:none;
}

.mw-body h1, .mw-body-content h1{
    font-family: "Roboto Slab","Linux Libertine","Georgia","Times",serif;
    border-bottom: 0px;
    font-size: 200%;
    margin-top: 10px;
}

.mw-body-content h2, h3, h4, h5{
    font-family: "Roboto", sans-serif;
    font-weight: 700;
}

.mw-body-content h2 {
    font-size: 170%;
    font-weight:300;
    border-bottom: 0px;
    margin-bottom: 0px;
}

.mw-body-content h3 {
	font-size:120%;
    font-weight:500;
}

.gameportal {
-webkit-backdrop-filter: saturate(180%) blur(20px);
backdrop-filter: saturate(180%) blur(20px);
}

/*************************************************
**
**		NAMESPACE 6
**		FILE THEME
**
**************************************************/
body.ns-6 {
    background: #000000 url(/images/1/16/Common_Background_%28Dark_Theme%29.png) repeat;
}

.ns-6 .mw-body, .ns-6 #footer {
    background:#282828;
    color: #BFBFBF;
}

.ns-6 h1, .ns-6 h2, .ns-6 h3, .ns-6 h4, .ns-6 h5, .ns-6 h6 {
    color: #DEDEDE;
}

.ns-6 a, .ns-6 a:visited{
    color: #A0C4E8;
}

.ns-6 .catlinks, .ns-6 #filetoc {
    background-color: #181818;
    border:1px solid #454545;
}

.ns-6 table.wikitable, .ns-6 .mw_metadata {
    background-color: #181818;
    color: #BFBFBF;
    border:1px solid #454545;
}

.ns-6 table.wikitable > tr > th, .ns-6 table.wikitable > * > tr > th, .ns-6 .mw_metadata th {
    background-color: #0d1926;
}

.ns-6 .mw_metadata td {
    background-color: unset;
}

.ns-6 .editOptions, .ns-6 .wikiEditor-ui-controls, .ns-6 .wikiEditor-ui-buttons, .ns-6 .pBody, .ns-6 #editpage-specialchars{
    background: #181818;
}

.ns-6 .wikiEditor-preview-contents {
    background-color: #282828;
}

.ns-6 #p-cactions li.selected a {
    background-color: #282828;
    color: #A0C4E8;
}

/*************************************************
**
**		NAMESPACE 110
**		FORUM THEME
**
**************************************************/

body.ns-110 {
    background: #000000 url(/images/4/44/Common_Background_%28Forums%29.png) repeat;
}

.ns-110 .mw-body{
    background: #ccddeb;
}

.ns-110 #p-cactions li.selected a , .ns-110 .wikiEditor-ui-controls, .ns-110 .wikiEditor-ui-buttons {
    background-color: #EEF2F5;
}

/*************************************************
**
**		NAMESPACE 3000
**		NEWS THEME
**
**************************************************/
.ns-3000 .mw-body{
    background: #f2f8ff;
}

/*************************************************
**
**		FORUM HOVERTABLE
**
**************************************************/

.forum-hovertable > tbody > tr {
	transition:0.1s ease-in-out;
}

.forum-hovertable > tbody > tr:hover {
	background-color: #06305B;
	color:#CDCDCD;
}

.forum-hovertable > tbody > tr:hover a {
	color:#f0f8ff;
}

.forum-hovertable > tbody > tr.forum-nohover {
	background-color: inherit;
}

.forum-hovertable .forum_title a{
	display:block;
	padding:5px;
}

.forum-hovertable .forum_title a:hover{
	text-decoration:none;
}

/*************************************************
**
**		SITE NOTICE
**
**************************************************/

.siteNotice {
    width: 100%;
    display: flex;
    margin: 0 auto;
    background: #373737;
    white-space: nowrap;
    overflow: hidden;
    flex-direction: row;
}

.siteInformation{
	background:#282828;
	flex:1;
	display: flex;
	vertical-align: middle; 
	align-items: center;
	z-index:1;
}

.siteNotice .floatleft{
		margin:0;
		padding: 7px;
	}

.siteNotice .scroll {
    display: inline-block;
    padding-left: 35%;
    padding-right:5%;
    -webkit-animation: scroll-left 40s linear infinite;
    -moz-animation:scroll-left 40s linear infinite;
    color: #E3F2FC;
}

.siteNotice p a {
    color: #9DCCFB;
}

.siteNotice p:hover {
    -webkit-animation-play-state: paused;
}

@-webkit-keyframes scroll-left { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0);} }

/*************************************************
**
**		THUMBNAILS
**
**************************************************/
.thumb{
	transition:0.2s ease-in;
}

.thumb:hover{
	box-shadow:0 0 7px 0 #00000099;
	transform:scale(1.01);
}

html .thumbimage{
	background:none;
	border:none;
}

div.thumbinner{
	background-color:rgba(204,204,204,0.6);
	width:300px !important;
}

/*************************************************
**
**		TABLE OF CONTENTS
**
**************************************************/

.toc{
	background: #DDDDDD;
    border: solid 1px #CCCCCC;
    color: #282828;
    padding: 0;
}

.toctitle{
	padding:10px;
}

#toc h2{
	font-family: Roboto !important;
    font-size: 1.2em !important;
    color: #282828;
}

.toc ul{
	padding:10px;
}

.tocnumber {
	color:#282828;
}

/*************************************************
**
**		MAIN PAGE
**
**************************************************/

@media (min-width:1000px) {
	.series-nav{
		display: block;
	}
	.mainpageContent{
		flex-direction: row;
	} 

	.mainpageContentOne{
		flex:2;
	}
	
	.mainpageContentTwo{
		flex:1;
	}
}

@media (max-width:1000px) {
	.series-nav{
		display:none;
	}
	.mainpageContent{
		flex-direction: column;
	} 

	.mainpageContentOne{
		flex:1;
	}
	
	.mainpageContentTwo{
		flex:1;
	}
}

/*************************************************
**
**		INFOBOX
**
**************************************************/

.infobox {
	float:right;
	color:#FFFFFF;
	background:#EDEDED;
	box-shadow:0 0 7px 0 #00000099;
}

.panel-bar{
	padding:.25em;
}

.news .infoboxImage img{
	width: 100%;
    height: auto;
}

.infobox .highlights ul, .infobox .highlights p{
	padding:5px;
}

.infobox .row{
	display:flex;
}

.infobox .row .label{
	padding:5px;
	flex:1;
}

.infobox .row .content{
	padding:5px;
	flex:2;
}

.infobox .content a{
	color:#9DEEFF !important;
}

.infobox .row{
	flex-direction:row;
}

.infobox .row .label{
	text-align:right;
}

.infobox .row .content{
	text-align:left;
}

@media (max-width:720px){
	.infobox{
		width:100%;
		margin:5px 0 5px 0;
	}
	
	.tabber.infoboxTab{
		width:100%;
	}
}

@media (min-width:720px){
	.infobox {
		width:360px;
		margin:5px;
	}
}

.title{
	font-family: Roboto Slab;
    font-size: 1.2em;
    color: #FFFFFF;
    padding: 10px;
    text-align: center;
}

/*************************************************
**
**		TABLES
**
**************************************************/
.mw-parser-output table{
	border: none;
    background: #EFEFEF;
    border-spacing: 0;
}

.mw-parser-output table tr{
	border: none;
}

.mw-parser-output td, .mw-parser-output th {
    border: none;
    padding: 0.8em;
}

.mw-changeslist table {
    background: none;
}

/*************************************************
**
**		MAIN PAGE PORTALS
**
**************************************************/
.tablink {
    background-color: #555;
    color: white;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 5px;
    font-size: 17px;
    flex:1;
    transition:ease-in 0.1s;
    border-radius:0;
}

.tablink:hover {
	background-color: #d4d4d4;
	box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.5);
	z-index:99;
}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
    color: white;
    display: none;
    padding: 50px 20px;
    height: 50%;
    background-attachment:fixed;
    background-position:center;
    background-size:cover;
	-webkit-animation: fadeEffect 1s;
	animation: fadeEffect 1s;
}

@-webkit-keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

#KH {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/2/2a/Foreboding_%28art%29_KH.png"); 
	background-repeat:no-repeat; 
}

#COM {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/e/e8/Deck_%28art%29_COM.png"); 
	background-repeat:no-repeat; 
}

#KHII {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/b/ba/Heart_%28art%29_KHII.png"); 
	background-repeat:no-repeat; 
}

#DAYS {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/e/e9/Boundary_%28art%29_358.png");
	background-repeat:no-repeat; 
}

#BBS {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/c/cd/Soar_%28art%29_BBS.png"); 
	background-repeat:no-repeat; 
}

#RECO {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/9/91/Smile_%28art%29_RECO.png");
	background-repeat:no-repeat; 
}

#KH3D {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/1/11/Sea_of_Clouds_%28art%29_KH3D.png");
	background-repeat:no-repeat; 
}

#KHX {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://www.khwiki.com/images/2/26/Kingdom_Hearts_χ_artwork.png");
	background-repeat:no-repeat;
}
	
#UCX, #UXC {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://www.khwiki.com/images/4/4b/Kingdom_Hearts_Unchained_χ_Promotional_Art.png");
	background-repeat:no-repeat;
}

#BBS2 {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/f/f4/Time_Stands_Still_01_0.2BBS.png");
	background-repeat:no-repeat;
}

#XBC {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/d/d8/The_Case_of_Ira_01_XBC.png");
	background-repeat:no-repeat;
}

#KHIII {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.75)), url("/images/c/ce/Kingdom_Hearts_III_cover_art.png");
	background-repeat:no-repeat;
}

/*************************************************
**
**		CONTENT: COLLECTIBLES
**
**************************************************/
.wtcollectibles img{
	max-width:100%;
	height:auto;
}

/*************************************************
**
**		EDITING WINDOW
**
**************************************************/
.editOptions, .oui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame{
	background:#FFFFFF;
}

@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
	.editOptions, .oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame{
		background:#FFFFFF45;
		backdrop-filter:saturate(180%)blur(30px);
	}
	
	.ve-ui-mwSaveDialog-license{
		background:none !important;
	}
}

/*************************************************
**
**		SEARCH
**
**************************************************/

.mw-search-profile-tabs{
	background:#DEE8F2;
}

.search-types a{
	text-decoration:none;
}

.search-types .normal a:hover{
	color:#FFFFFF;
	background:#8794a1;
}

.search-types .current{
	background:#B8BFC6;
}

#mw-searchoptions{
	background:#B8BFC6;
	border-top:none;
}

.oo-ui-actionFieldLayout.oo-ui-fieldLayout-align-top, #mw-search-top-table .oo-ui-textInputWidget{
	max-width:none;
}

.mw-search-results li{
box-shadow: 0px 0px 5px 0px rgba(6, 48, 91, 0.1);
padding:10px;
margin: 10px;
transition:0.1s ease-in;
}

.mw-search-results li:hover{
box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.3);
}

/*************************************************
**
**		RECENT CHANGES
**
**************************************************/
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle{
	margin-top:0;
	border:none;
}

.oo-ui-widget.oo-ui-widget-enabled.oo-ui-draggableGroupElement.oo-ui-tagMultiselectWidget.oo-ui-tagMultiselectWidget-outlined.oo-ui-menuTagMultiselectWidget.mw-rcfilters-ui-filterTagMultiselectWidget{
	margin-top:1em;
}

span.oo-ui-widget.oo-ui-widget-enabled.oo-ui-buttonElement.oo-ui-buttonElement-frameless.oo-ui-indicatorElement.oo-ui-labelElement.oo-ui-flaggedElement-progressive.oo-ui-buttonWidget{
	width:100%;
}

/*************************************************
**
**		UPLOAD WIZARD
**
**************************************************/
#upload-wizard{
	max-width:100%;
}

/*************************************************
**
**		GALLERY: SLIDESHOW NAVIGATION
**
**************************************************/
.oo-ui-icon-previous, .mw-ui-icon-previous:before, .oo-ui-icon-imageGallery, .mw-ui-icon-imageGallery:before, .oo-ui-icon-next, .mw-ui-icon-next:before {
	background-image:none;
}

.oo-ui-icon-previous:before{
	content: '\E760';
    font-family: FabricMDL2Icons;
    font-size: 1.8em;
}

.oo-ui-icon-imageGallery:before {
    content: '\E7AA';
    font-family: FabricMDL2Icons;
    font-size: 1.8em;
}

.oo-ui-icon-next:before{
	content: '\E761';
    font-family: FabricMDL2Icons;
    font-size: 1.8em;
}

/*************************************************
**
**		THEATER MODE BLUR
**
**************************************************/
.theatermenu .column1 .theaterlist{
	background: #8287ba;
}

@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
	.theatermenu .column1 .theaterlist{
		background:rgba(130,135,186,0.65);
		backdrop-filter: saturate(180%)blur(10px);
		-webkit-backdrop-filter:saturate(180%) blur(10px);
	}
}