MediaWiki:Common.css

Revision as of 06:47, 5 March 2019 by Porplemontage (talk | contribs)

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.
/* CSS placed here will be applied to all skins */

/* Don't display some stuff on the main page */
body.page-Main_Page.action-view h1.firstHeading,
body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-view #catlinks,
body.page-Main_Page.action-view #lastmod { 
 display: none;
}

#bodyContent {
 position: relative;
}

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

/* Float right */
.goright {
 clear: right;
 float: right;
}
/* Float left */
.goleft {
 clear: left;
 float: left;
}

/* KHWiki Tabber */
.notice-template + .tabber,
#title-linktabs + .tabber,
#suitediv + .tabber,
.tabber.goright {
	width: 360px;
	float: right;
	margin: 0 0 0.5em 1em;
}

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

/* Notice templates */
.notice-template {
	width: 95%;
	margin: 0 auto 10px;
}
.ns-6 .notice-template {
	margin: 10px 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 {
 border:1px solid #aaa;
 background-color:#f9f9f9;
 color:#000;
 margin-bottom:0.5em;
 margin-left:1em;
 padding:0.2em;
 float:right;
 clear:right;
}
.infobox a > img {
 max-width: 100% !important;
 height: auto !important;
}
.infobox td, .infobox th {
 vertical-align: top;
}
.infobox caption {
 font-size: larger;
 margin-left: inherit;
}
.infobox.bordered {
 border-collapse: collapse;
}
.infobox.bordered td, .infobox.bordered th {
 border: 1px solid #aaa;
}
.infobox.bordered .borderless td, .infobox.bordered .borderless th {
 border: 0;
}

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

/* 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:0px;
 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);
 background:-o-linear-gradient(top,#eee,#fff);
 background:-ms-linear-gradient(top,#eee,#fff);
 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 {
 padding-bottom:3px !important;
}

#title-gameicons { display: none!important; visibility: hidden !important; }
#title-linktabs { 
 position:absolute;
 right:0;
 top:-30px;
}
#title-linktabs img {
 width: 30px;
 height: 30px;
}

/* 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{
 content:'article suite:';
 font-size:70%;
 line-height:.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;
 -moz-border-radius-topleft:0;
 -moz-border-radius-topright:0;
 -webkit-border-top-left-radius:0;
 -webkit-border-top-right-radius:0;
}

.tt1_disambig + .tt1_suite:before{
 content:'';
 font-size:inherit;
 line-height:inherit;
}

/* PATCH BORDER ON DOUBLE-DISAMBIGS */

table.tt1_disambig{
 margin:0 1em;
 padding:.5em;
 background:#f7f8ff;
 border:thin solid #aaa;
 display:block;
}

.tt1_disambig + .tt1_disambig{
 border-top:none;
}

/* Thumbnails */
div.thumb div.thumbinner div.magnify {
 display:none !important;
}
div.thumb div.thumbinner div {
 background:none !important;
 border:none !important;
 color:#fff;
}
div.thumb div.thumbinner a {
 color:#ddd;
}
div.thumb div.thumbinner a:visited {
 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 */
  .morphLink {
    color: #002BB8;
    display: inline-block;
    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,
.oo-ui-textInputWidget input {
	padding-bottom: 0.5em;
}
#wpSummaryWidget .oo-ui-labelElement-label {
	margin-right: 3px;
}
.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button,
.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;
}

/* 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 {
    display: block;
}
.nav:hover .mwe-popups-container {
    display: none;
}

#p-search {
	z-index: 1;
}

/* Main Page Portals: Container */
.container{
    position:absolute;
    height: 450px;
}

.dropdown {
border:2px solid #BFBFBF;
border-radius:10px;
display:none;
float:left;
left:-45%;
right:-45%;
position:relative;
z-index: 100;
color:#000000;
}

.dropdown a{
color:#FFFFFF;
text-decoration:none;
}

.dropdown caption {
    width:inherit;
}

.dropdown td {
vertical-align:top;
padding:1px;
white-space:nowrap;
}

.dropdown td p a {
border:1px solid #3e4874;
font-size:90%;
line-height: 1.2em;
margin: 3px 3px;
padding:3px;
}

.dropdown p{
margin:0;
padding:0;
}

caption a, .dropdown th a{
display:block;
padding: 2px;
}

.dropdown caption a {
padding:5px 20px 5px 20px;
font-size:150%;
}

/* Main Page Portals: Character Table */

.dropdowntable td {
border:white solid 1px;
}

.dropdowntable td a {
background-color: #000000;
background-image: -moz-linear-gradient(center top, #06305B, #3e4874);
background-image: -webkit-linear-gradient(top, #06305B, #3e4874);
background-image: -o-linear-gradient(top, #06305B, #3e4874);
background-image: -ms-linear-gradient(top, #06305B, #3e4874);
background-image: linear-gradient(top, #06305B, #3e4874);
color: #FFFFFF;
font-weight: normal;
display: block;
padding: 2px;
}

.dropdowntable td a:hover{
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 */
.altcolors {
    position: relative;
    /* Chrome, Safari, Opera */
    -webkit-animation-name: myfirst;
    -webkit-animation-duration: 5s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-delay: 1s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    -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 */
@-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;}
}

/* Mobile only */
.mobileonly {
	display: none;
}
#mf-mobileonly {
	display: none;
}

/* Fix table of contents spacing */
table tbody tr td .toc li {
	line-height: 15px;
}

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

/* Reference tooltips */
.referencetooltip li {
	background: #F9F9F9;
        border-color: #CCCCFF;
}
.referencetooltip li+li {
        border-top-color: #CCCCFF;
}
.referencetooltip.RTflipped li+li {
        border-bottom-color: #CCCCFF;
}
.RTTarget {
        border-color: #CCCCFF;
}

/* New user message box */
.usermessage {
	margin-top: 1em;
}