summaryrefslogtreecommitdiff
path: root/assets/sass/components/_box.scss
diff options
context:
space:
mode:
authorJason McCormick <jdm@mfamily.org>2025-10-09 12:49:05 -0400
committerJason McCormick <jdm@mfamily.org>2025-10-09 12:49:05 -0400
commit3c02dc1c0cd480fc11647ec0f7900d4034a00cc4 (patch)
tree468f503c5b64dec012ca3f09350a85aa500d20d5 /assets/sass/components/_box.scss
initial add
Diffstat (limited to 'assets/sass/components/_box.scss')
-rw-r--r--assets/sass/components/_box.scss26
1 files changed, 26 insertions, 0 deletions
diff --git a/assets/sass/components/_box.scss b/assets/sass/components/_box.scss
new file mode 100644
index 0000000..ec5ab0d
--- /dev/null
+++ b/assets/sass/components/_box.scss
@@ -0,0 +1,26 @@
+///
+/// Dimension by HTML5 UP
+/// 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 _size(border-width) _palette(border);
+ 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;
+ }
+ } \ No newline at end of file