mediawiki-skins-Citizen/skinStyles/extensions/Capiunto/capiunto.infobox.main.less
alistair3149 00b2495c1a
feat(core): use px for border-radius
- Move border radius calculation to CSS variable instead of LESS
- Rename CSS variable according to Codex, soft-deprecating the existing border radius
2024-07-05 13:24:31 -04:00

36 lines
730 B
Plaintext

/*
* Citizen
*
* SkinStyles for Extension:Capiunto
* Module: capiunto.infobox.main
* Version: REL1_39 3a6d523
*
* Date: 2023-07-14
*/
@import '../../../resources/variables.less';
.mw-capiunto-infobox {
float: none;
margin: 0 auto var( --space-md ) auto;
clear: none;
font-size: var( --font-size-small );
color: var( --color-base );
background-color: var( --color-surface-2 );
border-color: var( --border-color-base );
border-radius: var( --border-radius-medium );
caption,
&-top {
font-size: 1rem;
font-weight: var( --font-weight-semibold );
}
/* Sync with floatright styles */
@media ( min-width: @min-width-breakpoint-tablet ) {
float: right;
margin-left: var( --space-lg );
clear: right;
}
}