webseite/assets/sass/components/_box.scss

26 lines
517 B
SCSS
Raw Normal View History

2018-02-25 00:49:23 +01:00
///
/// Solid State by HTML5 UP
2018-02-25 00:49:23 +01:00
/// 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 _palette(border);
2018-02-25 00:49:23 +01:00
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;
}
}