MediaWiki:Common.css: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(283 intermediate revisions by 3 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 */


/* Don't display some stuff on the main page */
/* Navbox style
body.page-Main_Page.action-view h1.firstHeading,
      Edit here: https://www.khwiki.com/MediaWiki:Gadget-NavboxStyle.css
body.page-Main_Page.action-view #siteSub,
  Staff highlights
body.page-Main_Page.action-view #catlinks,
      Edit here: https://www.khwiki.com/MediaWiki:Gadget-StaffHighlights.css */
body.page-Main_Page.action-view #lastmod {  
 
display: none;
/* 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 16: 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;
}
}
/* Float left */
.tabber.info {
.goleft {
clear: left;
float: left;
}
 
/* KHWiki Tabber */
.notice-template + .tabber,
#title-linktabs + .tabber,
#suitediv + .tabber,
.tabber.goright {
display: block;
display: block;
float: right;
float: right;
max-width: 360px;
margin: 0 0 0.5em 1em;
margin: 0 0 0.5em 1em;
}
}
.notice-template + .tabber table,
.tabber.info .nav {
#title-linktabs + .tabber table,
#suitediv + .tabber table,
.tabber.goright table {
display: block !important;
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;
width: auto !important;
max-width: none !important;
max-width: none !important;
float: none !important;
margin: 0 !important;
margin: 0 !important;
overflow-x: auto !important;
overflow-x: auto !important;
}
}
.notice-template + .tabber tbody,
.tabber.info tbody {
#title-linktabs + .tabber tbody,
display: table !important;
#suitediv + .tabber tbody,
.tabber.goright tbody {
width: 100% !important;
width: 100% !important;
display: table !important;
}
/* fulltabs class to allow for full tabber width */
.fulltabs .tabberlive {
margin-left: 0;
}
.fulltabs .goright {
clear: none;
float: none;
}
}


/* Notice templates */
/* Video tables */
.notice-template {
table.video {
width: 95%;
margin: 0 auto 10px;
}
.ns-6 .notice-template {
margin: 5px auto;
margin: 5px auto;
}
}
/* Navigation templates */
.navbox {
margin-top: 20px;
}
.navbox + .navbox,
.navbox .navbox {
margin-top: 0;
}
/* References */
ol.references { margin-top: 0; }
.references-small { font-size: 90%; }
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect, .watchlistredir { font-style: italic; }


/* Infobox template style */
/* Infobox templates */
.infobox {
.infobox {
color:#000;
float: right;
text-align:center;
clear: right;
border:2px solid #000;
margin: 0 0 0.5em 1em;
border-radius:10px;
padding: 2px;
background:#f9f9f9;
float:right;
clear:right;
max-width:360px;
margin:0 0 0.5em 1em;
padding:0.2em;
}
.infobox.journal {
border-color:#0089B3;
background:#C7E2EA;
padding:2em;
}
}
.infobox.journal,
.infobox.journal-green {
.infobox.journal-green {
border-color:#98C058;
padding: 2px 1em 1em;
background:#E8FFEE;
padding:2em;
}
}
.infobox a > img {
 
max-width: 100% !important;
/* Notice templates */
height: auto !important;
table + #stub {
margin-top: 10px;
}
}
.infobox td, .infobox th {
.notice-template {
vertical-align: top;
width: 95%;
}
margin: 0 auto 10px;
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox.bordered {
border-collapse: collapse;
}
}
.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:1em 0 15px;
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/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 170: Line 134:
.mw-plusminus-pos { color: #006500; }
.mw-plusminus-pos { color: #006500; }
.mw-plusminus-neg { color: #8B0000; }
.mw-plusminus-neg { color: #8B0000; }
/* </pre> */


/* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */
/* 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;
}
}


#title-gameicons { display: none!important; visibility: hidden !important; }
/* Suite styles */
#title-linktabs {
.tt1_suite {
position:absolute;
background-color: #ebebeb;
right:0;
border-color: #aaa;
top:-30px;
border-style: solid;
}
border-width: 1px;
#title-linktabs img {
display: table;
width: 30px;
float: right;
height: 30px;
margin: 0 1em 0.5em 1em;
}
padding: 2px 5px;
 
border-radius: 5px;
/* remove talk link from forum namespace -Splarka */
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;
}
}
 
.tt1_suite:before {
.tt1_suite:before{
content: 'article suite:';
content:'article suite:';
font-size: 70%;
font-size:70%;
line-height: 0.7em;
line-height:.7em;
}
}
.tt1_suite ul {
.tt1_suite ul {
padding:0;
padding: 0;
margin:0;
margin: 0;
}
}
.tt1_suite li {
.tt1_suite li {
display:inline;
display: inline;
}
}
.tt1_suite li:before{
.tt1_suite li:before{
content:'| ';
content: '| ';
}
}
.tt1_suite li:first-child:before{
.tt1_suite li:first-child:before{
content:'';
content: '';
}
}
.tt1_disambig + .tt1_suite{
.tt1_disambig + .tt1_suite{
border-top:none;
border-top: none;
-moz-border-radius-topleft:0;
border-top-left-radius: 0;
-moz-border-radius-topright:0;
border-top-right-radius: 0;
-webkit-border-top-left-radius:0;
-webkit-border-top-right-radius:0;
}
}
.tt1_disambig + .tt1_suite:before{
.tt1_disambig + .tt1_suite:before{
content:'';
content: '';
font-size:inherit;
font-size: inherit;
line-height: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 */
/* PATCH BORDER ON DOUBLE-DISAMBIGS */
table.tt1_disambig{
table.tt1_disambig{
margin:0 1em;
margin: 0 1em;
padding:.5em;
padding: 0.5em;
background:#f7f8ff;
background: #f7f8ff;
border:thin solid #aaa;
border: thin solid #aaa;
display:block;
display: block;
}
}
.tt1_disambig + .tt1_disambig{
.tt1_disambig + .tt1_disambig{
border-top:none;
border-top: none;
}
}


/* Thumbnails */
/* Thumbnails */
div.thumb div.thumbinner div.magnify {
div.thumb.tright { clear: none; }
display:none !important;
div.thumb.tright + div.thumb.tright,
}
div.thumb.tright + p + div.thumb.tright,
div.thumb div.thumbinner div {
div.thumb.tright + h2 + div.thumb.tright,
background:none !important;
div.thumb.tright + h3 + div.thumb.tright,
border:none !important;
div.thumb.tright + p + p + div.thumb.tright,
color:#fff;
div.thumb.tright + p + h2 + div.thumb.tright,
}
div.thumb.tright + p + h3 + div.thumb.tright,
div.thumb div.thumbinner a {
div.thumb.tright + h2 + p + div.thumb.tright,
color:#ddd;
div.thumb.tright + h3 + p + div.thumb.tright,
}
div.thumb.tright + p + p + p + div.thumb.tright {
div.thumb div.thumbinner a:visited {
clear: right;
color:#aaa;
}
div.thumb div.thumbinner a:hover {
color:#fff;
}
div.thumb div.thumbinner {
background:#454659;
background:linear-gradient(top,#c1c0c0,#454659);
background:-o-linear-gradient(top,#c1c0c0,#454659);
background:-ms-linear-gradient(top,#c1c0c0,#454659);
background:-moz-linear-gradient(top,#c1c0c0,#454659);
background:-webkit-linear-gradient(top,#c1c0c0,#454659);
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 {
border:none !important;
border-radius:5px;
}
div.thumb .thumbimage:hover {
-moz-transform:scale(1.02);
-webkit-transform:scale(1.02);
}
 
/* Input buttons */
input[type='submit'], input[type='reset'], input[type='button'], *.mw-ui-button, *.mw-ui-button:visited,
#wpLoginAttempt, #wpCreateaccount, #mw-createaccount-join {
padding:3px 6px 3px !important;
border:3px double #aaa;
border-radius:4px;
cursor:pointer;
color:#222 !important;
background:#f7f7f7;
background:linear-gradient(top,#f7f7f7,#e7e7e7);
background:-o-linear-gradient(top,#f7f7f7,#e7e7e7);
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, *.mw-ui-button:hover,
#wpLoginAttempt:hover, #wpCreateaccount:hover, #mw-createaccount-join:hover {
border-color:#282828;
box-shadow:0 0 5px #640639 !important;
}
input[type='submit']:active, input[type='reset']:active, input[type='button']:active, *.mw-ui-button:active,
#wpLoginAttempt:focus, #wpCreateaccount:focus, #mw-createaccount-join:focus,
#wpLoginAttempt:active:focus, #wpCreateaccount:active:focus, #mw-createaccount-join:active:focus,
#wpLoginAttempt:active, #wpCreateaccount:active, #mw-createaccount-join:active {
color:#222 !important;
padding:3px 5px 3px 7px !important;
}
 
/* Category Box */
div.catlinks {
background:#f9f9f9;
background:linear-gradient(top,#f9f9f9,#ddd);
background:-o-linear-gradient(top,#f9f9f9,#ddd);
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;
}
}


/* Aspetto uguale ai link per il morph */
/* Aspetto uguale ai link per il morph */
  .morphLink {
.morphLink {
    color: #002BB8;
color: #002BB8;
    display: inline-block;
display: inline-block;
    cursor: pointer;
cursor: pointer;
}
  .morphLink:hover {
    text-decoration: underline;
}
 
  .toggleLink {
    color: #002BB8;
    display: inline-block;
    cursor: pointer;
}
 
/* Edit box */
.wikiEditor-ui textarea#wpTextbox1 {
height: 474px;
line-height: 1.4em;
}
.mw-summary-preview {
margin-bottom: 0.5em;
}
}
.oo-ui-textInputWidget textarea,
.morphLink:hover {
.oo-ui-textInputWidget input {
text-decoration: underline;
padding-bottom: 0.5em;
}
}
#wpSummaryWidget .oo-ui-labelElement-label {
.toggleLink {
margin-right: 3px;
color: #002BB8;
}
display: inline-block;
.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button,
cursor: pointer;
.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button:active {
padding: 0.234375em 0.78125em !important;
}
 
/* Video widget */
.videoWidget + p {
margin: 0;
}
 
/* Dismissable SiteNotice */
.sitedir-ltr .mw-dismissable-notice-body {
margin: 0 60px 0.5em 0;
}
.sitedir-rtl .mw-dismissable-notice-body {
margin: 0 0 0.5em 60px;
}
 
/* Captcha spacing */
.editOptions .g-recaptcha {
margin-bottom: 10px;
}
.mw-ui-vform {
width: 302px;
}
}


Line 491: Line 306:


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


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


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


/* Alt text colors */
/* Alt text colors */
.altcolors {
.altcolors {
    position: relative;
position: relative;
    /* Chrome, Safari, Opera */
animation-name: myfirst;
    -webkit-animation-name: myfirst;
animation-duration: 5s;
    -webkit-animation-duration: 5s;
animation-timing-function: linear;
    -webkit-animation-timing-function: linear;
animation-delay: 1s;
    -webkit-animation-delay: 1s;
animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
animation-direction: alternate;
    -webkit-animation-direction: alternate;
animation-play-state: running;
    -webkit-animation-play-state: running;
    /* Standard syntax */
    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 */
/* Chrome, Safari, Opera */
@-webkit-keyframes myfirst {
@-webkit-keyframes myfirst {
    0%  {color:#FFFFFF; opacity: 1.0;}
0%  {color: #FFFFFF; opacity: 1.0;}
    10%  {color:#FFFFFF; opacity: 1.0;}
10%  {color: #FFFFFF; opacity: 1.0;}
    20%  {opacity: 0.0;}
20%  {opacity: 0.0;}
    30%  {color:#9294b0; opacity: 1.0;}
30%  {color: #9294b0; opacity: 1.0;}
    60%  {color:#9294b0; opacity: 1.0;}
60%  {color: #9294b0; opacity: 1.0;}
    70%  {opacity: 0.0;}
70%  {opacity: 0.0;}
    80%  {color:#FFFFFF; opacity:1.0;}
80%  {color: #FFFFFF; opacity:1.0;}
    100% {color:#FFFFFF; opacity:1.0;}
100% {color: #FFFFFF; opacity:1.0;}
}
}


/* Standard syntax */
/* Standard syntax */
@keyframes myfirst {
@keyframes myfirst {
    0%  {color:#FFFFFF; opacity: 1.0;}
0%  {color: #FFFFFF; opacity: 1.0;}
    10%  {color:#FFFFFF; opacity: 1.0;}
10%  {color: #FFFFFF; opacity: 1.0;}
    20%  {opacity: 0.0;}
20%  {opacity: 0.0;}
    30%  {color:#9294b0; opacity: 1.0;}
30%  {color: #9294b0; opacity: 1.0;}
    60%  {color:#9294b0; opacity: 1.0;}
60%  {color: #9294b0; opacity: 1.0;}
    70%  {opacity: 0.0;}
70%  {opacity: 0.0;}
    80%  {color:#FFFFFF; opacity:1.0;}
80%  {color: #FFFFFF; opacity:1.0;}
    100% {color:#FFFFFF; opacity:1.0;}
100% {color: #FFFFFF; opacity:1.0;}
}
 
/* Mobile only */
.mobileonly {
display: none;
}
#mf-mobileonly {
display: none;
}
 
/* Fix table of contents spacing */
table tbody tr td .toc li {
line-height: 15px;
}
}


Line 661: Line 430:
}
}


/* Reference tooltips */
/* Indicator icons */
.referencetooltip li {
.mw-indicators {
background: #F9F9F9;
display: flex;
        border-color: #CCCCFF;
}
}
.referencetooltip li+li {
 
        border-top-color: #CCCCFF;
/* Who's online */
#whosonline {
margin-bottom: 1px;
}
}
.referencetooltip.RTflipped li+li {
 
        border-bottom-color: #CCCCFF;
/* 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;
}
}
}
.RTTarget {
 
        border-color: #CCCCFF;
/* fulltabs class to allow for full tabber width */
.fulltabs .tabberlive {
margin-left: 0;
}
}
 
.fulltabs .goright {
/* New user message box */
clear: none;
.usermessage {
float: none;
margin-top: 1em;
}
}

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