• 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
 
>CDRW
Line 12: Line 12:
 
}
 
}
 
/* Switch Infobox */
 
/* Switch Infobox */
 +
.infobox {
 +
    border: 1px solid #aaa;
 +
    background-color: #f9f9f9;
 +
    color: inherit !important;
 +
    margin: 0 0 0.5em 2em !important;
 +
    padding: 0.2em;
 +
    float: right;
 +
    clear: right;
 +
}
 +
 +
.infobox td,
 +
.infobox th {
 +
    vertical-align: top;
 +
}
 +
 +
.infobox caption {
 +
    font-size: larger;
 +
    padding-bottom: 10px !important;
 +
    margin-left: 0 !important;
 +
    color: inherit !important;
 +
}
 +
 +
.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;
 +
}
 +
 +
.infobox ul {
 +
    margin: 0.3em 0 0 1.6em;
 +
}
 +
 +
.infobox .wikitable.mw-collapsible {
 +
    margin: -1px;
 +
    width: calc(100% + 2px) !important;
 +
}
 +
 +
.infobox a.image + a.image {
 +
    margin-left: 3px;
 +
}
 +
 +
.infobox .infoboximage {
 +
    word-spacing: -4px;
 +
}
 +
 +
.infobox td .new {
 +
    word-spacing: 0;
 +
}
 +
 +
 +
.WikiaMainContent .show {
 +
    display: none;
 +
}
 +
 +
.WikiaMainContent .hover:hover .show {
 +
    display: inline !important;
 +
}
 +
 +
.WikiaMainContent .hover:hover .hide {
 +
    display: none;
 +
}
 +
 +
#content .show {
 +
    display: none;
 +
}
 +
 
.switch-infobox > p,
 
.switch-infobox > p,
 
.switch-infobox-triggers > p {
 
.switch-infobox-triggers > p {

Revision as of 02:16, 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 */
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: inherit !important;
    margin: 0 0 0.5em 2em !important;
    padding: 0.2em;
    float: right;
    clear: right;
}
 
.infobox td,
.infobox th {
    vertical-align: top;
}
 
.infobox caption {
    font-size: larger;
    padding-bottom: 10px !important;
    margin-left: 0 !important;
    color: inherit !important;
}
 
.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;
}
 
.infobox ul {
    margin: 0.3em 0 0 1.6em;
}
 
.infobox .wikitable.mw-collapsible {
    margin: -1px;
    width: calc(100% + 2px) !important;
}
 
.infobox a.image + a.image {
    margin-left: 3px;
}
 
.infobox .infoboximage {
    word-spacing: -4px;
}
 
.infobox td .new {
    word-spacing: 0;
}
 
 
.WikiaMainContent .show {
    display: none;
}
 
.WikiaMainContent .hover:hover .show {
    display: inline !important;
}
 
.WikiaMainContent .hover:hover .hide {
    display: none;
}
 
#content .show {
    display: none;
}

.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 */