Difference between revisions of "MediaWiki:Common.less/portableinfobox.less"
Jump to navigation
Jump to search
(Corey changed the content model of the page MediaWiki:Common.less/portableinfobox.less from "wikitext" to "CSS") Tag: content model change |
(Dear lord I'm a fucking mess) |
||
Line 19: | Line 19: | ||
.pi-data-label { | .pi-data-label { | ||
− | border-right: 1.5px solid @ | + | border-right: 1.5px solid @fountain-blue; |
font-family: @sans-serif-stack; | font-family: @sans-serif-stack; | ||
} | } | ||
Line 25: | Line 25: | ||
.pi-header, | .pi-header, | ||
.pi-title { | .pi-title { | ||
− | background: @ | + | background: @infobox-header-color; |
color: @white; | color: @white; | ||
font-size: 1.15em; | font-size: 1.15em; |
Revision as of 04:18, 25 December 2018
// <pre>
/* ==========================
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 @fountain-blue;
font-family: @sans-serif-stack;
}
.pi-header,
.pi-title {
background: @infobox-header-color;
color: @white;
font-size: 1.15em;
text-align: center;
}
div.pi-item:not(.pi-header),
div.pi-item:not(.pi-title) {
padding: 0 10px;
}
}