MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→Parts infobox: .partbox{ float: right; →<-- THIS is the alignment: width: 300px; margin: 0 0 16px 16px; →space from the article text: border: 1px solid #c8ccd1; background: #fff; border-radius: 6px; overflow: hidden; } .partbox-title{ background: #2f3b4a; color: #fff; font-weight: 700; padding: 10px 12px; font-size: 14px; } .partbox-table{ width: 100%; border-collapse: collapse; font-size: 13px; } .partbox-ta..." |
No edit summary |
||
| Line 8: | Line 8: | ||
border-radius: 6px; | border-radius: 6px; | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
.partbox-title{ | .partbox-title{ | ||
background: # | background: #e5e7eb; | ||
color: # | color: #111827; | ||
font-weight: 700; | font-weight: 700; | ||
padding: 10px 12px; | padding: 10px 12px; | ||
Revision as of 23:58, 22 January 2026
/* Parts infobox */
.partbox{
float: right; /* <-- THIS is the alignment */
width: 300px;
margin: 0 0 16px 16px; /* space from the article text */
border: 1px solid #c8ccd1;
background: #fff;
border-radius: 6px;
overflow: hidden;
}
.partbox-title{
background: #e5e7eb;
color: #111827;
font-weight: 700;
padding: 10px 12px;
font-size: 14px;
}
.partbox-table{
width: 100%;
border-collapse: collapse;
font-size: 13px;
}
.partbox-table th,
.partbox-table td{
padding: 8px 10px;
border-top: 1px solid #eaecf0;
vertical-align: top;
}
.partbox-table th{
width: 42%;
text-align: left;
color: #202122;
font-weight: 600;
background: #f8f9fa;
}