Module:Userbox/styles.css
Jump to navigation
Jump to search
/* Userbox Default Stylesheet */
/* This stylesheet contains all default styling from the Lua module */
/* Container */
.userbox-container {
display: block;
float: none;
clear: none;
border: 1px solid #999;
margin: 2px auto;
width: 278px; /* 280px - 2px for border */
}
/* Border wrapper */
.userbox-border {
/* No default styles, but available for customization */
}
/* Table */
.userbox-table {
border-collapse: collapse;
width: 278px;
margin-bottom: 0;
margin-top: 0;
background: #eee;
}
/* ID/Logo cell (general) */
.userbox-id {
border: 0;
width: 45px;
height: 45px;
background: #ddd;
text-align: center;
font-size: 14pt;
font-weight: inherit;
color: black;
padding: 0;
line-height: 1.25em;
vertical-align: middle;
}
/* Left ID cell specific */
.userbox-id-left {
/* Inherits from .userbox-id */
}
/* Right ID cell specific */
.userbox-id-right {
/* Inherits from .userbox-id */
}
/* ID content wrapper */
.userbox-id-content {
/* No default styles, but available for customization via imagestyles parameter */
}
/* Info/Text cell */
.userbox-info {
border: 0;
text-align: left;
font-size: 10pt;
padding: 0 4px 0 4px;
height: 45px;
line-height: 1.25em;
color: black;
vertical-align: middle;
}
/* Info content wrapper */
.userbox-info-content {
/* No default styles, but available for customization via contentstyles parameter */
}
/* Wikipedia compatibility class */
.wikipediauserbox {
/* Kept for compatibility, no default styles */
}
/* Generic userbox class */
.userbox {
/* Kept for additional styling hooks, no default styles */
}
/* Utility: When float is explicitly set */
.userbox-container[style*="float: left"],
.userbox-container[style*="float: right"] {
margin: 2px 5px;
}
/* Override for explicit float: none */
.userbox-container[style*="float: none"] {
margin: 2px auto;
}