MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Undo revision 149 by ChiefAgropelter (talk) Tag: Undo |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* Container just to float the whole box */ | |||
.infobox { | .infobox { | ||
float: right; | float: right; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
width: 400px; | width: 400px; /* adjust width */ | ||
} | |||
/* The table inside */ | |||
.infobox-table { | |||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
background: # | background: #f9f9f9; | ||
font-size: 90%; | font-size: 90%; | ||
line-height: 1.4em; | line-height: 1.4em; | ||
width: 100%; | |||
border-collapse: collapse; | |||
} | } | ||
.infobox | |||
text-align: | /* Title bar */ | ||
.infobox-title { | |||
text-align: center; | |||
background: #829682; /* default header color */ | |||
color: white; | |||
font-size: 110%; | |||
padding: 0.25em 0; | |||
} | } | ||
.infobox td { | |||
/* Labels and values */ | |||
.infobox-table th, | |||
.infobox-table td { | |||
text-align: left; | text-align: left; | ||
padding: 4px 6px; | |||
vertical-align: top; | |||
border-top: 1px solid #ddd; | |||
} | } | ||
Revision as of 00:31, 29 September 2025
/* Container just to float the whole box */
.infobox {
float: right;
margin: 0 0 1em 1em;
width: 400px; /* adjust width */
}
/* The table inside */
.infobox-table {
border: 1px solid #aaa;
background: #f9f9f9;
font-size: 90%;
line-height: 1.4em;
width: 100%;
border-collapse: collapse;
}
/* Title bar */
.infobox-title {
text-align: center;
background: #829682; /* default header color */
color: white;
font-size: 110%;
padding: 0.25em 0;
}
/* Labels and values */
.infobox-table th,
.infobox-table td {
text-align: left;
padding: 4px 6px;
vertical-align: top;
border-top: 1px solid #ddd;
}