Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/curttimson/hugo-theme-massively.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/scss/components/_box.scss')
-rw-r--r--assets/scss/components/_box.scss34
1 files changed, 34 insertions, 0 deletions
diff --git a/assets/scss/components/_box.scss b/assets/scss/components/_box.scss
new file mode 100644
index 0000000..20c57d9
--- /dev/null
+++ b/assets/scss/components/_box.scss
@@ -0,0 +1,34 @@
+///
+/// Massively 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 2px;
+ margin-bottom: _size(element-margin);
+ padding: 1.5rem;
+
+ > :last-child,
+ > :last-child > :last-child,
+ > :last-child > :last-child > :last-child {
+ margin-bottom: 0;
+ }
+
+ &.alt {
+ border: 0;
+ 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