MediaWiki:Common.css: Difference between revisions

From New Prairie Wiki
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
Line 16: Line 16:
     vertical-align: top;
     vertical-align: top;
     text-align: left;
     text-align: left;
}
.infobox plainlist ul {
list-style: none;
}
}



Revision as of 10:13, 31 July 2025

/* CSS placed here will be applied to all skins */
.infobox {
    border: 1px solid #aaa;
    border-spacing: 3px;
    background-color: #f9f9f9;
    color: black;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    float: right;
    clear: right;
    font-size: 88%;
    line-height: 1.5em;
}

.infobox td, .infobox th {
    vertical-align: top;
    text-align: left;
}

.infobox plainlist ul {
	list-style: none;
}

.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa;
    background-color: #ecfcf4;
    padding: 1em;
}

.wikitable {
    margin: 1em 0;
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    border-collapse: collapse;
    color: #000;
}

.fmbox {
    clear: both;
    margin: 0.2em 0;
    width: 100%;
    border: 1px solid #aaa;
    background: #f9f9f9;
}

th.mbox-text, td.mbox-text {
    border: none;
    padding: 0.25em 0.9em;
    width: 100%;
}

.mergedtoprow {
    border-top: 1px solid #aaa;
    padding: 0.4em 0.6em 0.2em 0.6em;
}

.mediawiki .mbox-small {
    clear: right;
    float: right;
    margin: 4px 0 4px 1em;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}

.ombox-notice {
    border: 1px solid #aaa;
}

.plainlist {
    line-height: inherit;
    list-style: none none;
    margin: 0;
}

.ombox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #aaa;
    background: #f9f9f9;
}

.ombox-content {
    border: 1px solid #f28500;
}

.mw-content-ltr a, .mw-content-ltr a:visited {
	font-weight:bold;
}

.toc a, .toc a:visited {
    font-weight: normal!important;
}

table.navbox {
    margin-top: 1em;
}
.navbox, .navbox-subgroup {
    background: #fdfdfd;
}
.navbox {
    border: 1px solid #aaa;
    width: 100%;
    margin: auto;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
}
.navbox th, .navbox-title {
    background: #ccccff;
}
.navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title {
    background: #ddddff;
}
.navbox-group, .navbox-title, .navbox-abovebelow {
    padding: 0.25em 1em;
    line-height: 1.5em;
    text-align: center;
}
.navbox .collapseButton {
    width: 6em;
}
.collapseButton {
    float: right;
    font-weight: normal;
    margin-left: 0.5em;
    text-align: right;
    width: auto;
}
.navbox-title .navbar {
    float: left;
    text-align: left;
    margin-right: 0.5em;
    width: 6em;
}
th.navbox-group {
    white-space: nowrap;
    text-align: right;
}
.navbox-odd {
    background: transparent;
}
.navbox-list {
    line-height: 1.5em;
    border-color: #fdfdfd;
}
.navbox .hlist td dl, .navbox .hlist td ol, .navbox .hlist td ul, .navbox td.hlist dl, .navbox td.hlist ol, .navbox td.hlist ul {
    padding: 0.125em 0;
}
.hlist dd, .hlist dt, .hlist li {
    margin: 0;
    display: inline;
}
.hlist dd:after, .hlist li:after {
    content: " · ";
    font-weight: bold;
}
.navbox .hlist td dl, .navbox .hlist td ol, .navbox .hlist td ul, .navbox td.hlist dl, .navbox td.hlist ol, .navbox td.hlist ul {
    padding: 0.125em 0;
}
.hlist.inline, .hlist.inline dl, .hlist.inline ol, .hlist.inline ul, .hlist dl dl, .hlist dl ol, .hlist dl ul, .hlist ol dl, .hlist ol ol, .hlist ol ul, .hlist ul dl, .hlist ul ol, .hlist ul ul {
    display: inline;
}
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
    content: " (";
    font-weight: normal;
}