jekyll-bulma 1.0.0 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0177ae7e0197ade55516b9fdb002be35b67d39fc59c0d7f759c2478be2e8c53b
4
- data.tar.gz: f3fe21adf51d42363e5e50e9d19f69545897030b95128b18e48243681a437958
3
+ metadata.gz: 6cd1b1d1463a17ec339ae575db90a97a1fde671db4c988942f4a98d1c7cf8c35
4
+ data.tar.gz: 8a4e29ee850e580a966e020fbb1b09d98062815a8bb56d4a9dd876d39297af60
5
5
  SHA512:
6
- metadata.gz: 1441203b1c425d6264827bef9659a48f2b8dbee22e5d8a4d4a934e0c0d3bdeea8ac8fbf88ae9df0d2de7309fc36f2fb461777bee7fea2c6b031b49d85e629be4
7
- data.tar.gz: 9bb0bdd578d2b7d2fd7740c9ea4e26f733b9dc67be03ca3b1a42a932181a0a56ea64bea59e5506e7cd3f6d9d17fde24226833c00c7fd2f045568620e6c3820a5
6
+ metadata.gz: 7045fcc616dbfd82098ce5d8f2b14e5e275f83bb0c6c70accbe9e8a9fb7e441f70739f935c61198e2911719c9f8744e949212d6636e48cbbebf63101a771f178
7
+ data.tar.gz: 568f5fab8a2ea559d065ab8cbe90f6695260135a2fd61fd82462b628fd4776730c951222e7f3ab39d810f302eca7654a98fed3b5b3f19e1a8ee500d6e97488d3
@@ -1,9 +1,13 @@
1
1
  /**
2
2
  * Syntax highlighting styles
3
3
  */
4
+ @use "sass:math";
5
+
6
+ $spacing-unit: 30px !default;
7
+
4
8
  .highlight {
5
9
  background: #fff;
6
- margin-bottom: $spacing-unit / 2;
10
+ margin-bottom: math.div($spacing-unit, 2);
7
11
 
8
12
  .highlighter-rouge & {
9
13
  background: #eef;
@@ -1,6 +1,8 @@
1
1
  // Bordered & Pulled
2
2
  // -------------------------
3
3
 
4
+ @use "variables" as *;
5
+
4
6
  .#{$la-css-prefix}-border {
5
7
  border: solid 0.08em #eee;
6
8
  border-radius: .1em;
@@ -1,3 +1,5 @@
1
+ @use "variables" as *;
2
+
1
3
  .#{$la-css-prefix}-fw {
2
4
  width: 1.25em;
3
5
  text-align: center;
@@ -1,3 +1,5 @@
1
+ @use "variables" as *;
2
+
1
3
  .#{$la-css-prefix}-500px:before { content: la-content($la-500px); }
2
4
  .#{$la-css-prefix}-accessible-icon:before { content: la-content($la-accessible-icon); }
3
5
  .#{$la-css-prefix}-accusoft:before { content: la-content($la-accusoft); }
@@ -1,3 +1,5 @@
1
+ @use "variables" as *;
2
+
1
3
  .#{$la-css-prefix}-lg {
2
4
  font-size: 1.33333em;
3
5
  line-height: 0.75em;
@@ -1,3 +1,6 @@
1
+ @use "sass:math";
2
+ @use "variables" as *;
3
+
1
4
  .#{$la-css-prefix}-ul {
2
5
  padding-left: 0;
3
6
  margin-left: $la-li-width;
@@ -14,6 +17,6 @@
14
17
  width: $la-li-width;
15
18
  line-height: inherit;
16
19
  &.#{$la-css-prefix}-lg {
17
- left: -$la-li-width + (4em / 14);
20
+ left: -$la-li-width + math.div(4em, 14);
18
21
  }
19
22
  }
@@ -1,3 +1,5 @@
1
+ @use "variables" as *;
2
+
1
3
  @font-face {
2
4
  font-family: $la-font-name-lab;
3
5
  font-style: normal;
@@ -1,2 +1,4 @@
1
+ @use "mixins" as *;
2
+
1
3
  .sr-only { @include sr-only(); }
2
4
  .sr-only-focusable { @include sr-only-focusable(); }
@@ -1,3 +1,5 @@
1
+ @use "variables" as *;
2
+
1
3
  .#{$la-css-prefix}-stack {
2
4
  display: inline-block;
3
5
  height: 2em;
@@ -1,13 +1,16 @@
1
+ @use "sass:string";
2
+ @use "sass:math";
3
+
1
4
  $la-font-path: "../fonts/line-awesome" !default;
2
5
  $la-font-size-base: 14px !default;
3
6
  $la-line-height-base: 1 !default;
4
7
  $la-border-color: #eee !default;
5
8
  $la-inverse: #fff !default;
6
9
  $la-version: 1.3.0 !default;
7
- $la-li-width: (20em / 14) !default;
10
+ $la-li-width: math.div(20em, 14) !default;
8
11
 
9
12
  @function la-content($la-var) {
10
- @return unquote("\"#{ $la-var }\"");
13
+ @return string.unquote("\"#{ $la-var }\"");
11
14
  }
12
15
 
13
16
  $la-css-prefix: la;
@@ -1,12 +1,12 @@
1
- @import "mixins";
2
- @import "core";
3
- @import "variables";
4
- @import "path";
5
- @import "larger";
6
- @import "fixed-width";
7
- @import "list";
8
- @import "bordered_pulled";
9
- @import "rotated-flipped";
10
- @import "stacked";
11
- @import "icons";
12
- @import "screen-reader";
1
+ @forward "mixins";
2
+ @forward "core";
3
+ @forward "variables";
4
+ @forward "path";
5
+ @forward "larger";
6
+ @forward "fixed-width";
7
+ @forward "list";
8
+ @forward "bordered_pulled";
9
+ @forward "rotated-flipped";
10
+ @forward "stacked";
11
+ @forward "icons";
12
+ @forward "screen-reader";
data/assets/css/main.scss CHANGED
@@ -3,11 +3,10 @@
3
3
  ---
4
4
 
5
5
  @charset "utf-8";
6
- $font-family-base: Ubuntu, Helvetica, Arial, sans-serif;
6
+ @use "presets";
7
+ @use "bulma";
8
+ @use "syntax-highlighting" with ($spacing-unit: 30px);
9
+ @use "line-awesome/scss/line-awesome";
10
+ @use "overrides";
7
11
 
8
- $spacing-unit: 30px;
9
- @import "presets";
10
- @import "bulma";
11
- @import "syntax-highlighting";
12
- @import "line-awesome/scss/line-awesome";
13
- @import "overrides";
12
+ $font-family-base: Ubuntu, Helvetica, Arial, sans-serif;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-bulma
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Haslinger