MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
NCommander (talk | contribs) (Created page with "→CSS placed here will be applied to all skins: .infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { font-size: 2em; text-align: center; } .infobox-image { text-align: center; } .infobox th { text-align: right; vertical-align: top; width: 120px; } .infobox td { vertical-align: top; }") |
NCommander (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.infobox { | .infobox { | ||
background: # | border: 1px solid #a2a9b1; | ||
background-color: #f8f9fa; | |||
color: #000; | |||
margin: 0.5em 0 0.5em 1em; | |||
padding: 0.2em; | |||
float: right; | float: right; | ||
clear: right; | |||
font-size: 90%; | |||
width: | line-height: 1.5em; | ||
width: 22em; | |||
} | } | ||
.infobox-title { | .infobox-title { | ||
font-size: | font-size: 1.35em; | ||
font-weight: bold; | |||
background-color: transparent; | |||
color: inherit; | |||
border: none; | |||
text-align: center; | text-align: center; | ||
padding: 0.2em; | |||
} | } | ||
.infobox- | |||
.infobox-row-title { | |||
width: 35%; | |||
} | |||
.infobox-row-header { | |||
text-align: center; | text-align: center; | ||
} | } | ||
.infobox | |||
.infobox td, .infobox th { | |||
.infobox | |||
vertical-align: top; | vertical-align: top; | ||
} | } |
Latest revision as of 16:55, 15 January 2023
.infobox {
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
color: #000;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
font-size: 90%;
line-height: 1.5em;
width: 22em;
}
.infobox-title {
font-size: 1.35em;
font-weight: bold;
background-color: transparent;
color: inherit;
border: none;
text-align: center;
padding: 0.2em;
}
.infobox-row-title {
width: 35%;
}
.infobox-row-header {
text-align: center;
}
.infobox td, .infobox th {
vertical-align: top;
}