MediaWiki:Common.css: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
(combining, adding top margin so tabs on multiple lines overlap less)
mNo edit summary
 
(405 intermediate revisions by 5 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins on desktop */


body.page-Main_Page h1.firstHeading, body.page-Main_Page #lastmod, body.page-Main_Page #siteSub {  
/* Navbox style
display:none;
      Edit here: https://www.khwiki.com/MediaWiki:Gadget-NavboxStyle.css
  Staff highlights
      Edit here: https://www.khwiki.com/MediaWiki:Gadget-StaffHighlights.css */
 
/* Random logo */
#p-logo a { background: transparent no-repeat; }
.client-nojs #p-logo a,
.mw-special-Gadgets #p-logo a,
.mw-special-Userlogin #p-logo a,
.mw-special-Preferences #p-logo a,
.mw-special-ChangeEmail #p-logo a,
.mw-special-ResetTokens #p-logo a,
.mw-special-BotPasswords #p-logo a,
.mw-special-CreateAccount #p-logo a,
.mw-special-PasswordReset #p-logo a {
background-image: url(https://kh.wiki.gallery/images/b/bc/Wiki.png);
}
}


#bodyContent {
/* Main page */
position: relative;
@media all and (min-width: 551px) {
body.page-Main_Page.action-view #content {
overflow: visible;
z-index: 5;
}
}
body.page-Main_Page.action-view .mw-parser-output table img {
min-width: 15px !important;
max-width: 100% !important;
height: auto !important;
}
}


Line 12: Line 36:
div.userbox img { max-width:100%; width/**\*/:100%\9; height:auto !important; }
div.userbox img { max-width:100%; width/**\*/:100%\9; height:auto !important; }
table.talkbubble {
table.talkbubble {
table-layout/*\**/:fixed\9;
table-layout/*\**/:fixed\9;
width/*\**/:100%\9;
width/*\**/:100%\9;
}
}
table.talkbubble > tr > td:first-child, table.talkbubble > tbody > tr > td:first-child { text-align:center; width:90px; }
table.talkbubble > tr > td:first-child, table.talkbubble > tbody > tr > td:first-child { text-align:center; width:90px; }
table.talkbubble td:first-child img { height:auto !important; max-width:90px; }
table.talkbubble td:first-child img { height:auto !important; max-width:90px; }


/* Float right */
/* KHWiki Tabber */
.goright {
.infobox .tabbernav {
clear:right;
font-size: 90%;
float:right;
}
.tabber.info {
display: block;
float: right;
margin: 0 0 0.5em 1em;
}
.tabber.info .nav {
display: block !important;
}
.tabber.info .infobox > tbody > tr:nth-child(2) img {
max-width: 100% !important;
height: auto !important;
}
.tabber.info table {
display: block !important;
float: none !important;
width: auto !important;
max-width: none !important;
margin: 0 !important;
overflow-x: auto !important;
}
.tabber.info tbody {
display: table !important;
width: 100% !important;
}
}


/* Spacing */
/* Video tables */
#boxtop {
table.video {
height:20px;
margin: 5px auto;
clear:both;
margin:0;
}
}


/* Reflist font size */
/* Infobox templates */
.references-small { font-size:90%; }
 
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect, .watchlistredir { font-style: italic; }
 
/* Infobox template style */
.infobox {
.infobox {
border:1px solid #aaa;
float: right;
background-color:#f9f9f9;
clear: right;
color:#000;
margin: 0 0 0.5em 1em;
margin-bottom:0.5em;
padding: 2px;
margin-left:1em;
padding:0.2em;
float:right;
clear:right;
}
}
.infobox td, .infobox th {
.infobox.journal,
vertical-align: top;
.infobox.journal-green {
padding: 2px 1em 1em;
}
}
.infobox caption {
 
font-size: larger;
/* Notice templates */
margin-left: inherit;
table + #stub {
margin-top: 10px;
}
}
.infobox.bordered {
.notice-template {
border-collapse: collapse;
width: 95%;
margin: 0 auto 10px;
}
}
.infobox.bordered td, .infobox.bordered th {
#mw-imagepage-content .notice-template {
border: 1px solid #aaa;
margin: 5px auto !important;
}
}
.infobox.bordered .borderless td, .infobox.bordered .borderless th {
.notice-template + .notice-template {
border: 0;
margin-top: -5px;
}
}


/* Forum formatting (by -Algorithm & -Splaka) */
/* Forum formatting (by -Algorithm & -Splaka) */
.forumheader {
.forumheader {
border:1px solid #aaa;
border: 1px solid #aaa;
background-color:#f9f9f9;
background-color: #f9f9f9;
margin-top:1em;
margin: 1em 0 15px;
padding:12px;
padding: 12px;
}
}
.forumlist td.forum_edited a {
.forumlist td.forum_edited a {
color:#000;
color: #000;
text-decoration:none;
text-decoration: none;
}
}
.forumlist td.forum_title a {
.forumlist td.forum_title a {
padding-left:20px;
padding-left: 20px;
}
}
.forumlist td.forum_title a.forum_new {
.forumlist td.forum_title a.forum_new {
font-weight:bold;
font-weight: bold;
background:url(/images/4/4e/Forum_new.gif) center left no-repeat;
background: url(https://kh.wiki.gallery/images/forum_new.gif) center left no-repeat;
padding-left:20px;
padding-left: 20px;
}
}
.forumlist td.forum_title a.forum_new:visited {
.forumlist td.forum_title a.forum_new:visited {
font-weight:normal;
font-weight: normal;
background:none;
background: none;
padding-left:20px;
padding-left: 20px;
}
}
.forumlist th.forum_title {
.forumlist th.forum_title {
padding-left:20px;
padding-left: 20px;
}
}


Line 96: Line 134:
.mw-plusminus-pos { color: #006500; }
.mw-plusminus-pos { color: #006500; }
.mw-plusminus-neg { color: #8B0000; }
.mw-plusminus-neg { color: #8B0000; }
/* </pre> */
/* Forum formatting -Algorithm & -Splaka */
.forumheader { border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px; }
.forumlist td.forum_edited a { color: black; 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/Wiki.png)
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; }
/* default skin for navigation boxes */
table.navbox {
background-color:#f9f9f9;
border:1px solid #aaa;
clear:both;
font-size:90%;
margin:1em 0 0;
padding:2px;
text-align:center;
width:100%;
}
table.navbox th {
background-color:#ccf;
padding-left:1em;
padding-right:1em;
}
table.navbox tr:not(:first-child) th {
background-color:#ddf;
}


@media print {
/* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at Wikipedia:NavFrame */
.navbox {
  display:none;
}
}
 
/* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.Boxmerge, div.NavFrame {
div.Boxmerge, div.NavFrame {
margin:0;
margin: 0;
padding:4px;
padding: 4px;
border:1px solid #aaa;
border: 1px solid #aaa;
text-align:center;
text-align: center;
border-collapse:collapse;
border-collapse: collapse;
font-size:95%;
font-size: 95%;
}
}
div.Boxmerge div.NavFrame {
div.Boxmerge div.NavFrame {
border-style:none;
border-style: none;
border-style:hidden;
border-style: hidden;
}
}
div.NavFrame + div.NavFrame {
div.NavFrame + div.NavFrame {
border-top-style:none;
border-top-style: none;
border-top-style:hidden;
border-top-style: hidden;
}
}
div.NavPic {
div.NavPic {
background-color:#fff;
background-color: #fff;
margin:0px;
margin: 0;
padding:2px;
padding: 2px;
float:left;
float: left;
}
}
div.NavFrame div.NavHead {
div.NavFrame div.NavHead {
height:1.6em;
height: 1.6em;
font-weight:bold;
font-weight: bold;
background-color:#ccf;
background-color: #ccf;
position:relative;
position: relative;
}
}
div.NavFrame p {
div.NavFrame p {
font-size:100%;
font-size: 100%;
}
}
div.NavFrame div.NavContent {
div.NavFrame div.NavContent {
font-size:100%;
font-size: 100%;
}
}
div.NavFrame div.NavContent p {
div.NavFrame div.NavContent p {
font-size:100%;
font-size: 100%;
}
}
div.NavEnd {
div.NavEnd {
margin:0;
margin: 0;
padding:0;
padding: 0;
line-height:1px;
line-height: 1px;
clear:both;
clear: both;
}
}
a.NavToggle {
a.NavToggle {
position:absolute;
position: absolute;
top:0;
top: 0;
right:3px;
right: 3px;
font-weight:normal;
font-weight: normal;
font-size:smaller;
font-size: smaller;
}
}


/* Suite Tabs */
/* Suite tabs */
.suite_tab {
.suite_tab {
background:#fff;
background: #fff;
background:linear-gradient(top,#eee,#fff);
background: linear-gradient(top,#eee,#fff);
background:-o-linear-gradient(top,#eee,#fff);
box-shadow: 2px 2px 4px #333;
background:-ms-linear-gradient(top,#eee,#fff);
display: inline;
background:-moz-linear-gradient(top,#eee,#fff);
background:-webkit-linear-gradient(top,#eee,#fff);
box-shadow:2px 2px 4px #333;
display:inline;
}
}
.client-msie-8 .suite_tab, .client-msie-9 .suite_tab {
.client-msie-8 .suite_tab, .client-msie-9 .suite_tab {
padding-bottom:3px !important;
padding-bottom: 3px !important;
}
}


/*Copied from http://www.barelyfitz.com/projects/tabber/example.css used under mit license
/* Suite styles */
see http://www.barelyfitz.com/projects/tabber/
.tt1_suite {
*/
background-color: #ebebeb;
/* $Id: example.css,v 1.5 2006/03/27 02:44:36 pat Exp $ */
border-color: #aaa;
 
border-style: solid;
/*--------------------------------------------------
border-width: 1px;
REQUIRED to hide the non-active tab content.
display: table;
But do not hide them in the print stylesheet!
float: right;
--------------------------------------------------*/
margin: 0 1em 0.5em 1em;
.tabberlive .tabbertabhide {
padding: 2px 5px;
display:none;
border-radius: 5px;
}
}
 
.tt1_suite:before {
/*--------------------------------------------------
content: 'article suite:';
.tabber = before the tabber interface is set up
font-size: 70%;
.tabberlive = after the tabber interface is set up
line-height: 0.7em;
--------------------------------------------------*/
.tabber {
}
}
.tabberlive {
.tt1_suite ul {
margin-top:1em;
padding: 0;
margin: 0;
}
}
 
.tt1_suite li {
/*--------------------------------------------------
display: inline;
ul.tabbernav = the tab navigation list
li.tabberactive = the active tab
--------------------------------------------------*/
ul.tabbernav {
margin:0;
padding: 3px 0;
border-bottom: 1px solid #CCC;
font: bold 12px Verdana, sans-serif;
}
}
 
.tt1_suite li:before{
ul.tabbernav li {
content: '| ';
list-style: none;
margin: 5px 0 0;
display: inline-block !important;
}
}
 
.tt1_suite li:first-child:before{
ul.tabbernav li a {
content: '';
padding:3px 0.5em;
margin-left:3px;
border:1px solid #ccc;
border-bottom:none;
background:#f2f7ff;
text-decoration:none;
}
}
 
.tt1_disambig + .tt1_suite{
ul.tabbernav li a:link { color:#448; }
border-top: none;
ul.tabbernav li a:visited { color:#667; }
border-top-left-radius: 0;
 
border-top-right-radius: 0;
ul.tabbernav li a:hover {
color:#000;
background:#fff9f2;
border-color:#ccc;
}
}
 
.tt1_disambig + .tt1_suite:before{
ul.tabbernav li.tabberactive a {
content: '';
background-color:#fff;
font-size: inherit;
border-bottom:1px solid #fff;
line-height: inherit;
}
}


ul.tabbernav li.tabberactive a:hover {
/* Allow limiting of which header levels are shown in a TOC through {{TOClimit}} */
color:#000;
.toclimit-2 .toclevel-2 { display: none; }
background:#fff;
.toclimit-3 .toclevel-3 { display: none; }
border-bottom:1px solid #fff;
.toclimit-4 .toclevel-4 { display: none; }
}
.toclimit-5 .toclevel-5 { display: none; }
.toclimit-6 .toclevel-6 { display: none; }
.toclimit-7 .toclevel-7 { display: none; }


/*--------------------------------------------------
/* PATCH BORDER ON DOUBLE-DISAMBIGS */
.tabbertab = the tab content
table.tt1_disambig{
Add style only after the tabber interface is set up (.tabberlive)
margin: 0 1em;
--------------------------------------------------*/
padding: 0.5em;
.tabberlive .tabbertab {
background: #f7f8ff;
padding:5px;
border: thin solid #aaa;
border:1px solid #ccc;
display: block;
border-top:0;
border-left:none;
border-right:none;
border-bottom:none;
 
/* If you don't want the tab size changing whenever a tab is changed
you can set a fixed height */
/* height:200px; */
 
/* If you set a fix height set overflow to auto and you will get a
scrollbar when necessary */
/* overflow:auto; */
}
}
 
.tt1_disambig + .tt1_disambig{
/* If desired, hide the heading since a heading is provided by the tab */
border-top: none;
.tabberlive .tabbertab h2 {
display:none;
}
.tabberlive .tabbertab h3 {
display:none;
}
}


/* Example of using an ID to set different styles for the tabs on the page */
/* Thumbnails */
.tabberlive#tab1 {
div.thumb.tright { clear: none; }
}
div.thumb.tright + div.thumb.tright,
.tabberlive#tab2 {
div.thumb.tright + p + div.thumb.tright,
}
div.thumb.tright + h2 + div.thumb.tright,
.tabberlive#tab2 .tabbertab {
div.thumb.tright + h3 + div.thumb.tright,
height:200px;
div.thumb.tright + p + p + div.thumb.tright,
overflow:auto;
div.thumb.tright + p + h2 + div.thumb.tright,
div.thumb.tright + p + h3 + div.thumb.tright,
div.thumb.tright + h2 + p + div.thumb.tright,
div.thumb.tright + h3 + p + div.thumb.tright,
div.thumb.tright + p + p + p + div.thumb.tright {
clear: right;
}
}
/* </nowiki></pre> */


#title-gameicons { display: none!important; visibility: hidden !important; }
/* Aspetto uguale ai link per il morph */
#title-linktabs {  
.morphLink {
position:absolute;
color: #002BB8;
right:0;
display: inline-block;
top:-44px;
cursor: pointer;
}
}
 
.morphLink:hover {
/* remove talk link from forum namespace -Splarka */
text-decoration: underline;
body.ns-100 #ca-talk, body.ns-100 #this_talk, body.ns-100 #page_tabs li+li { display: none; }
 
/* Allow limiting of which header levels are shown in a TOC through {{TOClimit}} */
.toclimit-2 .toclevel-2 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}
.toclimit-4 .toclevel-4 {display:none;}
.toclimit-5 .toclevel-5 {display:none;}
.toclimit-6 .toclevel-6 {display:none;}
.toclimit-7 .toclevel-7 {display:none;}
 
/* Remove breadcrumbs for specific articles */
.page-Zero_One .subpages, .page-Zero_One .PageHeader h2 {display: none;}
.page-Oathkeeper_Oblivion.subpages, .page-Oathkeeper_Oblivion .PageHeader h2 {display: none;}
.page-Terra_Xehanort .subpages, .page-Terra_Xehanort .PageHeader h2 {display: none;}
 
/* =========================================================
      BEGIN SUITE STYLES
========================================================= */
 
.tt1_suite{
background-color:#ebebeb;
border-color:#aaa;
border-style:solid;
border-width:1px;
display:table;
float:right;
margin:0 1em 0.5em 1em;
padding:2px 5px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
}
}
 
.toggleLink {
.tt1_suite:before{
color: #002BB8;
content:'article suite:';
display: inline-block;
font-size:70%;
cursor: pointer;
line-height:.7em;
}
}


.tt1_suite ul {
/* Keep create account benefits up top */
padding:0;
.mw-special-CreateAccount #userloginForm {
margin:0;
margin-right: 95px;
}
}
 
.mw-createacct-benefits-container {
.tt1_suite li {
width: 360px;
display:inline;
text-align: center;
}
}


.tt1_suite li:before{
/* --------------------------------------------------
content:'| ';
MAIN PAGE PORTALS CSS FOLLOWS.
}
ORIGINAL CONCEPT COURTESY OF THE ZELDA WIKI.
http://www.zeldawiki.org
ADJUSTED BY KeybladeSpyMaster. Updated May 12, 2015
-------------------------------------------------- */


.tt1_suite li:first-child:before{
/* Main Page Portals: Nav class */
content:'';
.nav {
padding: 0;
display: inline-block;
}
}
.tt1_disambig + .tt1_suite{
.nav:hover .dropdown:not(#personal-inner) {
border-top:none;
display: block !important;
-moz-border-radius-topleft:0;
-moz-border-radius-topright:0;
-webkit-border-top-left-radius:0;
-webkit-border-top-right-radius:0;
}
}
 
.nav:hover .mwe-popups-container {
.tt1_disambig + .tt1_suite:before{
display: none;
content:'';
font-size:inherit;
line-height:inherit;
}
}


/* PATCH BORDER ON DOUBLE-DISAMBIGS */
/* Main Page Portals: Container */
 
.container{
table.tt1_disambig{
position: absolute;
margin:0 1em;
height: 450px;
padding:.5em;
background:#f7f8ff;
border:thin solid #aaa;
display:block;
}
}
 
.dropdown:not(#personal-inner) {
.tt1_disambig + .tt1_disambig{
border: 2px solid #BFBFBF;
border-top:none;
border-radius: 10px;
display: none !important;
float: left;
left: -45%;
right: -45%;
position: relative;
z-index: 100;
color: #000;
}
}
 
.dropdown:not(#personal-inner) a {
/* Transparent image preview checkerboard */
color: #FFFFFF;
.fullImageLink img {
text-decoration: none;
background:#fff url(http://img844.imageshack.us/img844/5714/transparentimg.png);
padding:3px;
}
}
.fullImageLink img:hover {
.dropdown:not(#personal-inner) caption {
background:#bbb url(http://img844.imageshack.us/img844/5714/transparentimg.png);
width:inherit;
}
}
 
.dropdown:not(#personal-inner) td {
/* Thumbnails */
vertical-align: top;
div.thumb div.thumbinner div.magnify {
padding: 1px;
display:none !important;
white-space: nowrap;
}
}
div.thumb div.thumbinner div {
.dropdown:not(#personal-inner) td p a {
background:none !important;
border: 1px solid #3e4874;
border:none !important;
font-size: 90%;
color:#fff;
line-height: 1.2em;
margin: 3px 3px;
padding: 3px;
}
}
div.thumb div.thumbinner a {
.dropdown:not(#personal-inner) p {
color:#ddd;
margin: 0;
padding: 0;
}
}
div.thumb div.thumbinner a:visited {
caption a, .dropdown:not(#personal-inner) th a {
color:#aaa;
display: block;
padding: 2px;
}
}
div.thumb div.thumbinner a:hover {
.dropdown:not(#personal-inner) caption a {
color:#fff;
padding: 5px 20px 5px 20px;
font-size: 150%;
}
}
div.thumb div.thumbinner {
 
background:#282828;
/* Main Page Portals: Character table */
background:linear-gradient(top,#282828,#535353);
.dropdowntable td {
background:-o-linear-gradient(top,#282828,#535353);
border: #fff solid 1px;
background:-ms-linear-gradient(top,#282828,#535353);
background:-moz-linear-gradient(top,#282828,#535353);
background:-webkit-linear-gradient(top,#282828,#535353);
border:none !important;
border-radius:5px;
box-shadow:2px 2px 6px #7f7f7f; /* This is needed for browser compatibility */
box-shadow:2px 2px 6px rgba(0,0,0,0.5);
padding:5px !important;
}
}
div.thumb .thumbimage {
.dropdowntable td a {
border:none !important;
background-color: #000000;
border-radius:5px;
background-image: linear-gradient(top, #06305B, #3e4874);
color: #FFFFFF;
font-weight: normal;
display: block;
padding: 2px;
}
}
div.thumb .thumbimage:hover {
.dropdowntable td a:hover {
-moz-transform:scale(1.02);
background-image: linear-gradient(top, #bfbfff, #3e4874);
-webkit-transform:scale(1.02);
}
}


/* Input buttons */
/* Alt text colors */
input[type='submit'], input[type='reset'], input[type='button'] {
.altcolors {
padding:1px 6px 3px;
position: relative;
border:3px double #aaa;
animation-name: myfirst;
border-radius:4px;
animation-duration: 5s;
cursor:pointer;
animation-timing-function: linear;
color:#222;
animation-delay: 1s;
background:#f7f7f7;
animation-iteration-count: infinite;
background:linear-gradient(top,#f7f7f7,#e7e7e7);
animation-direction: alternate;
background:-o-linear-gradient(top,#f7f7f7,#e7e7e7);
animation-play-state: running;
background:-ms-linear-gradient(top,#f7f7f7,#e7e7e7);
background:-moz-linear-gradient(top,#f7f7f7,#e7e7e7);
background:-webkit-linear-gradient(top,#f7f7f7,#e7e7e7);
text-shadow:1px 1px 2px #aaa;
}
}
input[type='submit']:hover, input[type='reset']:hover, input[type='button']:hover {
 
  border-color:#282828;
/* Chrome, Safari, Opera */
  box-shadow:0 0 5px #640639;
@-webkit-keyframes myfirst {
0%  {color: #FFFFFF; opacity: 1.0;}
10%  {color: #FFFFFF; opacity: 1.0;}
20%  {opacity: 0.0;}
30% {color: #9294b0; opacity: 1.0;}
60%  {color: #9294b0; opacity: 1.0;}
70% {opacity: 0.0;}
80%  {color: #FFFFFF; opacity:1.0;}
100% {color: #FFFFFF; opacity:1.0;}
}
}
input[type='submit']:active, input[type='reset']:active, input[type='button']:active {
 
  padding:1px 5px 3px 7px;
/* Standard syntax */
@keyframes myfirst {
0%  {color: #FFFFFF; opacity: 1.0;}
10%  {color: #FFFFFF; opacity: 1.0;}
20%  {opacity: 0.0;}
30% {color: #9294b0; opacity: 1.0;}
60%  {color: #9294b0; opacity: 1.0;}
70%  {opacity: 0.0;}
80%  {color: #FFFFFF; opacity:1.0;}
100% {color: #FFFFFF; opacity:1.0;}
}
}


/* Category Box */
/* Adjust inputbox button padding in Firefox */
div.catlinks {
@-moz-document url-prefix() {
background:#f9f9f9;
.bodySearchWrap .mw-ui-button, .createboxButton {
background:linear-gradient(top,#f9f9f9,#ddd);
padding-top: 4px;
background:-o-linear-gradient(top,#f9f9f9,#ddd);
padding-bottom: 5px;
background:-ms-linear-gradient(top,#f9f9f9,#ddd);
}
background:-moz-linear-gradient(top,#f9f9f9,#ddd);
background:-webkit-linear-gradient(top,#f9f9f9,#ddd);
border-radius:8px;
padding:5px 11px !important;
}
}
div.catlinks span {
 
padding:0 8px;
/* MediaWiki collapsible buttons */
.mw-collapsible-toggle {
font-weight: normal;
}
}


/* Aspetto uguale ai link per il morph */
/* Indicator icons */
  .morphLink {
.mw-indicators {
    color: #002BB8;
display: flex;
    display: inline-block;
}
    cursor: pointer;
}
  .morphLink:hover {
    text-decoration: underline;
}


  .toggleLink {
/* Who's online */
    color: #002BB8;
#whosonline {
    display: inline-block;
margin-bottom: 1px;
    cursor: pointer;
}
}


/* Edit box */
/* Width fixes */
.wikiEditor-ui textarea#wpTextbox1 {
@media all and (max-width: 1250px) {
line-height: 1.4em;
.infobox.board div {
width: auto !important;
}
.infobox.board div > div {
left: 7.5px !important;
right: 7.5px !important;
}
.infobox.board img {
max-width: 100% !important;
height: auto !important;
}
}
}
#wpSummary, #wpSummaryLabel {
 
margin: 0.2em 0 0.4em 0 !important;
/* fulltabs class to allow for full tabber width */
.fulltabs .tabberlive {
margin-left: 0;
}
}
input#wpSummary {
.fulltabs .goright {
width: 85%;
clear: none;
float: none;
}
}

Latest revision as of 16:09, 26 March 2024

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

/* Navbox style
       Edit here: https://www.khwiki.com/MediaWiki:Gadget-NavboxStyle.css
   Staff highlights
       Edit here: https://www.khwiki.com/MediaWiki:Gadget-StaffHighlights.css */

/* Random logo */
#p-logo a { background: transparent no-repeat; }
.client-nojs #p-logo a,
.mw-special-Gadgets #p-logo a,
.mw-special-Userlogin #p-logo a,
.mw-special-Preferences #p-logo a,
.mw-special-ChangeEmail #p-logo a,
.mw-special-ResetTokens #p-logo a,
.mw-special-BotPasswords #p-logo a,
.mw-special-CreateAccount #p-logo a,
.mw-special-PasswordReset #p-logo a {
	background-image: url(https://kh.wiki.gallery/images/b/bc/Wiki.png);
}

/* Main page */
@media all and (min-width: 551px) {
	body.page-Main_Page.action-view #content {
		overflow: visible;
		z-index: 5;
	}
}
body.page-Main_Page.action-view .mw-parser-output table img {
	min-width: 15px !important;
	max-width: 100% !important;
	height: auto !important;
}

/* Image restrictions */
div.userbox img { max-width:100%; width/**\*/:100%\9; height:auto !important; }
table.talkbubble {
	table-layout/*\**/:fixed\9;
	width/*\**/:100%\9;
}
table.talkbubble > tr > td:first-child, table.talkbubble > tbody > tr > td:first-child { text-align:center; width:90px; }
table.talkbubble td:first-child img { height:auto !important; max-width:90px; }

/* KHWiki Tabber */
.infobox .tabbernav {
	font-size: 90%;
}
.tabber.info {
	display: block;
	float: right;
	margin: 0 0 0.5em 1em;
}
.tabber.info .nav {
	display: block !important;
}
.tabber.info .infobox > tbody > tr:nth-child(2) img {
	max-width: 100% !important;
	height: auto !important;
}
.tabber.info table {
	display: block !important;
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	overflow-x: auto !important;
}
.tabber.info tbody {
	display: table !important;
	width: 100% !important;
}

/* Video tables */
table.video {
	margin: 5px auto;
}

/* Infobox templates */
.infobox {
	float: right;
	clear: right;
	margin: 0 0 0.5em 1em;
	padding: 2px;
}
.infobox.journal,
.infobox.journal-green {
	padding: 2px 1em 1em;
}

/* Notice templates */
table + #stub {
	margin-top: 10px;
}
.notice-template {
	width: 95%;
	margin: 0 auto 10px;
}
#mw-imagepage-content .notice-template {
	margin: 5px auto !important;
}
.notice-template + .notice-template {
	margin-top: -5px;
}

/* Forum formatting (by -Algorithm & -Splaka) */
.forumheader {
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	margin: 1em 0 15px;
	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(https://kh.wiki.gallery/images/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; }

/* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at Wikipedia:NavFrame */
div.Boxmerge, div.NavFrame {
	margin: 0;
	padding: 4px;
	border: 1px solid #aaa;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%;
}
div.Boxmerge div.NavFrame {
	border-style: none;
	border-style: hidden;
}
div.NavFrame + div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
div.NavPic {
	background-color: #fff;
	margin: 0;
	padding: 2px;
	float: left;
}
div.NavFrame div.NavHead {
	height: 1.6em;
	font-weight: bold;
	background-color: #ccf;
	position: relative;
}
div.NavFrame p {
	font-size: 100%;
}
div.NavFrame div.NavContent {
	font-size: 100%;
}
div.NavFrame div.NavContent p {
	font-size: 100%;
}
div.NavEnd {
	margin: 0;
	padding: 0;
	line-height: 1px;
	clear: both;
}
a.NavToggle {
	position: absolute;
	top: 0;
	right: 3px;
	font-weight: normal;
	font-size: smaller;
}

/* Suite tabs */
.suite_tab {
	background: #fff;
	background: linear-gradient(top,#eee,#fff);
	box-shadow: 2px 2px 4px #333;
	display: inline;
}
.client-msie-8 .suite_tab, .client-msie-9 .suite_tab {
	padding-bottom: 3px !important;
}

/* Suite styles */
.tt1_suite {
	background-color: #ebebeb;
	border-color: #aaa;
	border-style: solid;
	border-width: 1px;
	display: table;
	float: right;
	margin: 0 1em 0.5em 1em;
	padding: 2px 5px;
	border-radius: 5px;
}
.tt1_suite:before {
	content: 'article suite:';
	font-size: 70%;
	line-height: 0.7em;
}
.tt1_suite ul {
	padding: 0;
	margin: 0;
}
.tt1_suite li {
	display: inline;
}
.tt1_suite li:before{
	content: '| ';
}
.tt1_suite li:first-child:before{
	content: '';
}
.tt1_disambig + .tt1_suite{
	border-top: none;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}
.tt1_disambig + .tt1_suite:before{
	content: '';
	font-size: inherit;
	line-height: inherit;
}

/* Allow limiting of which header levels are shown in a TOC through {{TOClimit}} */
.toclimit-2 .toclevel-2 { display: none; }
.toclimit-3 .toclevel-3 { display: none; }
.toclimit-4 .toclevel-4 { display: none; }
.toclimit-5 .toclevel-5 { display: none; }
.toclimit-6 .toclevel-6 { display: none; }
.toclimit-7 .toclevel-7 { display: none; }

/* PATCH BORDER ON DOUBLE-DISAMBIGS */
table.tt1_disambig{
	margin: 0 1em;
	padding: 0.5em;
	background: #f7f8ff;
	border: thin solid #aaa;
	display: block;
}
.tt1_disambig + .tt1_disambig{
	border-top: none;
}

/* Thumbnails */
div.thumb.tright { clear: none; }
div.thumb.tright + div.thumb.tright,
div.thumb.tright + p + div.thumb.tright,
div.thumb.tright + h2 + div.thumb.tright,
div.thumb.tright + h3 + div.thumb.tright,
div.thumb.tright + p + p + div.thumb.tright,
div.thumb.tright + p + h2 + div.thumb.tright,
div.thumb.tright + p + h3 + div.thumb.tright,
div.thumb.tright + h2 + p + div.thumb.tright,
div.thumb.tright + h3 + p + div.thumb.tright,
div.thumb.tright + p + p + p + div.thumb.tright {
	clear: right;
}

/* Aspetto uguale ai link per il morph */
.morphLink {
	color: #002BB8;
	display: inline-block;
	cursor: pointer;
}
.morphLink:hover {
	text-decoration: underline;
}
.toggleLink {
	color: #002BB8;
	display: inline-block;
	cursor: pointer;
}

/* Keep create account benefits up top */
.mw-special-CreateAccount #userloginForm {
	margin-right: 95px;
}
.mw-createacct-benefits-container {
	width: 360px;
	text-align: center;
}

/* --------------------------------------------------
MAIN PAGE PORTALS CSS FOLLOWS. 
ORIGINAL CONCEPT COURTESY OF THE ZELDA WIKI.
http://www.zeldawiki.org
ADJUSTED BY KeybladeSpyMaster. Updated May 12, 2015
-------------------------------------------------- */

/* Main Page Portals: Nav class */
.nav {
	padding: 0;
	display: inline-block;
}
.nav:hover .dropdown:not(#personal-inner) {
	display: block !important;
}
.nav:hover .mwe-popups-container {
	display: none;
}

/* Main Page Portals: Container */
.container{
	position: absolute;
	height: 450px;
}
.dropdown:not(#personal-inner) {
	border: 2px solid #BFBFBF;
	border-radius: 10px;
	display: none !important;
	float: left;
	left: -45%;
	right: -45%;
	position: relative;
	z-index: 100;
	color: #000;
}
.dropdown:not(#personal-inner) a {
	color: #FFFFFF;
	text-decoration: none;
}
.dropdown:not(#personal-inner) caption {
	width:inherit;
}
.dropdown:not(#personal-inner) td {
	vertical-align: top;
	padding: 1px;
	white-space: nowrap;
}
.dropdown:not(#personal-inner) td p a {
	border: 1px solid #3e4874;
	font-size: 90%;
	line-height: 1.2em;
	margin: 3px 3px;
	padding: 3px;
}
.dropdown:not(#personal-inner) p {
	margin: 0;
	padding: 0;
}
caption a, .dropdown:not(#personal-inner) th a {
	display: block;
	padding: 2px;
}
.dropdown:not(#personal-inner) caption a {
	padding: 5px 20px 5px 20px;
	font-size: 150%;
}

/* Main Page Portals: Character table */
.dropdowntable td {
	border: #fff solid 1px;
}
.dropdowntable td a {
	background-color: #000000;
	background-image: linear-gradient(top, #06305B, #3e4874);
	color: #FFFFFF;
	font-weight: normal;
	display: block;
	padding: 2px;
}
.dropdowntable td a:hover {
	background-image: linear-gradient(top, #bfbfff, #3e4874);
}

/* Alt text colors */
.altcolors {
	position: relative;
	animation-name: myfirst;
	animation-duration: 5s;
	animation-timing-function: linear;
	animation-delay: 1s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-play-state: running;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes myfirst {
	0%   {color: #FFFFFF; opacity: 1.0;}
	10%  {color: #FFFFFF; opacity: 1.0;}
	20%  {opacity: 0.0;}
	30%  {color: #9294b0; opacity: 1.0;}
	60%  {color: #9294b0; opacity: 1.0;}
	70%  {opacity: 0.0;}
	80%  {color: #FFFFFF; opacity:1.0;}
	100% {color: #FFFFFF; opacity:1.0;}
}

/* Standard syntax */
@keyframes myfirst {
	0%   {color: #FFFFFF; opacity: 1.0;}
	10%  {color: #FFFFFF; opacity: 1.0;}
	20%  {opacity: 0.0;}
	30%  {color: #9294b0; opacity: 1.0;}
	60%  {color: #9294b0; opacity: 1.0;}
	70%  {opacity: 0.0;}
	80%  {color: #FFFFFF; opacity:1.0;}
	100% {color: #FFFFFF; opacity:1.0;}
}

/* Adjust inputbox button padding in Firefox */
@-moz-document url-prefix() { 
	.bodySearchWrap .mw-ui-button, .createboxButton {
		padding-top: 4px;
		padding-bottom: 5px;
	}
}

/* MediaWiki collapsible buttons */
.mw-collapsible-toggle {
	font-weight: normal;
}

/* Indicator icons */
.mw-indicators {
	display: flex;
}

/* Who's online */
#whosonline {
	margin-bottom: 1px;
}

/* Width fixes */
@media all and (max-width: 1250px) {
	.infobox.board div {
		width: auto !important;
	}
	.infobox.board div > div {
		left: 7.5px !important;
		right: 7.5px !important;
	}
	.infobox.board img {
		max-width: 100% !important;
		height: auto !important;
	}
}

/* fulltabs class to allow for full tabber width */
.fulltabs .tabberlive {
	margin-left: 0;
}
.fulltabs .goright {
	clear: none;
	float: none;
}