MediaWiki:Common.css: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 74: Line 74:
table.video {
table.video {
margin: 5px auto;
margin: 5px auto;
}
/* Notice templates */
table + #stub {
margin-top: 10px;
}
.notice-template {
width: 95%;
margin: 0 auto 10px;
}
#mw-imagepage-content .notice-template {
margin: 5px auto !important;
}
.notice-template + .notice-template {
margin-top: -5px;
}
}


Line 102: Line 87:
padding: 2px 1em 1em;
padding: 2px 1em 1em;
}
}
.infobox.journal {
 
border-color: #0089B3;
/* Notice templates */
background: #C7E2EA;
table + #stub {
margin-top: 10px;
}
}
.infobox.journal-green {
.notice-template {
border-color: #98C058;
width: 95%;
background: #E8FFEE;
margin: 0 auto 10px;
}
}
.infobox td,
#mw-imagepage-content .notice-template {
.infobox th {
margin: 5px auto !important;
vertical-align: top;
}
}
.infobox.data td,
.notice-template + .notice-template {
.infobox.data th {
margin-top: -5px;
vertical-align: middle;
}
.infobox big {
font-size: 125%;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.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;
}
}