Initial commit
[editorial.git] / assets / main / sass / components / _box.scss
diff --git a/assets/main/sass/components/_box.scss b/assets/main/sass/components/_box.scss
new file mode 100644 (file)
index 0000000..20c57d9
--- /dev/null
@@ -0,0 +1,34 @@
+///\r
+/// Massively by HTML5 UP\r
+/// html5up.net | @ajlkn\r
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)\r
+///\r
+\r
+/* Box */\r
+\r
+       .box {\r
+               border-radius: _size(border-radius);\r
+               border: solid 2px;\r
+               margin-bottom: _size(element-margin);\r
+               padding: 1.5rem;\r
+\r
+               > :last-child,\r
+               > :last-child > :last-child,\r
+               > :last-child > :last-child > :last-child {\r
+                       margin-bottom: 0;\r
+               }\r
+\r
+               &.alt {\r
+                       border: 0;\r
+                       border-radius: 0;\r
+                       padding: 0;\r
+               }\r
+       }\r
+\r
+       @mixin color-box($p: null) {\r
+               .box {\r
+                       border-color: _palette($p, border);\r
+               }\r
+       }\r
+\r
+       @include color-box;
\ No newline at end of file