jumbo-jekyll-theme 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_sass/core/theme.scss +111 -0
  3. metadata +16 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc4aa49af397fdb2d339d0b98d3fee75af36b4f5df1ab2544e3a3ad74e9aec3a
4
- data.tar.gz: 5e18122ada35e9e8bd187b2db5603cc4b2f732f931cc61f47a32d910fcf50eca
3
+ metadata.gz: 7ae6f079219b1e87e57d7bb4afd9ced3634724f8f736700bb79de0a4f0336783
4
+ data.tar.gz: de5142bb591bcf96f6286ba74c953966c6fb6a63d581ab4e128231f9f23f6d2b
5
5
  SHA512:
6
- metadata.gz: de71c5ad8886c56334782abf6dcf83206215f26733aa224f26ffb90b22fba5972ea45468e664aed9aa0b95220bddb0d25e187763e14a6804564c58f133b0658b
7
- data.tar.gz: 70a1b554af7e46049bd9f4399ebe325b2f973a6e26a04400b8ff94b98875e633855c1560d0ecdd7f9aaad4f9f4d744fce04a43a88070e9c409ebc29dcd1495ca
6
+ metadata.gz: 1b4acba4342827690e771fe16c2ae02dea33a7dbb3b2b7d7fd32cf8cc58c1c7b6e81fbc20f13ead179e7406f2ee21a6d267aeba6de4272b3db26e908fb846892
7
+ data.tar.gz: 7372ba30ac6deef698f096f6ccc7b376e2620a303980e2e19306a17c996714f220d93ec028abb45f8e7d2b5f481dd629b80968a03f75dd84816a47365ec2c7b5
@@ -719,4 +719,115 @@ $sides: (top, bottom, left, right); // Leave this variable alone
719
719
  .text-center-mob {
720
720
  text-align:center !important;
721
721
  }
722
+ }
723
+
724
+ $viewports: (xs, sm, md, lg, xl); // Leave this variable alone
725
+
726
+ @each $space in $spaceamounts {
727
+ @each $side in $sides {
728
+ @each $screen in $viewports {
729
+ @include media-breakpoint-up(#{$screen}) {
730
+ .m-#{str-slice($side, 0, 1)}-#{$space}-#{$screen}-up {
731
+ margin-#{$side}: #{$space}px !important;
732
+ }
733
+ }
734
+ @include media-breakpoint-down(#{$screen}) {
735
+ .m-#{str-slice($side, 0, 1)}-#{$space}-#{$screen}-down {
736
+ margin-#{$side}: #{$space}px !important;
737
+ }
738
+ }
739
+ @include media-breakpoint-only(#{$screen}) {
740
+ .m-#{str-slice($side, 0, 1)}-#{$space}-#{$screen}-only {
741
+ margin-#{$side}: #{$space}px !important;
742
+ }
743
+ }
744
+
745
+ @include media-breakpoint-up(#{$screen}) {
746
+ .p-#{str-slice($side, 0, 1)}-#{$space}-#{$screen}-up {
747
+ padding-#{$side}: #{$space}px !important;
748
+ }
749
+ }
750
+ @include media-breakpoint-down(#{$screen}) {
751
+ .p-#{str-slice($side, 0, 1)}-#{$space}-#{$screen}-down {
752
+ padding-#{$side}: #{$space}px !important;
753
+ }
754
+ }
755
+ @include media-breakpoint-only(#{$screen}) {
756
+ .p-#{str-slice($side, 0, 1)}-#{$space}-#{$screen}-only {
757
+ padding-#{$side}: #{$space}px !important;
758
+ }
759
+ }
760
+ }
761
+ }
762
+ }
763
+ @media(max-width: $screen-sm-min - 1){
764
+ .text-center-mob {
765
+ text-align:center !important;
766
+ }
767
+ }
768
+ // Responsive Padding/Margin classes
769
+ $margin-none: 0;
770
+ $margin-sm: 5;
771
+ $margin-base: 15;
772
+ $margin-lg: 30;
773
+ $margin-xl: 50;
774
+ $margin-xxl: 100;
775
+
776
+ $padding-xxl: 100;
777
+ $padding-xl: 50;
778
+ $padding-lg: 30;
779
+ $padding-base: 15;
780
+ $padding-sm: 5;
781
+ $padding-none: 0;
782
+
783
+ @mixin make-paddings($class, $padding){
784
+ .p-#{$class}-#{$padding} { padding: $padding * 1px !important; }
785
+ .pl-#{$class}-#{$padding} { padding-left: $padding * 1px !important; }
786
+ .pr-#{$class}-#{$padding} { padding-right: $padding * 1px !important; }
787
+ .pt-#{$class}-#{$padding} { padding-top: $padding * 1px !important; }
788
+ .pb-#{$class}-#{$padding} { padding-bottom: $padding * 1px !important; }
789
+ .pv-#{$class}-#{$padding} { @extend .pt-#{$class}-#{$padding}; @extend .pb-#{$class}-#{$padding}; }
790
+ .ph-#{$class}-#{$padding} { @extend .pl-#{$class}-#{$padding}; @extend .pr-#{$class}-#{$padding}; }
791
+ }
792
+ @mixin make-margins($class, $margin){
793
+ .m-#{$class}-#{$margin} { margin: $margin * 1px !important; }
794
+ .ml-#{$class}-#{$margin} { margin-left: $margin * 1px !important; }
795
+ .mr-#{$class}-#{$margin} { margin-right: $margin * 1px !important; }
796
+ .mt-#{$class}-#{$margin} { margin-top: $margin * 1px !important; }
797
+ .mb-#{$class}-#{$margin} { margin-bottom: $margin * 1px !important; }
798
+ .mv-#{$class}-#{$margin} { @extend .mt-#{$class}-#{$margin}; @extend .mb-#{$class}-#{$margin}; }
799
+ .mh-#{$class}-#{$margin} { @extend .ml-#{$class}-#{$margin}; @extend .mr-#{$class}-#{$margin}; }
800
+ }
801
+
802
+ @mixin make-all-paddings($class){
803
+ @include make-paddings($class, $padding-none);
804
+ @include make-paddings($class, $padding-sm);
805
+ @include make-paddings($class, $padding-base);
806
+ @include make-paddings($class, $padding-lg);
807
+ @include make-paddings($class, $padding-xl);
808
+ @include make-paddings($class, $padding-xxl);
809
+ }
810
+ @mixin make-all-margins($class){
811
+ @include make-margins($class, $margin-none);
812
+ @include make-margins($class, $margin-sm);
813
+ @include make-margins($class, $margin-base);
814
+ @include make-margins($class, $margin-lg);
815
+ @include make-margins($class, $margin-xl);
816
+ @include make-margins($class, $margin-xxl);
817
+ }
818
+
819
+
820
+ @include make-all-paddings(xs);
821
+ @include make-all-margins(xs);
822
+ @media (min-width: $screen-sm-min) {
823
+ @include make-all-paddings(sm);
824
+ @include make-all-margins(sm);
825
+ }
826
+ @media (min-width: $screen-md-min) {
827
+ @include make-all-paddings(md);
828
+ @include make-all-margins(md);
829
+ }
830
+ @media (min-width: $screen-lg-min) {
831
+ @include make-all-paddings(lg);
832
+ @include make-all-margins(lg);
722
833
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumbo-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-13 00:00:00.000000000 Z
11
+ date: 2018-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -254,6 +254,20 @@ dependencies:
254
254
  - - "~>"
255
255
  - !ruby/object:Gem::Version
256
256
  version: 3.7.2
257
+ - !ruby/object:Gem::Dependency
258
+ name: jekyll-watch
259
+ requirement: !ruby/object:Gem::Requirement
260
+ requirements:
261
+ - - "~>"
262
+ - !ruby/object:Gem::Version
263
+ version: 2.1.1
264
+ type: :runtime
265
+ prerelease: false
266
+ version_requirements: !ruby/object:Gem::Requirement
267
+ requirements:
268
+ - - "~>"
269
+ - !ruby/object:Gem::Version
270
+ version: 2.1.1
257
271
  - !ruby/object:Gem::Dependency
258
272
  name: jekyll-include-cache
259
273
  requirement: !ruby/object:Gem::Requirement