MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with ".infobox { border-collapse: collapse; border: 1px solid #aaa; background: #f9f9f9; font-size: 90%; } .infobox th, .infobox td { padding: 4px 6px; } .infobox th { background: #e6e6e6; }" |
No edit summary |
||
| Line 11: | Line 11: | ||
.infobox th { | .infobox th { | ||
background: #e6e6e6; | background: #e6e6e6; | ||
} | |||
/* Infobox (company) design */ | |||
.infobox.vcard{ | |||
width: 320px; /* change width */ | |||
float: right; | |||
clear: right; | |||
margin: 0 0 16px 16px; | |||
border: 1px solid #cfd8dc; | |||
background: #ffffff; | |||
border-radius: 10px; | |||
overflow: hidden; | |||
box-shadow: 0 6px 18px rgba(0,0,0,.08); | |||
font-size: 14px; /* base font size */ | |||
line-height: 1.35; | |||
} | |||
.infobox.vcard th, | |||
.infobox.vcard td{ | |||
padding: 8px 10px; /* spacing */ | |||
border-top: 1px solid #eef2f5; | |||
vertical-align: top; | |||
} | |||
.infobox.vcard th{ | |||
width: 38%; | |||
background: #f7f9fb; /* left column color */ | |||
color: #263238; | |||
font-weight: 600; | |||
text-align: left; | |||
} | |||
.infobox.vcard td{ | |||
color: #37474f; | |||
} | |||
.infobox.vcard th[colspan="2"]{ | |||
background: #0b5ed7; /* title bar color */ | |||
color: #ffffff; | |||
text-align: center; | |||
font-size: 16px; /* title font size */ | |||
border-top: 0; | |||
} | |||
.infobox.vcard img{ | |||
max-width: 220px; /* logo size */ | |||
height: auto; | |||
} | } | ||
Revision as of 15:30, 9 February 2026
.infobox {
border-collapse: collapse;
border: 1px solid #aaa;
background: #f9f9f9;
font-size: 90%;
}
.infobox th,
.infobox td {
padding: 4px 6px;
}
.infobox th {
background: #e6e6e6;
}
/* Infobox (company) design */
.infobox.vcard{
width: 320px; /* change width */
float: right;
clear: right;
margin: 0 0 16px 16px;
border: 1px solid #cfd8dc;
background: #ffffff;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 6px 18px rgba(0,0,0,.08);
font-size: 14px; /* base font size */
line-height: 1.35;
}
.infobox.vcard th,
.infobox.vcard td{
padding: 8px 10px; /* spacing */
border-top: 1px solid #eef2f5;
vertical-align: top;
}
.infobox.vcard th{
width: 38%;
background: #f7f9fb; /* left column color */
color: #263238;
font-weight: 600;
text-align: left;
}
.infobox.vcard td{
color: #37474f;
}
.infobox.vcard th[colspan="2"]{
background: #0b5ed7; /* title bar color */
color: #ffffff;
text-align: center;
font-size: 16px; /* title font size */
border-top: 0;
}
.infobox.vcard img{
max-width: 220px; /* logo size */
height: auto;
}