You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
567 B
SCSS
34 lines
567 B
SCSS
///
|
|
/// Atmosphere by Pixelarity
|
|
/// pixelarity.com | hello@pixelarity.com
|
|
/// License: pixelarity.com/license
|
|
///
|
|
|
|
/* Box */
|
|
|
|
.box {
|
|
border-radius: _size(border-radius);
|
|
border: solid _size(border-width);
|
|
margin-bottom: _size(element-margin);
|
|
padding: 1.5em;
|
|
|
|
> :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; |