@frontfactory/vitepress-theme 1.3.1 → 1.3.2

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/dist/style.css CHANGED
@@ -1022,7 +1022,7 @@
1022
1022
  --ff-hero-offset: calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px));
1023
1023
  position: relative;
1024
1024
  margin-top: calc(var(--ff-hero-offset) * -1);
1025
- padding: var(--ff-hero-offset) 1.5rem 3.5rem;
1025
+ padding: calc(var(--ff-hero-offset) + 1.5rem) 1.5rem 3.5rem;
1026
1026
  border-bottom: var(--ff-rule-width) solid var(--ff-color-rule);
1027
1027
  overflow: hidden;
1028
1028
  }
@@ -1283,23 +1283,23 @@
1283
1283
  }
1284
1284
  @media (min-width: 640px) {
1285
1285
  .ff-theme .ff-hero {
1286
- padding: var(--ff-hero-offset) 3rem 4rem;
1286
+ padding: calc(var(--ff-hero-offset) + 2rem) 3rem 4rem;
1287
1287
  }
1288
1288
  }
1289
1289
  @media (min-width: 960px) {
1290
1290
  .ff-theme .ff-hero {
1291
- padding: var(--ff-hero-offset) 4rem 4.5rem;
1291
+ padding: calc(var(--ff-hero-offset) + 2.25rem) 4rem 4.5rem;
1292
1292
  }
1293
1293
  .ff-theme .ff-hero-container {
1294
1294
  gap: 4.5rem;
1295
1295
  }
1296
1296
  .ff-theme .ff-hero.has-panel .ff-hero-container {
1297
1297
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
1298
- align-items: center;
1298
+ align-items: start;
1299
1299
  }
1300
1300
  .ff-theme .ff-hero.has-image .ff-hero-container {
1301
1301
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
1302
- align-items: center;
1302
+ align-items: start;
1303
1303
  }
1304
1304
  }
1305
1305
  .ff-theme .ff-btn {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontfactory/vitepress-theme",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Editorial VitePress theme — hairline rules, numbered sections and monospaced metadata.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -25,7 +25,7 @@
25
25
 
26
26
  position: relative;
27
27
  margin-top: calc(var(--ff-hero-offset) * -1);
28
- padding: var(--ff-hero-offset) 1.5rem 3.5rem;
28
+ padding: calc(var(--ff-hero-offset) + 1.5rem) 1.5rem 3.5rem;
29
29
  border-bottom: #{mg.ref("rule-width")} solid #{mg.ref("color-rule")};
30
30
  overflow: hidden;
31
31
  }
@@ -390,13 +390,13 @@
390
390
 
391
391
  @media (min-width: 640px) {
392
392
  .ff-hero {
393
- padding: var(--ff-hero-offset) 3rem 4rem;
393
+ padding: calc(var(--ff-hero-offset) + 2rem) 3rem 4rem;
394
394
  }
395
395
  }
396
396
 
397
397
  @media (min-width: 960px) {
398
398
  .ff-hero {
399
- padding: var(--ff-hero-offset) 4rem 4.5rem;
399
+ padding: calc(var(--ff-hero-offset) + 2.25rem) 4rem 4.5rem;
400
400
  }
401
401
 
402
402
  .ff-hero-container {
@@ -409,12 +409,12 @@
409
409
 
410
410
  .ff-hero.has-panel .ff-hero-container {
411
411
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
412
- align-items: center;
412
+ align-items: start;
413
413
  }
414
414
 
415
415
  .ff-hero.has-image .ff-hero-container {
416
416
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
417
- align-items: center;
417
+ align-items: start;
418
418
  }
419
419
  }
420
420