jumbo-jekyll-theme 3.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_sass/core/theme.scss +111 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ae6f079219b1e87e57d7bb4afd9ced3634724f8f736700bb79de0a4f0336783
|
4
|
+
data.tar.gz: de5142bb591bcf96f6286ba74c953966c6fb6a63d581ab4e128231f9f23f6d2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b4acba4342827690e771fe16c2ae02dea33a7dbb3b2b7d7fd32cf8cc58c1c7b6e81fbc20f13ead179e7406f2ee21a6d267aeba6de4272b3db26e908fb846892
|
7
|
+
data.tar.gz: 7372ba30ac6deef698f096f6ccc7b376e2620a303980e2e19306a17c996714f220d93ec028abb45f8e7d2b5f481dd629b80968a03f75dd84816a47365ec2c7b5
|
data/_sass/core/theme.scss
CHANGED
@@ -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.
|
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-
|
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
|