@anyblades/blades 2.4.5 → 2.4.7

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.
package/README.md CHANGED
@@ -165,7 +165,7 @@ Live example using <i class="fa-brands fa-tailwind-css"></i> Tailwind: https://g
165
165
 
166
166
  ---
167
167
 
168
- ## <sup>Trusted by</sup>
168
+ ## <sup style>Trusted by</sup>
169
169
 
170
170
  - https://github.com/pallets/website 🐍
171
171
  - https://github.com/getgrav/grav-theme-quark2 🛸
@@ -176,17 +176,17 @@ Live example using <i class="fa-brands fa-tailwind-css"></i> Tailwind: https://g
176
176
 
177
177
  <!--section:info-->
178
178
 
179
- ## <sup>Featured by</sup>
179
+ ## <sup style>Featured by</sup>
180
180
 
181
181
  - [awesome-css _@uhub_](https://github.com/uhub/awesome-css)
182
182
  - [awesome-css-frameworks _@gabrielizalo_](https://github.com/gabrielizalo/awesome-css-frameworks-and-ui-libraries/tree/master/Lightweight)
183
- - [dummy<em>.</em>my/frameworks](https://dummy.my/frameworks/)
183
+ - [dummy.my/frameworks](https://dummy.my/frameworks/)
184
184
  - [@pauleveritt](https://fosstodon.org/@pauleveritt/116387278969347700)
185
185
  - [@githubsignals](https://www.youtube.com/shorts/FxtvnBCse8w) [↗](https://www.instagram.com/reel/DXOSTpajG4f/)
186
186
 
187
187
  <!--{.markerless .columns}-->
188
188
 
189
- ## <sup>Credits</sup>
189
+ ## <sup style>Credits</sup>
190
190
 
191
191
  - https://picocss.com/ for [inspiration](//blades.ninja/css/pico/)
192
192
  - https://11ty.dev/ for [site generation ↗](https://github.com/anyblades/blades.ninja)
@@ -5,7 +5,7 @@
5
5
  <meta charset="utf-8" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover" />
7
7
 
8
- <title>{{ title | striptags }}{% if title and site.title %}|{% endif %}{{ site.title }}</title>
8
+ <title>{{ title | striptags }}{{ ' | ' if title and site.title }}{{ site.title }}</title>
9
9
  <meta name="description" content="{{ description | striptags }}" />
10
10
 
11
11
  <link rel="icon" href="{{ site.favicon | d('/favicon.ico') }}" />
package/blades.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "blades"
5
- spec.version = "2.4.5"
5
+ spec.version = "2.4.7"
6
6
 
7
7
  spec.authors = ["Anton Staroverov"]
8
8
  spec.homepage = "https://blades.ninja/"
package/css/blades.css CHANGED
@@ -3315,7 +3315,7 @@ ul.unlist > li, ul.unlist-all > li, .unlist-all ul > li, ol.unlist > li, ol.unli
3315
3315
  \3c !--section:code-->
3316
3316
  ```css */
3317
3317
  /* Use inline flex only if link contains an icon */
3318
- a:has(> i) {
3318
+ a:has(> i):not(.does-not-exist) /* soft win specificity over Pico's `a[role="button"]` and inner `img:not([height])` */ {
3319
3319
  display: inline-flex;
3320
3320
  overflow-y: clip; /* to work in pair with text-underline-offset in Safari */
3321
3321
  gap: 0.375ch; /* =3/8 */
@@ -3327,7 +3327,7 @@ a > i {
3327
3327
  text-underline-offset: -2em; /* ❌ Chrome ✅ Safari - to clip it with overflow-y */
3328
3328
  }
3329
3329
  /* Favicons */
3330
- a > i > img:not(.does-not-exist) /* soft win specificity over img:not([height]) */ {
3330
+ a > i > img {
3331
3331
  display: inline-block; /* for Tailwind CSS Typography */
3332
3332
  max-width: none; /* to keep ratio safe */
3333
3333
  height: 1.25em;
@@ -349,7 +349,7 @@ ul.unlist > li, ul.unlist-all > li, .unlist-all ul > li, ol.unlist > li, ol.unli
349
349
 
350
350
  /* Use inline flex only if link contains an icon */
351
351
 
352
- a:has(> i) {
352
+ a:has(> i):not(.does-not-exist) /* soft win specificity over Pico's `a[role="button"]` and inner `img:not([height])` */ {
353
353
  display: inline-flex;
354
354
  overflow-y: clip; /* to work in pair with text-underline-offset in Safari */
355
355
  gap: 0.375ch; /* =3/8 */
@@ -364,7 +364,7 @@ a > i {
364
364
 
365
365
  /* Favicons */
366
366
 
367
- a > i > img:not(.does-not-exist) /* soft win specificity over img:not([height]) */ {
367
+ a > i > img {
368
368
  display: inline-block; /* for Tailwind CSS Typography */
369
369
  max-width: none; /* to keep ratio safe */
370
370
  height: 1.25em;
@@ -349,7 +349,7 @@ ul.unlist > li, ul.unlist-all > li, .unlist-all ul > li, ol.unlist > li, ol.unli
349
349
 
350
350
  /* Use inline flex only if link contains an icon */
351
351
 
352
- a:has(> i) {
352
+ a:has(> i):not(.does-not-exist) /* soft win specificity over Pico's `a[role="button"]` and inner `img:not([height])` */ {
353
353
  display: inline-flex;
354
354
  overflow-y: clip; /* to work in pair with text-underline-offset in Safari */
355
355
  gap: 0.375ch; /* =3/8 */
@@ -364,7 +364,7 @@ a > i {
364
364
 
365
365
  /* Favicons */
366
366
 
367
- a > i > img:not(.does-not-exist) /* soft win specificity over img:not([height]) */ {
367
+ a > i > img {
368
368
  display: inline-block; /* for Tailwind CSS Typography */
369
369
  max-width: none; /* to keep ratio safe */
370
370
  height: 1.25em;
package/css/link-icon.css CHANGED
@@ -2,7 +2,7 @@
2
2
  \3c !--section:code-->
3
3
  ```css */
4
4
  /* Use inline flex only if link contains an icon */
5
- a:has(> i) {
5
+ a:has(> i):not(.does-not-exist) /* soft win specificity over Pico's `a[role="button"]` and inner `img:not([height])` */ {
6
6
  display: inline-flex;
7
7
  overflow-y: clip; /* to work in pair with text-underline-offset in Safari */
8
8
  gap: 0.375ch; /* =3/8 */
@@ -14,7 +14,7 @@ a > i {
14
14
  text-underline-offset: -2em; /* ❌ Chrome ✅ Safari - to clip it with overflow-y */
15
15
  }
16
16
  /* Favicons */
17
- a > i > img:not(.does-not-exist) /* soft win specificity over img:not([height]) */ {
17
+ a > i > img {
18
18
  display: inline-block; /* for Tailwind CSS Typography */
19
19
  max-width: none; /* to keep ratio safe */
20
20
  height: 1.25em;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anyblades/blades",
3
- "version": "2.4.5",
3
+ "version": "2.4.7",
4
4
  "exports": {
5
5
  ".": "./src/blades.css",
6
6
  "./standalone": "./src/blades.standalone.css",
@@ -47,4 +47,4 @@
47
47
  "url": "git+https://github.com/anyblades/blades.git"
48
48
  },
49
49
  "===": "==="
50
- }
50
+ }
package/src/link-icon.css CHANGED
@@ -3,7 +3,7 @@
3
3
  ```css */
4
4
  a {
5
5
  /* Use inline flex only if link contains an icon */
6
- &:has(> i) {
6
+ &:has(> i):not(.does-not-exist) /* soft win specificity over Pico's `a[role="button"]` and inner `img:not([height])` */ {
7
7
  display: inline-flex;
8
8
  gap: 0.375ch; /* =3/8 */
9
9
  text-wrap: balance;
@@ -15,7 +15,7 @@ a {
15
15
  text-underline-offset: -2em; /* ❌ Chrome ✅ Safari - to clip it with overflow-y */
16
16
 
17
17
  /* Favicons */
18
- > img:not(.does-not-exist) /* soft win specificity over img:not([height]) */ {
18
+ > img {
19
19
  height: 1.25em;
20
20
  margin-block-start: calc(-0.25em / 2);
21
21
  max-width: none; /* to keep ratio safe */