Sha256: f108d97bfcb496120f7da9d0bba58fc60d11ab7602fc4c35c679cea8cd64b959
Contents?: true
Size: 1015 Bytes
Versions: 7
Compression:
Stored size: 1015 Bytes
Contents
@use "../utilities/css-variables" as cv; @use "../utilities/initial-variables" as iv; @use "../utilities/mixins" as mx; $section-padding: 3rem 1.5rem !default; $section-padding-desktop: 3rem 3rem !default; $section-padding-medium: 9rem 4.5rem !default; $section-padding-large: 18rem 6rem !default; .#{iv.$class-prefix}section { @include cv.register-vars( ( "section-padding": #{$section-padding}, "section-padding-desktop": #{$section-padding-desktop}, "section-padding-medium": #{$section-padding-medium}, "section-padding-large": #{$section-padding-large}, ) ); padding: cv.getVar("section-padding"); // Responsiveness @include mx.desktop { padding: cv.getVar("section-padding-desktop"); // Sizes &.#{iv.$class-prefix}is-medium { padding: cv.getVar("section-padding-medium"); } &.#{iv.$class-prefix}is-large { padding: cv.getVar("section-padding-large"); } } &.#{iv.$class-prefix}is-fullheight { min-height: 100vh; } }
Version data entries
7 entries across 7 versions & 3 rubygems