X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;ds=sidebyside;f=assets%2Fmain%2Fsass%2Fcomponents%2F_box.scss;fp=assets%2Fmain%2Fsass%2Fcomponents%2F_box.scss;h=9c6840e265ec134e47ef37d0ec583344f25bd427;hb=283508bd265ef3430abc21e0599313c250e57942;hp=20c57d9f59080b5e822a463b0ef4d53d9ec9af48;hpb=8af2079e4b096e77ba2f922d6a18224ce01cb7bd;p=editorial.git diff --git a/assets/main/sass/components/_box.scss b/assets/main/sass/components/_box.scss index 20c57d9..9c6840e 100644 --- a/assets/main/sass/components/_box.scss +++ b/assets/main/sass/components/_box.scss @@ -1,5 +1,5 @@ /// -/// Massively by HTML5 UP +/// Editorial by HTML5 UP /// html5up.net | @ajlkn /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) /// @@ -8,9 +8,9 @@ .box { border-radius: _size(border-radius); - border: solid 2px; + border: solid 1px _palette(border); margin-bottom: _size(element-margin); - padding: 1.5rem; + padding: 1.5em; > :last-child, > :last-child > :last-child, @@ -23,12 +23,4 @@ border-radius: 0; padding: 0; } - } - - @mixin color-box($p: null) { - .box { - border-color: _palette($p, border); - } - } - - @include color-box; \ No newline at end of file + } \ No newline at end of file