summaryrefslogtreecommitdiffstats
path: root/assets/sass/@primer/css/utilities/padding.scss
diff options
context:
space:
mode:
authorDSRKafuU2020-06-04 07:21:13 -0500
committerGitHub2020-06-04 07:21:13 -0500
commit73244a2e55dffa158027126346eefd5bafa5fea8 (patch)
treec98ee9fbdb6f474579aa769a2a4b0b4c98fd21f1 /assets/sass/@primer/css/utilities/padding.scss
parentaa5290aeef9df1c583fdf30290351968df9215dc (diff)
parent914bf54c493b299268c293be33a8babf99b1cce2 (diff)
downloadhugo-theme-fuji-73244a2e55dffa158027126346eefd5bafa5fea8.tar.gz
hugo-theme-fuji-73244a2e55dffa158027126346eefd5bafa5fea8.tar.bz2
hugo-theme-fuji-73244a2e55dffa158027126346eefd5bafa5fea8.zip
Merge pull request #24 from amzrk2/dev
v2 pre-release
Diffstat (limited to 'assets/sass/@primer/css/utilities/padding.scss')
-rw-r--r--assets/sass/@primer/css/utilities/padding.scss49
1 files changed, 0 insertions, 49 deletions
diff --git a/assets/sass/@primer/css/utilities/padding.scss b/assets/sass/@primer/css/utilities/padding.scss
deleted file mode 100644
index 9914bb8..0000000
--- a/assets/sass/@primer/css/utilities/padding.scss
+++ /dev/null
@@ -1,49 +0,0 @@
-// Padding spacer utilities
-// stylelint-disable block-opening-brace-space-before, declaration-colon-space-before, comment-empty-line-before
-
-// Responsive padding spacer utilities
-@each $breakpoint, $variant in $responsive-variants {
- @include breakpoint($breakpoint) {
- // Loop through the spacer values
- @each $scale, $size in $spacer-map {
- /* Set a $size padding to all sides at $breakpoint */
- .p#{$variant}-#{$scale} { padding: $size !important; }
- /* Set a $size padding to the top at $breakpoint */
- .pt#{$variant}-#{$scale} { padding-top: $size !important; }
- /* Set a $size padding to the right at $breakpoint */
- .pr#{$variant}-#{$scale} { padding-right: $size !important; }
- /* Set a $size padding to the bottom at $breakpoint */
- .pb#{$variant}-#{$scale} { padding-bottom: $size !important; }
- /* Set a $size padding to the left at $breakpoint */
- .pl#{$variant}-#{$scale} { padding-left: $size !important; }
-
- /* Set a $size padding to the left & right at $breakpoint */
- .px#{$variant}-#{$scale} {
- padding-right: $size !important;
- padding-left: $size !important;
- }
-
- /* Set a $size padding to the top & bottom at $breakpoint */
- .py#{$variant}-#{$scale} {
- padding-top: $size !important;
- padding-bottom: $size !important;
- }
- }
- }
-}
-
-// responsive padding for containers
-.p-responsive {
- padding-right: $spacer-3 !important;
- padding-left: $spacer-3 !important;
-
- @include breakpoint(sm) {
- padding-right: $spacer-6 !important;
- padding-left: $spacer-6 !important;
- }
-
- @include breakpoint(lg) {
- padding-right: $spacer-3 !important;
- padding-left: $spacer-3 !important;
- }
-}