diff options
author | 2020-08-04 16:27:53 -0700 | |
---|---|---|
committer | 2020-08-04 16:27:53 -0700 | |
commit | 3ec2f4a87d8509aed4f42975d8a03b75e78c5218 (patch) | |
tree | 96b172b7b49476567331ed4b0758383dfb7870a4 /assets/sass/components/_box.scss | |
parent | e37306449b036fc192ddee5db78d3a30197a8f21 (diff) | |
download | Portfolio-master.tar.gz Portfolio-master.tar.zst Portfolio-master.zip |
Diffstat (limited to 'assets/sass/components/_box.scss')
-rw-r--r-- | assets/sass/components/_box.scss | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/assets/sass/components/_box.scss b/assets/sass/components/_box.scss new file mode 100644 index 0000000..077e1f9 --- /dev/null +++ b/assets/sass/components/_box.scss @@ -0,0 +1,30 @@ +/// +/// Big Picture by Pixelarity +/// pixelarity.com | hello@pixelarity.com +/// License: pixelarity.com/license +/// + +/* Box */ + + .box { + background: _palette(bg); + color: _palette(fg); + padding: 2em; + + > :last-child { + margin-bottom: 0; + } + + &.style2 { + padding: 3.5em 2.5em 3.5em 2.5em; + } + + @include breakpoint('<=small') { + padding: 1em; + + &.style2 { + padding: 1.5em 1.25em 1.5em 1.25em; + background-color: transparentize(_palette(bg), 0.1); + } + } + }
\ No newline at end of file |