daiblogs 0.1.0
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 +7 -0
- data/README.md +3 -0
- data/_includes/footer-nav.html +40 -0
- data/_includes/footer.html +47 -0
- data/_includes/head.html +29 -0
- data/_includes/header.html +56 -0
- data/_includes/iehacks.html +18 -0
- data/_includes/svg-defs.html +194 -0
- data/_includes/webfonts.html +9 -0
- data/_layouts/blog.html +0 -0
- data/_layouts/default.html +14 -0
- data/_layouts/home.html +0 -0
- data/_layouts/page.html +0 -0
- data/_layouts/post.html +0 -0
- data/assets/_sass/_blog.scss +1 -0
- data/assets/_sass/_grid.scss +48 -0
- data/assets/_sass/_layout.scss +2 -0
- data/assets/_sass/_legacy.scss +2919 -0
- data/assets/_sass/_mixins.scss +75 -0
- data/assets/_sass/_typesetting.scss +0 -0
- data/assets/_sass/_variables.scss +70 -0
- data/assets/_sass/bourbon/_bourbon-deprecated-upcoming.scss +13 -0
- data/assets/_sass/bourbon/_bourbon.scss +59 -0
- data/assets/_sass/bourbon/addons/_button.scss +273 -0
- data/assets/_sass/bourbon/addons/_clearfix.scss +29 -0
- data/assets/_sass/bourbon/addons/_font-family.scss +5 -0
- data/assets/_sass/bourbon/addons/_hide-text.scss +5 -0
- data/assets/_sass/bourbon/addons/_html5-input-types.scss +56 -0
- data/assets/_sass/bourbon/addons/_position.scss +42 -0
- data/assets/_sass/bourbon/addons/_prefixer.scss +49 -0
- data/assets/_sass/bourbon/addons/_retina-image.scss +32 -0
- data/assets/_sass/bourbon/addons/_size.scss +44 -0
- data/assets/_sass/bourbon/addons/_timing-functions.scss +32 -0
- data/assets/_sass/bourbon/addons/_triangle.scss +45 -0
- data/assets/_sass/bourbon/css3/_animation.scss +52 -0
- data/assets/_sass/bourbon/css3/_appearance.scss +3 -0
- data/assets/_sass/bourbon/css3/_backface-visibility.scss +6 -0
- data/assets/_sass/bourbon/css3/_background-image.scss +48 -0
- data/assets/_sass/bourbon/css3/_background.scss +103 -0
- data/assets/_sass/bourbon/css3/_border-image.scss +55 -0
- data/assets/_sass/bourbon/css3/_border-radius.scss +22 -0
- data/assets/_sass/bourbon/css3/_box-sizing.scss +4 -0
- data/assets/_sass/bourbon/css3/_columns.scss +47 -0
- data/assets/_sass/bourbon/css3/_flex-box.scss +52 -0
- data/assets/_sass/bourbon/css3/_font-face.scss +23 -0
- data/assets/_sass/bourbon/css3/_hidpi-media-query.scss +10 -0
- data/assets/_sass/bourbon/css3/_image-rendering.scss +13 -0
- data/assets/_sass/bourbon/css3/_inline-block.scss +8 -0
- data/assets/_sass/bourbon/css3/_keyframes.scss +43 -0
- data/assets/_sass/bourbon/css3/_linear-gradient.scss +41 -0
- data/assets/_sass/bourbon/css3/_perspective.scss +8 -0
- data/assets/_sass/bourbon/css3/_placeholder.scss +29 -0
- data/assets/_sass/bourbon/css3/_radial-gradient.scss +44 -0
- data/assets/_sass/bourbon/css3/_transform.scss +15 -0
- data/assets/_sass/bourbon/css3/_transition.scss +34 -0
- data/assets/_sass/bourbon/css3/_user-select.scss +3 -0
- data/assets/_sass/bourbon/functions/_compact.scss +11 -0
- data/assets/_sass/bourbon/functions/_flex-grid.scss +39 -0
- data/assets/_sass/bourbon/functions/_grid-width.scss +13 -0
- data/assets/_sass/bourbon/functions/_linear-gradient.scss +13 -0
- data/assets/_sass/bourbon/functions/_modular-scale.scss +40 -0
- data/assets/_sass/bourbon/functions/_px-to-em.scss +8 -0
- data/assets/_sass/bourbon/functions/_radial-gradient.scss +23 -0
- data/assets/_sass/bourbon/functions/_tint-shade.scss +9 -0
- data/assets/_sass/bourbon/functions/_transition-property-name.scss +22 -0
- data/assets/_sass/bourbon/helpers/_deprecated-webkit-gradient.scss +39 -0
- data/assets/_sass/bourbon/helpers/_gradient-positions-parser.scss +13 -0
- data/assets/_sass/bourbon/helpers/_linear-positions-parser.scss +61 -0
- data/assets/_sass/bourbon/helpers/_radial-arg-parser.scss +69 -0
- data/assets/_sass/bourbon/helpers/_radial-positions-parser.scss +18 -0
- data/assets/_sass/bourbon/helpers/_render-gradients.scss +26 -0
- data/assets/_sass/bourbon/helpers/_shape-size-stripper.scss +10 -0
- data/assets/css/site.scss +10 -0
- data/assets/js/site.js +3 -0
- metadata +158 -0
@@ -0,0 +1,69 @@
|
|
1
|
+
@function _radial-arg-parser($G1, $G2, $pos, $shape-size) {
|
2
|
+
@each $value in $G1, $G2 {
|
3
|
+
$first-val: nth($value, 1);
|
4
|
+
$pos-type: type-of($first-val);
|
5
|
+
$spec-at-index: null;
|
6
|
+
|
7
|
+
// Determine if spec was passed to mixin
|
8
|
+
@if type-of($value) == list {
|
9
|
+
$spec-at-index: if(index($value, at), index($value, at), false);
|
10
|
+
}
|
11
|
+
@if $spec-at-index {
|
12
|
+
@if $spec-at-index > 1 {
|
13
|
+
@for $i from 1 through ($spec-at-index - 1) {
|
14
|
+
$shape-size: $shape-size nth($value, $i);
|
15
|
+
}
|
16
|
+
@for $i from ($spec-at-index + 1) through length($value) {
|
17
|
+
$pos: $pos nth($value, $i);
|
18
|
+
}
|
19
|
+
}
|
20
|
+
@else if $spec-at-index == 1 {
|
21
|
+
@for $i from ($spec-at-index + 1) through length($value) {
|
22
|
+
$pos: $pos nth($value, $i);
|
23
|
+
}
|
24
|
+
}
|
25
|
+
$G1: false;
|
26
|
+
}
|
27
|
+
|
28
|
+
// If not spec calculate correct values
|
29
|
+
@else {
|
30
|
+
@if ($pos-type != color) or ($first-val != "transparent") {
|
31
|
+
@if ($pos-type == number)
|
32
|
+
or ($first-val == "center")
|
33
|
+
or ($first-val == "top")
|
34
|
+
or ($first-val == "right")
|
35
|
+
or ($first-val == "bottom")
|
36
|
+
or ($first-val == "left") {
|
37
|
+
|
38
|
+
$pos: $value;
|
39
|
+
|
40
|
+
@if $pos == $G1 {
|
41
|
+
$G1: false;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
@else if
|
46
|
+
($first-val == "ellipse")
|
47
|
+
or ($first-val == "circle")
|
48
|
+
or ($first-val == "closest-side")
|
49
|
+
or ($first-val == "closest-corner")
|
50
|
+
or ($first-val == "farthest-side")
|
51
|
+
or ($first-val == "farthest-corner")
|
52
|
+
or ($first-val == "contain")
|
53
|
+
or ($first-val == "cover") {
|
54
|
+
|
55
|
+
$shape-size: $value;
|
56
|
+
|
57
|
+
@if $value == $G1 {
|
58
|
+
$G1: false;
|
59
|
+
}
|
60
|
+
|
61
|
+
@else if $value == $G2 {
|
62
|
+
$G2: false;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
@return $G1, $G2, $pos, $shape-size;
|
69
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
@function _radial-positions-parser($gradient-pos) {
|
2
|
+
$shape-size: nth($gradient-pos, 1);
|
3
|
+
$pos: nth($gradient-pos, 2);
|
4
|
+
$shape-size-spec: _shape-size-stripper($shape-size);
|
5
|
+
|
6
|
+
$pre-spec: unquote(if($pos, "#{$pos}, ", null))
|
7
|
+
unquote(if($shape-size, "#{$shape-size},", null));
|
8
|
+
$pos-spec: if($pos, "at #{$pos}", null);
|
9
|
+
|
10
|
+
$spec: "#{$shape-size-spec} #{$pos-spec}";
|
11
|
+
|
12
|
+
// Add comma
|
13
|
+
@if ($spec != ' ') {
|
14
|
+
$spec: "#{$spec},"
|
15
|
+
}
|
16
|
+
|
17
|
+
@return $pre-spec $spec;
|
18
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
// User for linear and radial gradients within background-image or border-image properties
|
2
|
+
|
3
|
+
@function _render-gradients($gradient-positions, $gradients, $gradient-type, $vendor: false) {
|
4
|
+
$pre-spec: null;
|
5
|
+
$spec: null;
|
6
|
+
$vendor-gradients: null;
|
7
|
+
@if $gradient-type == linear {
|
8
|
+
@if $gradient-positions {
|
9
|
+
$pre-spec: nth($gradient-positions, 1);
|
10
|
+
$spec: nth($gradient-positions, 2);
|
11
|
+
}
|
12
|
+
}
|
13
|
+
@else if $gradient-type == radial {
|
14
|
+
$pre-spec: nth($gradient-positions, 1);
|
15
|
+
$spec: nth($gradient-positions, 2);
|
16
|
+
}
|
17
|
+
|
18
|
+
@if $vendor {
|
19
|
+
$vendor-gradients: -#{$vendor}-#{$gradient-type}-gradient(#{$pre-spec} $gradients);
|
20
|
+
}
|
21
|
+
@else if $vendor == false {
|
22
|
+
$vendor-gradients: "#{$gradient-type}-gradient(#{$spec} #{$gradients})";
|
23
|
+
$vendor-gradients: unquote($vendor-gradients);
|
24
|
+
}
|
25
|
+
@return $vendor-gradients;
|
26
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
@function _shape-size-stripper($shape-size) {
|
2
|
+
$shape-size-spec: null;
|
3
|
+
@each $value in $shape-size {
|
4
|
+
@if ($value == "cover") or ($value == "contain") {
|
5
|
+
$value: null;
|
6
|
+
}
|
7
|
+
$shape-size-spec: "#{$shape-size-spec} #{$value}";
|
8
|
+
}
|
9
|
+
@return $shape-size-spec;
|
10
|
+
}
|
data/assets/js/site.js
ADDED
metadata
ADDED
@@ -0,0 +1,158 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: daiblogs
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Bryan Schuetz
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-05-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.8'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.8'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.16'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.16'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '12.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '12.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- bschuetz@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- README.md
|
63
|
+
- _includes/footer-nav.html
|
64
|
+
- _includes/footer.html
|
65
|
+
- _includes/head.html
|
66
|
+
- _includes/header.html
|
67
|
+
- _includes/iehacks.html
|
68
|
+
- _includes/svg-defs.html
|
69
|
+
- _includes/webfonts.html
|
70
|
+
- _layouts/blog.html
|
71
|
+
- _layouts/default.html
|
72
|
+
- _layouts/home.html
|
73
|
+
- _layouts/page.html
|
74
|
+
- _layouts/post.html
|
75
|
+
- assets/_sass/_blog.scss
|
76
|
+
- assets/_sass/_grid.scss
|
77
|
+
- assets/_sass/_layout.scss
|
78
|
+
- assets/_sass/_legacy.scss
|
79
|
+
- assets/_sass/_mixins.scss
|
80
|
+
- assets/_sass/_typesetting.scss
|
81
|
+
- assets/_sass/_variables.scss
|
82
|
+
- assets/_sass/bourbon/_bourbon-deprecated-upcoming.scss
|
83
|
+
- assets/_sass/bourbon/_bourbon.scss
|
84
|
+
- assets/_sass/bourbon/addons/_button.scss
|
85
|
+
- assets/_sass/bourbon/addons/_clearfix.scss
|
86
|
+
- assets/_sass/bourbon/addons/_font-family.scss
|
87
|
+
- assets/_sass/bourbon/addons/_hide-text.scss
|
88
|
+
- assets/_sass/bourbon/addons/_html5-input-types.scss
|
89
|
+
- assets/_sass/bourbon/addons/_position.scss
|
90
|
+
- assets/_sass/bourbon/addons/_prefixer.scss
|
91
|
+
- assets/_sass/bourbon/addons/_retina-image.scss
|
92
|
+
- assets/_sass/bourbon/addons/_size.scss
|
93
|
+
- assets/_sass/bourbon/addons/_timing-functions.scss
|
94
|
+
- assets/_sass/bourbon/addons/_triangle.scss
|
95
|
+
- assets/_sass/bourbon/css3/_animation.scss
|
96
|
+
- assets/_sass/bourbon/css3/_appearance.scss
|
97
|
+
- assets/_sass/bourbon/css3/_backface-visibility.scss
|
98
|
+
- assets/_sass/bourbon/css3/_background-image.scss
|
99
|
+
- assets/_sass/bourbon/css3/_background.scss
|
100
|
+
- assets/_sass/bourbon/css3/_border-image.scss
|
101
|
+
- assets/_sass/bourbon/css3/_border-radius.scss
|
102
|
+
- assets/_sass/bourbon/css3/_box-sizing.scss
|
103
|
+
- assets/_sass/bourbon/css3/_columns.scss
|
104
|
+
- assets/_sass/bourbon/css3/_flex-box.scss
|
105
|
+
- assets/_sass/bourbon/css3/_font-face.scss
|
106
|
+
- assets/_sass/bourbon/css3/_hidpi-media-query.scss
|
107
|
+
- assets/_sass/bourbon/css3/_image-rendering.scss
|
108
|
+
- assets/_sass/bourbon/css3/_inline-block.scss
|
109
|
+
- assets/_sass/bourbon/css3/_keyframes.scss
|
110
|
+
- assets/_sass/bourbon/css3/_linear-gradient.scss
|
111
|
+
- assets/_sass/bourbon/css3/_perspective.scss
|
112
|
+
- assets/_sass/bourbon/css3/_placeholder.scss
|
113
|
+
- assets/_sass/bourbon/css3/_radial-gradient.scss
|
114
|
+
- assets/_sass/bourbon/css3/_transform.scss
|
115
|
+
- assets/_sass/bourbon/css3/_transition.scss
|
116
|
+
- assets/_sass/bourbon/css3/_user-select.scss
|
117
|
+
- assets/_sass/bourbon/functions/_compact.scss
|
118
|
+
- assets/_sass/bourbon/functions/_flex-grid.scss
|
119
|
+
- assets/_sass/bourbon/functions/_grid-width.scss
|
120
|
+
- assets/_sass/bourbon/functions/_linear-gradient.scss
|
121
|
+
- assets/_sass/bourbon/functions/_modular-scale.scss
|
122
|
+
- assets/_sass/bourbon/functions/_px-to-em.scss
|
123
|
+
- assets/_sass/bourbon/functions/_radial-gradient.scss
|
124
|
+
- assets/_sass/bourbon/functions/_tint-shade.scss
|
125
|
+
- assets/_sass/bourbon/functions/_transition-property-name.scss
|
126
|
+
- assets/_sass/bourbon/helpers/_deprecated-webkit-gradient.scss
|
127
|
+
- assets/_sass/bourbon/helpers/_gradient-positions-parser.scss
|
128
|
+
- assets/_sass/bourbon/helpers/_linear-positions-parser.scss
|
129
|
+
- assets/_sass/bourbon/helpers/_radial-arg-parser.scss
|
130
|
+
- assets/_sass/bourbon/helpers/_radial-positions-parser.scss
|
131
|
+
- assets/_sass/bourbon/helpers/_render-gradients.scss
|
132
|
+
- assets/_sass/bourbon/helpers/_shape-size-stripper.scss
|
133
|
+
- assets/css/site.scss
|
134
|
+
- assets/js/site.js
|
135
|
+
homepage: https://www.dai.com
|
136
|
+
licenses:
|
137
|
+
- MIT
|
138
|
+
metadata: {}
|
139
|
+
post_install_message:
|
140
|
+
rdoc_options: []
|
141
|
+
require_paths:
|
142
|
+
- lib
|
143
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
requirements: []
|
154
|
+
rubygems_version: 3.0.1
|
155
|
+
signing_key:
|
156
|
+
specification_version: 4
|
157
|
+
summary: A master theme to be used for all of DAI blogs
|
158
|
+
test_files: []
|