MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Tag: Reverted
Line 19: Line 19:
flex: 17.4em;
flex: 17.4em;
}
}
}
/** Template stylings **/
/* [[Template:Navbox]] */
.navbox {
background: #FFF;
border: 1px solid #CCC;
margin: 1em auto 0;
width: 100%;
}
.navbox table {
background: #FFF;
margin-left: -4px;
margin-right: -2px;
}
.navbox table:first-child {
margin-top: -2px;
}
.navbox table:last-child {
margin-bottom: -2px;
}
.navbox .navbox-top {
white-space: nowrap;
background-color: #CCC;
padding: 0 3px;
text-align: center;
}
.navbox-navbar,
.navbox-navbar-mini {
float: left;
font-size: 80%;
}
.navbox-title {
padding: 0 10px;
font-size: 110%;
}
.navbox th {
background-color: #EEE;
padding: 0 10px;
white-space: nowrap;
text-align: right;
}
.navbox td {
width: 100%;
padding: 0 0 0 2px;
}
body.wgl-theme-dark .navbox,
body.wgl-theme-dark .historybox {
background-color: #2f2f2f;
border-color: #444;
}
body.wgl-theme-dark .navbox table,
body.wgl-theme-dark .historybox table {
background-color: #2f2f2f;
}
body.wgl-theme-dark .navbox .navbox-top,
body.wgl-theme-dark .historybox .historybox-top {
background-color: #111 !important;
}
body.wgl-theme-dark .navbox th,
body.wgl-theme-dark .historybox th {
background-color: #222;
}
}


Navigation menu