Difference between revisions of "MediaWiki:Common.less/portableinfobox.less"
Jump to navigation
Jump to search
(Styling for portable infoboxes) |
|||
| Line 31: | Line 31: | ||
} | } | ||
| − | .pi-item { | + | .pi-item-spacing { |
padding: 0 10px; | padding: 0 10px; | ||
} | } | ||
} | } | ||
Revision as of 04:04, 25 December 2018
//
/* ==========================
portable infoboxes
========================== */
@infobox-background: @white;
@infobox-header-color: @jelly-bean;
@infobox-header-border: .5em solid @infobox-background;
@infobox-border: 1px solid @mystic;
.portable-infobox {
background: @infobox-background;
border: 1px solid @mystic;
box-shadow: @box-shadow;
.pi-data {
border-bottom-width: 0px;
}
.pi-data-label {
border-right: 1.5px solid @jelly-bean;
font-family: @sans-serif-stack;
}
.pi-header,
.pi-title {
background: @infobox-header-color;
color: @white;
font-size: 1.15em;
text-align: center;
}
.pi-item-spacing {
padding: 0 10px;
}
}