Difference between revisions of "MediaWiki:Common.css"

From Moegirlpedia
Jump to: navigation, search
(navbox css test)
Line 27: Line 27:
 
div#mw-panel {
 
div#mw-panel {
 
   top: 245px;
 
   top: 245px;
 +
}
 +
 +
/* Template:Navbox related css (update from zhmoe on 2017/05/19) */
 +
table.navbox {
 +
    border: 1px solid #aaa;
 +
    clear: both;
 +
    margin: auto;
 +
    padding: 1px;
 +
    text-align: center;
 +
    width: 100%;
 +
}
 +
table.navbox+table.navbox {
 +
    margin-top: -1px;
 +
}
 +
.navbox-title,
 +
.navbox-abovebelow,
 +
table.navbox th {
 +
    padding-left: 1em;
 +
    padding-right: 1em;
 +
    text-align: center;
 +
}
 +
.navbox-group {
 +
    font-weight: 700;
 +
    padding-left: 1em;
 +
    padding-right: 1em;
 +
    white-space: nowrap;
 +
}
 +
.navbox,
 +
.navbox-subgroup {
 +
    background: none repeat scroll 0 0 #fdfdfd;
 +
}
 +
.navbox-list {
 +
    border-color: #fdfdfd;
 +
}
 +
.navbox-title,
 +
table.navbox th {
 +
    background: none repeat scroll 0 0 #a5e4a5;
 +
}
 +
.navbox-abovebelow,
 +
.navbox-group,
 +
.navbox-subgroup .navbox-title {
 +
    background: none repeat scroll 0 0 #c0ecc0;
 +
}
 +
.navbox-subgroup .navbox-group,
 +
.navbox-subgroup .navbox-abovebelow {
 +
    background: none repeat scroll 0 0 #e6f6e6;
 +
}
 +
.navbox-even {
 +
    background: none repeat scroll 0 0 #f5fcf5;
 +
}
 +
.navbox-odd {
 +
    background: none repeat scroll 0 0 transparent;
 +
}
 +
.collapseButton {
 +
    float: right;
 +
    font-weight: 400;
 +
    text-align: right;
 +
    width: auto;
 +
}
 +
.navbox .collapseButton {
 +
    width: 6em;
 
}
 
}

Revision as of 00:05, 20 May 2017

/* CSS placed here will be applied to all skins */
/* advertisement */
.please-donate {
    height: 90px;
    margin: 10px;
    clear: both;
    text-align: center;
}
.please-donate a {
    display: block;
    width: 728px;
    height: 90px;
    margin: 0 auto;
}
.ads-main {
    width: 728px;
    margin: -90px auto 0;
}

/* LOGO */
#p-logo a {
  height: 245px;
}
#p-logo {
  top: -245px;
}
div#mw-panel {
  top: 245px;
}

/* Template:Navbox related css (update from zhmoe on 2017/05/19) */
table.navbox {
    border: 1px solid #aaa;
    clear: both;
    margin: auto;
    padding: 1px;
    text-align: center;
    width: 100%;
}
table.navbox+table.navbox {
    margin-top: -1px;
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
}
.navbox-group {
    font-weight: 700;
    padding-left: 1em;
    padding-right: 1em;
    white-space: nowrap;
}
.navbox,
.navbox-subgroup {
    background: none repeat scroll 0 0 #fdfdfd;
}
.navbox-list {
    border-color: #fdfdfd;
}
.navbox-title,
table.navbox th {
    background: none repeat scroll 0 0 #a5e4a5;
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
    background: none repeat scroll 0 0 #c0ecc0;
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: none repeat scroll 0 0 #e6f6e6;
}
.navbox-even {
    background: none repeat scroll 0 0 #f5fcf5;
}
.navbox-odd {
    background: none repeat scroll 0 0 transparent;
}
.collapseButton {
    float: right;
    font-weight: 400;
    text-align: right;
    width: auto;
}
.navbox .collapseButton {
    width: 6em;
}