Sites-Camelia/v5/assets/sass/components/_box.scss
Esenjin 96b6115511
All checks were successful
continuous-integration/drone/push Build is passing
[camelia] préparation de la v5
2022-10-14 13:24:04 +02:00

34 lines
585 B
SCSS

///
/// Massively by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Box */
.box {
border-radius: _size(border-radius);
border: solid 2px;
margin-bottom: _size(element-margin);
padding: 1.5rem;
> :last-child,
> :last-child > :last-child,
> :last-child > :last-child > :last-child {
margin-bottom: 0;
}
&.alt {
border: 0;
border-radius: 0;
padding: 0;
}
}
@mixin color-box($p: null) {
.box {
border-color: _palette($p, border);
}
}
@include color-box;