jekyll-theme-editorial 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (234) hide show
  1. checksums.yaml +7 -0
  2. data/404.html +6 -0
  3. data/LICENSE.txt +63 -0
  4. data/README.md +1213 -0
  5. data/_config.yml +306 -0
  6. data/_data/categories.yml +38 -0
  7. data/_data/comments/posts/amet-varius-aliquam/20200511110657-jimbob-hexagonpants.yml +8 -0
  8. data/_data/comments/posts/amet-varius-aliquam/20200513010934-isabella-roundtoes.yml +15 -0
  9. data/_data/comments/posts/amet-varius-aliquam/20200514191919-hakira-tusunaba.yaml +8 -0
  10. data/_data/comments/posts/amet-varius-aliquam/20200515235959-jimbob-hexagonpants.yml +8 -0
  11. data/_data/features.yml +15 -0
  12. data/_data/menus.yml +42 -0
  13. data/_data/scripts.yml +13 -0
  14. data/_data/social.yml +140 -0
  15. data/_data/tags.yml +50 -0
  16. data/_data/taxonomy.yml +87 -0
  17. data/_includes/404.html +20 -0
  18. data/_includes/archives_menu.html +61 -0
  19. data/_includes/article.html +47 -0
  20. data/_includes/articles.html +42 -0
  21. data/_includes/author.html +73 -0
  22. data/_includes/authors.html +21 -0
  23. data/_includes/authors_byline.html +63 -0
  24. data/_includes/banner.html +10 -0
  25. data/_includes/categories.html +15 -0
  26. data/_includes/comment.html +43 -0
  27. data/_includes/comment_form.html +43 -0
  28. data/_includes/comments.html +20 -0
  29. data/_includes/contact.html +42 -0
  30. data/_includes/custom_head.html +6 -0
  31. data/_includes/date_modified.html +6 -0
  32. data/_includes/disqus_comments.html +19 -0
  33. data/_includes/feature.html +7 -0
  34. data/_includes/features.html +10 -0
  35. data/_includes/footer.html +4 -0
  36. data/_includes/head.html +20 -0
  37. data/_includes/item_authors.html +27 -0
  38. data/_includes/item_date.html +32 -0
  39. data/_includes/item_image.html +30 -0
  40. data/_includes/list_item.html +12 -0
  41. data/_includes/menu.html +110 -0
  42. data/_includes/mini-posts.html +32 -0
  43. data/_includes/modal.html +12 -0
  44. data/_includes/more_button.html +3 -0
  45. data/_includes/newsletter_signup.html +22 -0
  46. data/_includes/page_header.html +77 -0
  47. data/_includes/pages.html +79 -0
  48. data/_includes/pagination.html +22 -0
  49. data/_includes/post_header.html +52 -0
  50. data/_includes/post_nav.html +14 -0
  51. data/_includes/posts.html +62 -0
  52. data/_includes/projects.html +90 -0
  53. data/_includes/responsive_banner.html +20 -0
  54. data/_includes/scripts.html +22 -0
  55. data/_includes/search.html +11 -0
  56. data/_includes/section_header.html +3 -0
  57. data/_includes/series.html +32 -0
  58. data/_includes/sidebar.html +11 -0
  59. data/_includes/signin_button.html +4 -0
  60. data/_includes/site_header.html +9 -0
  61. data/_includes/social_media.html +14 -0
  62. data/_includes/social_media_list.html +14 -0
  63. data/_includes/submenu.html +25 -0
  64. data/_includes/tags.html +15 -0
  65. data/_layouts/archive.html +32 -0
  66. data/_layouts/author.html +19 -0
  67. data/_layouts/category.html +23 -0
  68. data/_layouts/default.html +29 -0
  69. data/_layouts/home.html +6 -0
  70. data/_layouts/page.html +16 -0
  71. data/_layouts/post.html +35 -0
  72. data/_layouts/project.html +24 -0
  73. data/_layouts/tag.html +23 -0
  74. data/_pages/about.md +37 -0
  75. data/_pages/archives.html +134 -0
  76. data/_pages/categories.html +94 -0
  77. data/_pages/elements.html +403 -0
  78. data/_pages/people.html +26 -0
  79. data/_pages/posts.html +11 -0
  80. data/_pages/privacy.md +52 -0
  81. data/_pages/projects.html +9 -0
  82. data/_pages/signin.md +31 -0
  83. data/_pages/tags.html +133 -0
  84. data/_pages/terms.md +44 -0
  85. data/_people/augustus.md +27 -0
  86. data/_people/aurelius.md +29 -0
  87. data/_people/julia.md +36 -0
  88. data/_people/petunia.md +26 -0
  89. data/_posts/2020-01-01-Interdum-aenean.md +47 -0
  90. data/_posts/2020-01-02-mulla-amet-dolore.md +38 -0
  91. data/_posts/2020-01-03-tempus-ullamcorper.md +122 -0
  92. data/_posts/2020-01-04-feugiat-lorem-aenean.md +35 -0
  93. data/_posts/2020-01-04-sed-etiam-facilis.md +72 -0
  94. data/_posts/2020-02-01-amet-varius-aliquam.md +27 -0
  95. data/_posts/2020-02-03-cranky-polar-bears-play-hooky-from-fishing-school.md +35 -0
  96. data/_posts/2020-02-07-high-septon-or-should-we-all-just-go-marching-along.md +43 -0
  97. data/_posts/2020-02-14-stupid-computers-and-the-games-they-play-with-our-emotions.md +30 -0
  98. data/_posts/2020-02-28-look-at-my-great-tatoos-everybody.md +31 -0
  99. data/_projects/feugiat_valley.md +32 -0
  100. data/_projects/ipsum_flats.md +42 -0
  101. data/_projects/lorem_heights.md +36 -0
  102. data/_projects/tempus_hills.md +37 -0
  103. data/_samples/page-template.md +48 -0
  104. data/_samples/people-template.md +51 -0
  105. data/_samples/post-template.md +38 -0
  106. data/_samples/project-template.md +47 -0
  107. data/_sass/base/_page.scss +42 -0
  108. data/_sass/base/_reset.scss +70 -0
  109. data/_sass/base/_typography.scss +186 -0
  110. data/_sass/components/_actions.scss +57 -0
  111. data/_sass/components/_box.scss +20 -0
  112. data/_sass/components/_button.scss +79 -0
  113. data/_sass/components/_contact.scss +41 -0
  114. data/_sass/components/_features.scss +150 -0
  115. data/_sass/components/_form.scss +173 -0
  116. data/_sass/components/_icon.scss +27 -0
  117. data/_sass/components/_icons.scss +24 -0
  118. data/_sass/components/_image.scss +68 -0
  119. data/_sass/components/_list.scss +50 -0
  120. data/_sass/components/_mini-posts.scss +25 -0
  121. data/_sass/components/_pagination.scss +64 -0
  122. data/_sass/components/_posts.scss +173 -0
  123. data/_sass/components/_row.scss +25 -0
  124. data/_sass/components/_section.scss +39 -0
  125. data/_sass/components/_table.scss +75 -0
  126. data/_sass/layout/_banner.scss +69 -0
  127. data/_sass/layout/_footer.scss +12 -0
  128. data/_sass/layout/_header.scss +54 -0
  129. data/_sass/layout/_main.scss +67 -0
  130. data/_sass/layout/_menu.scss +92 -0
  131. data/_sass/layout/_sidebar.scss +217 -0
  132. data/_sass/layout/_wrapper.scss +7 -0
  133. data/_sass/libs/_breakpoints.scss +223 -0
  134. data/_sass/libs/_functions.scss +90 -0
  135. data/_sass/libs/_html-grid.scss +149 -0
  136. data/_sass/libs/_mixins.scss +78 -0
  137. data/_sass/libs/_vars.scss +44 -0
  138. data/_sass/libs/_vendor.scss +376 -0
  139. data/_sass/main.scss +61 -0
  140. data/assets/css/fontawesome-all.min.css +7 -0
  141. data/assets/css/fonts.css +140 -0
  142. data/assets/css/github.css +61 -0
  143. data/assets/css/main.css +2276 -0
  144. data/assets/css/user.css +640 -0
  145. data/assets/images/logo.png +0 -0
  146. data/assets/images/pic01-thumb.jpg +0 -0
  147. data/assets/images/pic01.jpg +0 -0
  148. data/assets/images/pic02.jpg +0 -0
  149. data/assets/images/pic03-thumb.jpg +0 -0
  150. data/assets/images/pic03.jpg +0 -0
  151. data/assets/images/pic04.jpg +0 -0
  152. data/assets/images/pic05-avatar.jpg +0 -0
  153. data/assets/images/pic05-thumb.jpg +0 -0
  154. data/assets/images/pic05.jpg +0 -0
  155. data/assets/images/pic06.jpg +0 -0
  156. data/assets/images/pic07.jpg +0 -0
  157. data/assets/images/pic08.jpg +0 -0
  158. data/assets/images/pic09.jpg +0 -0
  159. data/assets/images/pic10.jpg +0 -0
  160. data/assets/images/pic11.jpg +0 -0
  161. data/assets/images/placeholder.png +0 -0
  162. data/assets/js/breakpoints.min.js +2 -0
  163. data/assets/js/browser.min.js +2 -0
  164. data/assets/js/comments.js +189 -0
  165. data/assets/js/email-obfuscation.js +54 -0
  166. data/assets/js/jquery.min.js +2 -0
  167. data/assets/js/main.js +263 -0
  168. data/assets/js/util.js +592 -0
  169. data/assets/webfonts/OpenSans-Bold.eot +0 -0
  170. data/assets/webfonts/OpenSans-Bold.svg +21062 -0
  171. data/assets/webfonts/OpenSans-Bold.ttf +0 -0
  172. data/assets/webfonts/OpenSans-Bold.woff +0 -0
  173. data/assets/webfonts/OpenSans-BoldItalic.eot +0 -0
  174. data/assets/webfonts/OpenSans-BoldItalic.svg +21121 -0
  175. data/assets/webfonts/OpenSans-BoldItalic.ttf +0 -0
  176. data/assets/webfonts/OpenSans-BoldItalic.woff +0 -0
  177. data/assets/webfonts/OpenSans-Italic.eot +0 -0
  178. data/assets/webfonts/OpenSans-Italic.svg +21164 -0
  179. data/assets/webfonts/OpenSans-Italic.ttf +0 -0
  180. data/assets/webfonts/OpenSans-Italic.woff +0 -0
  181. data/assets/webfonts/OpenSans-Light.eot +0 -0
  182. data/assets/webfonts/OpenSans-Light.svg +21034 -0
  183. data/assets/webfonts/OpenSans-Light.ttf +0 -0
  184. data/assets/webfonts/OpenSans-Light.woff +0 -0
  185. data/assets/webfonts/OpenSans-LightItalic.eot +0 -0
  186. data/assets/webfonts/OpenSans-LightItalic.svg +21161 -0
  187. data/assets/webfonts/OpenSans-LightItalic.ttf +0 -0
  188. data/assets/webfonts/OpenSans-LightItalic.woff +0 -0
  189. data/assets/webfonts/OpenSans-Regular.eot +0 -0
  190. data/assets/webfonts/OpenSans-Regular.svg +21064 -0
  191. data/assets/webfonts/OpenSans-Regular.ttf +0 -0
  192. data/assets/webfonts/OpenSans-Regular.woff +0 -0
  193. data/assets/webfonts/OpenSans-SemiBold.eot +0 -0
  194. data/assets/webfonts/OpenSans-SemiBold.svg +21055 -0
  195. data/assets/webfonts/OpenSans-SemiBold.ttf +0 -0
  196. data/assets/webfonts/OpenSans-SemiBold.woff +0 -0
  197. data/assets/webfonts/OpenSans-SemiBoldItalic.eot +0 -0
  198. data/assets/webfonts/OpenSans-SemiBoldItalic.svg +21154 -0
  199. data/assets/webfonts/OpenSans-SemiBoldItalic.ttf +0 -0
  200. data/assets/webfonts/OpenSans-SemiBoldItalic.woff +0 -0
  201. data/assets/webfonts/RobotoSlab-Bold.eot +0 -0
  202. data/assets/webfonts/RobotoSlab-Bold.svg +334 -0
  203. data/assets/webfonts/RobotoSlab-Bold.ttf +0 -0
  204. data/assets/webfonts/RobotoSlab-Bold.woff +0 -0
  205. data/assets/webfonts/RobotoSlab-Bold.woff2 +0 -0
  206. data/assets/webfonts/RobotoSlab-Regular +0 -0
  207. data/assets/webfonts/RobotoSlab-Regular.svg +337 -0
  208. data/assets/webfonts/RobotoSlab-Regular.ttf +0 -0
  209. data/assets/webfonts/RobotoSlab-Regular.woff +0 -0
  210. data/assets/webfonts/RobotoSlab-Regular.woff2 +0 -0
  211. data/assets/webfonts/fa-brands-400.eot +0 -0
  212. data/assets/webfonts/fa-brands-400.svg +3633 -0
  213. data/assets/webfonts/fa-brands-400.ttf +0 -0
  214. data/assets/webfonts/fa-brands-400.woff +0 -0
  215. data/assets/webfonts/fa-brands-400.woff2 +0 -0
  216. data/assets/webfonts/fa-regular-400.eot +0 -0
  217. data/assets/webfonts/fa-regular-400.svg +803 -0
  218. data/assets/webfonts/fa-regular-400.ttf +0 -0
  219. data/assets/webfonts/fa-regular-400.woff +0 -0
  220. data/assets/webfonts/fa-regular-400.woff2 +0 -0
  221. data/assets/webfonts/fa-solid-900.eot +0 -0
  222. data/assets/webfonts/fa-solid-900.svg +5000 -0
  223. data/assets/webfonts/fa-solid-900.ttf +0 -0
  224. data/assets/webfonts/fa-solid-900.woff +0 -0
  225. data/assets/webfonts/fa-solid-900.woff2 +0 -0
  226. data/favicon-apple-touch-114.png +0 -0
  227. data/favicon-apple-touch-144.png +0 -0
  228. data/favicon.icns +0 -0
  229. data/favicon.ico +0 -0
  230. data/favicon.png +0 -0
  231. data/index.md +28 -0
  232. data/robots.txt +8 -0
  233. data/staticman.yml +109 -0
  234. metadata +347 -0
@@ -0,0 +1,78 @@
1
+ /// Makes an element's :before pseudoelement a FontAwesome icon.
2
+ /// @param {string} $content Optional content value to use.
3
+ /// @param {string} $category Optional category to use.
4
+ /// @param {string} $where Optional pseudoelement to target (before or after).
5
+ @mixin icon($content: false, $category: regular, $where: before) {
6
+
7
+ text-decoration: none;
8
+
9
+ &:#{$where} {
10
+
11
+ @if $content {
12
+ content: $content;
13
+ }
14
+
15
+ -moz-osx-font-smoothing: grayscale;
16
+ -webkit-font-smoothing: antialiased;
17
+ display: inline-block;
18
+ font-style: normal;
19
+ font-variant: normal;
20
+ text-rendering: auto;
21
+ line-height: 1;
22
+ text-transform: none !important;
23
+
24
+ @if ($category == brands) {
25
+ font-family: 'Font Awesome 5 Brands';
26
+ }
27
+ @elseif ($category == solid) {
28
+ font-family: 'Font Awesome 5 Free';
29
+ font-weight: 900;
30
+ }
31
+ @else {
32
+ font-family: 'Font Awesome 5 Free';
33
+ font-weight: 400;
34
+ }
35
+
36
+ }
37
+
38
+ }
39
+
40
+ /// Applies padding to an element, taking the current element-margin value into account.
41
+ /// @param {mixed} $tb Top/bottom padding.
42
+ /// @param {mixed} $lr Left/right padding.
43
+ /// @param {list} $pad Optional extra padding (in the following order top, right, bottom, left)
44
+ /// @param {bool} $important If true, adds !important.
45
+ @mixin padding($tb, $lr, $pad: (0,0,0,0), $important: null) {
46
+
47
+ @if $important {
48
+ $important: '!important';
49
+ }
50
+
51
+ $x: 0.1em;
52
+
53
+ @if unit(_size(element-margin)) == 'rem' {
54
+ $x: 0.1rem;
55
+ }
56
+
57
+ padding: ($tb + nth($pad,1)) ($lr + nth($pad,2)) max($x, $tb - _size(element-margin) + nth($pad,3)) ($lr + nth($pad,4)) #{$important};
58
+
59
+ }
60
+
61
+ /// Encodes a SVG data URL so IE doesn't choke (via codepen.io/jakob-e/pen/YXXBrp).
62
+ /// @param {string} $svg SVG data URL.
63
+ /// @return {string} Encoded SVG data URL.
64
+ @function svg-url($svg) {
65
+
66
+ $svg: str-replace($svg, '"', '\'');
67
+ $svg: str-replace($svg, '%', '%25');
68
+ $svg: str-replace($svg, '<', '%3C');
69
+ $svg: str-replace($svg, '>', '%3E');
70
+ $svg: str-replace($svg, '&', '%26');
71
+ $svg: str-replace($svg, '#', '%23');
72
+ $svg: str-replace($svg, '{', '%7B');
73
+ $svg: str-replace($svg, '}', '%7D');
74
+ $svg: str-replace($svg, ';', '%3B');
75
+
76
+ @return url("data:image/svg+xml;charset=utf8,#{$svg}");
77
+
78
+ }
@@ -0,0 +1,44 @@
1
+ // Misc.
2
+ $misc: (
3
+ z-index-base: 10000
4
+ );
5
+
6
+ // Duration.
7
+ $duration: (
8
+ nav: 0.5s,
9
+ transition: 0.2s
10
+ );
11
+
12
+ // Size.
13
+ $size: (
14
+ border-radius: 0.375em,
15
+ element-height: 2.75em,
16
+ element-margin: 2em,
17
+ sidebar-width: 26em,
18
+ sidebar-width-alt: 24em,
19
+ gutter: 3em
20
+ );
21
+
22
+ // Font.
23
+ $font: (
24
+ family: ('Open Sans', sans-serif),
25
+ family-heading: ('Roboto Slab', serif),
26
+ family-fixed: ('Courier New', monospace),
27
+ weight: 400,
28
+ weight-bold: 600,
29
+ weight-heading: 700,
30
+ weight-heading-alt: 400,
31
+ kerning-heading: 0.075em
32
+ );
33
+
34
+ // Palette.
35
+ $palette: (
36
+ bg: #ffffff,
37
+ bg-alt: #f5f6f7,
38
+ fg: #7f888f,
39
+ fg-bold: #3d4449,
40
+ fg-light: #9fa3a6,
41
+ border: rgba(210,215,217,0.75),
42
+ border-bg: transparentize(#e6ebed, 0.75),
43
+ accent: #f56a6a
44
+ );
@@ -0,0 +1,376 @@
1
+ // vendor.scss v1.0 | @ajlkn | MIT licensed */
2
+
3
+ // Vars.
4
+
5
+ /// Vendor prefixes.
6
+ /// @var {list}
7
+ $vendor-prefixes: (
8
+ '-moz-',
9
+ '-webkit-',
10
+ '-ms-',
11
+ ''
12
+ );
13
+
14
+ /// Properties that should be vendorized.
15
+ /// Data via caniuse.com, github.com/postcss/autoprefixer, and developer.mozilla.org
16
+ /// @var {list}
17
+ $vendor-properties: (
18
+
19
+ // Animation.
20
+ 'animation',
21
+ 'animation-delay',
22
+ 'animation-direction',
23
+ 'animation-duration',
24
+ 'animation-fill-mode',
25
+ 'animation-iteration-count',
26
+ 'animation-name',
27
+ 'animation-play-state',
28
+ 'animation-timing-function',
29
+
30
+ // Appearance.
31
+ 'appearance',
32
+
33
+ // Backdrop filter.
34
+ 'backdrop-filter',
35
+
36
+ // Background image options.
37
+ 'background-clip',
38
+ 'background-origin',
39
+ 'background-size',
40
+
41
+ // Box sizing.
42
+ 'box-sizing',
43
+
44
+ // Clip path.
45
+ 'clip-path',
46
+
47
+ // Filter effects.
48
+ 'filter',
49
+
50
+ // Flexbox.
51
+ 'align-content',
52
+ 'align-items',
53
+ 'align-self',
54
+ 'flex',
55
+ 'flex-basis',
56
+ 'flex-direction',
57
+ 'flex-flow',
58
+ 'flex-grow',
59
+ 'flex-shrink',
60
+ 'flex-wrap',
61
+ 'justify-content',
62
+ 'order',
63
+
64
+ // Font feature.
65
+ 'font-feature-settings',
66
+ 'font-language-override',
67
+ 'font-variant-ligatures',
68
+
69
+ // Font kerning.
70
+ 'font-kerning',
71
+
72
+ // Fragmented borders and backgrounds.
73
+ 'box-decoration-break',
74
+
75
+ // Grid layout.
76
+ 'grid-column',
77
+ 'grid-column-align',
78
+ 'grid-column-end',
79
+ 'grid-column-start',
80
+ 'grid-row',
81
+ 'grid-row-align',
82
+ 'grid-row-end',
83
+ 'grid-row-start',
84
+ 'grid-template-columns',
85
+ 'grid-template-rows',
86
+
87
+ // Hyphens.
88
+ 'hyphens',
89
+ 'word-break',
90
+
91
+ // Masks.
92
+ 'mask',
93
+ 'mask-border',
94
+ 'mask-border-outset',
95
+ 'mask-border-repeat',
96
+ 'mask-border-slice',
97
+ 'mask-border-source',
98
+ 'mask-border-width',
99
+ 'mask-clip',
100
+ 'mask-composite',
101
+ 'mask-image',
102
+ 'mask-origin',
103
+ 'mask-position',
104
+ 'mask-repeat',
105
+ 'mask-size',
106
+
107
+ // Multicolumn.
108
+ 'break-after',
109
+ 'break-before',
110
+ 'break-inside',
111
+ 'column-count',
112
+ 'column-fill',
113
+ 'column-gap',
114
+ 'column-rule',
115
+ 'column-rule-color',
116
+ 'column-rule-style',
117
+ 'column-rule-width',
118
+ 'column-span',
119
+ 'column-width',
120
+ 'columns',
121
+
122
+ // Object fit.
123
+ 'object-fit',
124
+ 'object-position',
125
+
126
+ // Regions.
127
+ 'flow-from',
128
+ 'flow-into',
129
+ 'region-fragment',
130
+
131
+ // Scroll snap points.
132
+ 'scroll-snap-coordinate',
133
+ 'scroll-snap-destination',
134
+ 'scroll-snap-points-x',
135
+ 'scroll-snap-points-y',
136
+ 'scroll-snap-type',
137
+
138
+ // Shapes.
139
+ 'shape-image-threshold',
140
+ 'shape-margin',
141
+ 'shape-outside',
142
+
143
+ // Tab size.
144
+ 'tab-size',
145
+
146
+ // Text align last.
147
+ 'text-align-last',
148
+
149
+ // Text decoration.
150
+ 'text-decoration-color',
151
+ 'text-decoration-line',
152
+ 'text-decoration-skip',
153
+ 'text-decoration-style',
154
+
155
+ // Text emphasis.
156
+ 'text-emphasis',
157
+ 'text-emphasis-color',
158
+ 'text-emphasis-position',
159
+ 'text-emphasis-style',
160
+
161
+ // Text size adjust.
162
+ 'text-size-adjust',
163
+
164
+ // Text spacing.
165
+ 'text-spacing',
166
+
167
+ // Transform.
168
+ 'transform',
169
+ 'transform-origin',
170
+
171
+ // Transform 3D.
172
+ 'backface-visibility',
173
+ 'perspective',
174
+ 'perspective-origin',
175
+ 'transform-style',
176
+
177
+ // Transition.
178
+ 'transition',
179
+ 'transition-delay',
180
+ 'transition-duration',
181
+ 'transition-property',
182
+ 'transition-timing-function',
183
+
184
+ // Unicode bidi.
185
+ 'unicode-bidi',
186
+
187
+ // User select.
188
+ 'user-select',
189
+
190
+ // Writing mode.
191
+ 'writing-mode',
192
+
193
+ );
194
+
195
+ /// Values that should be vendorized.
196
+ /// Data via caniuse.com, github.com/postcss/autoprefixer, and developer.mozilla.org
197
+ /// @var {list}
198
+ $vendor-values: (
199
+
200
+ // Cross fade.
201
+ 'cross-fade',
202
+
203
+ // Element function.
204
+ 'element',
205
+
206
+ // Filter function.
207
+ 'filter',
208
+
209
+ // Flexbox.
210
+ 'flex',
211
+ 'inline-flex',
212
+
213
+ // Grab cursors.
214
+ 'grab',
215
+ 'grabbing',
216
+
217
+ // Gradients.
218
+ 'linear-gradient',
219
+ 'repeating-linear-gradient',
220
+ 'radial-gradient',
221
+ 'repeating-radial-gradient',
222
+
223
+ // Grid layout.
224
+ 'grid',
225
+ 'inline-grid',
226
+
227
+ // Image set.
228
+ 'image-set',
229
+
230
+ // Intrinsic width.
231
+ 'max-content',
232
+ 'min-content',
233
+ 'fit-content',
234
+ 'fill',
235
+ 'fill-available',
236
+ 'stretch',
237
+
238
+ // Sticky position.
239
+ 'sticky',
240
+
241
+ // Transform.
242
+ 'transform',
243
+
244
+ // Zoom cursors.
245
+ 'zoom-in',
246
+ 'zoom-out',
247
+
248
+ );
249
+
250
+ // Functions.
251
+
252
+ /// Removes a specific item from a list.
253
+ /// @author Hugo Giraudel
254
+ /// @param {list} $list List.
255
+ /// @param {integer} $index Index.
256
+ /// @return {list} Updated list.
257
+ @function remove-nth($list, $index) {
258
+
259
+ $result: null;
260
+
261
+ @if type-of($index) != number {
262
+ @warn "$index: #{quote($index)} is not a number for `remove-nth`.";
263
+ }
264
+ @else if $index == 0 {
265
+ @warn "List index 0 must be a non-zero integer for `remove-nth`.";
266
+ }
267
+ @else if abs($index) > length($list) {
268
+ @warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`.";
269
+ }
270
+ @else {
271
+
272
+ $result: ();
273
+ $index: if($index < 0, length($list) + $index + 1, $index);
274
+
275
+ @for $i from 1 through length($list) {
276
+
277
+ @if $i != $index {
278
+ $result: append($result, nth($list, $i));
279
+ }
280
+
281
+ }
282
+
283
+ }
284
+
285
+ @return $result;
286
+
287
+ }
288
+
289
+ /// Replaces a substring within another string.
290
+ /// @author Hugo Giraudel
291
+ /// @param {string} $string String.
292
+ /// @param {string} $search Substring.
293
+ /// @param {string} $replace Replacement.
294
+ /// @return {string} Updated string.
295
+ @function str-replace($string, $search, $replace: '') {
296
+
297
+ $index: str-index($string, $search);
298
+
299
+ @if $index {
300
+ @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
301
+ }
302
+
303
+ @return $string;
304
+
305
+ }
306
+
307
+ /// Replaces a substring within each string in a list.
308
+ /// @param {list} $strings List of strings.
309
+ /// @param {string} $search Substring.
310
+ /// @param {string} $replace Replacement.
311
+ /// @return {list} Updated list of strings.
312
+ @function str-replace-all($strings, $search, $replace: '') {
313
+
314
+ @each $string in $strings {
315
+ $strings: set-nth($strings, index($strings, $string), str-replace($string, $search, $replace));
316
+ }
317
+
318
+ @return $strings;
319
+
320
+ }
321
+
322
+ // Mixins.
323
+
324
+ /// Wraps @content in vendorized keyframe blocks.
325
+ /// @param {string} $name Name.
326
+ @mixin keyframes($name) {
327
+
328
+ @-moz-keyframes #{$name} { @content; }
329
+ @-webkit-keyframes #{$name} { @content; }
330
+ @-ms-keyframes #{$name} { @content; }
331
+ @keyframes #{$name} { @content; }
332
+
333
+ }
334
+
335
+ /// Vendorizes a declaration's property and/or value(s).
336
+ /// @param {string} $property Property.
337
+ /// @param {mixed} $value String/list of value(s).
338
+ @mixin vendor($property, $value) {
339
+
340
+ // Determine if property should expand.
341
+ $expandProperty: index($vendor-properties, $property);
342
+
343
+ // Determine if value should expand (and if so, add '-prefix-' placeholder).
344
+ $expandValue: false;
345
+
346
+ @each $x in $value {
347
+ @each $y in $vendor-values {
348
+ @if $y == str-slice($x, 1, str-length($y)) {
349
+
350
+ $value: set-nth($value, index($value, $x), '-prefix-' + $x);
351
+ $expandValue: true;
352
+
353
+ }
354
+ }
355
+ }
356
+
357
+ // Expand property?
358
+ @if $expandProperty {
359
+ @each $vendor in $vendor-prefixes {
360
+ #{$vendor}#{$property}: #{str-replace-all($value, '-prefix-', $vendor)};
361
+ }
362
+ }
363
+
364
+ // Expand just the value?
365
+ @elseif $expandValue {
366
+ @each $vendor in $vendor-prefixes {
367
+ #{$property}: #{str-replace-all($value, '-prefix-', $vendor)};
368
+ }
369
+ }
370
+
371
+ // Neither? Treat them as a normal declaration.
372
+ @else {
373
+ #{$property}: #{$value};
374
+ }
375
+
376
+ }