• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "MediaWiki:Common.css"

From Kancolle Wiki
Jump to navigation Jump to search
>CDRW
(No difference)

Revision as of 01:59, 23 December 2014

/***** CSS placed here will be applied to all skins on the entire site. *****/

/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
   font-style: italic;
}
.allpagesredirect:after {
   color: #808080; content: " (redirect)"
}
.watchlistredir {
   font-style: italic;
}
/* Switch Infobox */
.switch-infobox > p,
.switch-infobox-triggers > p {
    display: none;
}
.switch-infobox > p:first-child,
.switch-infobox-triggers > p:first-child {
    display: block;
}
 
.switch-infobox > .item {
    display: none;
}
 
.switch-infobox > .item.showing {
    display: block;
}
 
.switch-infobox > .loading-button {
    display: none;
}
 
.switch-infobox.loading > .loading-button {
    display: inline-block;
}
 
.switch-infobox.loading > .switch-infobox-triggers {
    display: none;
}
 
.infobox .switch-infobox-triggers {
    text-align: center;
    font-weight: normal;
    margin-bottom: -5px;
}
 
.skin-monobook .switch-infobox > .loading-button,
.skin-monobook .switch-infobox-triggers > .trigger {
    padding: 0 4px;
    border: 1px solid #666;
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e6e6e6), color-stop(50%, #c8c8c8));
    background: -webkit-linear-gradient(top, #e6e6e6, #c8c8c8 50%);
    background: -moz-linear-gradient(top, #e6e6e6, #c8c8c8 50%);
    background: -ms-linear-gradient(top, #e6e6e6, #c8c8c8 50%);
    background: linear-gradient(to bottom, #e6e6e6, #c8c8c8 50%);
    border-radius: 5px;
    color: #000;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
}
 
.trigger.button {
    white-space: pre;
}
/* Switch Infobox End */