/* Box */ .box { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: _size(border-radius); border: solid _size(border-width); margin-bottom: _size(element-margin); padding: 1.5em; width: 75vw; > :last-child, > :last-child > :last-child, > :last-child > :last-child > :last-child { margin-bottom: 0; } &.alt { border: 0; border-radius: 0; padding: 0; } .title { font-size: 1.5em; } img { width: 80%; max-width: 600px; height: auto; } .date { font-size: 1em; } .description { font-size: 1.1em; padding-top: 1em; } } @mixin color-box($p: null) { .box { border-color: _palette($p, border); } } @include color-box;