@frontfactory/vitepress-theme 1.3.0 → 1.3.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.
- package/dist/style.css +6 -5
- package/package.json +1 -1
- package/src/styles/_home.scss +12 -5
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:
|
|
1025
|
+
padding: var(--ff-hero-offset) 1.5rem 3.5rem;
|
|
1026
1026
|
border-bottom: var(--ff-rule-width) solid var(--ff-color-rule);
|
|
1027
1027
|
overflow: hidden;
|
|
1028
1028
|
}
|
|
@@ -1283,12 +1283,12 @@
|
|
|
1283
1283
|
}
|
|
1284
1284
|
@media (min-width: 640px) {
|
|
1285
1285
|
.ff-theme .ff-hero {
|
|
1286
|
-
padding:
|
|
1286
|
+
padding: var(--ff-hero-offset) 3rem 4rem;
|
|
1287
1287
|
}
|
|
1288
1288
|
}
|
|
1289
1289
|
@media (min-width: 960px) {
|
|
1290
1290
|
.ff-theme .ff-hero {
|
|
1291
|
-
padding:
|
|
1291
|
+
padding: var(--ff-hero-offset) 4rem 4.5rem;
|
|
1292
1292
|
}
|
|
1293
1293
|
.ff-theme .ff-hero-container {
|
|
1294
1294
|
gap: 4.5rem;
|
|
@@ -1338,9 +1338,9 @@
|
|
|
1338
1338
|
.ff-theme .VPFeatures .items {
|
|
1339
1339
|
display: grid;
|
|
1340
1340
|
grid-template-columns: minmax(0, 1fr);
|
|
1341
|
-
gap:
|
|
1341
|
+
gap: 0;
|
|
1342
1342
|
margin: 0;
|
|
1343
|
-
|
|
1343
|
+
overflow: hidden;
|
|
1344
1344
|
counter-reset: ff-feature;
|
|
1345
1345
|
}
|
|
1346
1346
|
.ff-theme .VPFeatures .items > .item,
|
|
@@ -1356,6 +1356,7 @@
|
|
|
1356
1356
|
height: 100%;
|
|
1357
1357
|
padding: 2.25rem 2rem 2.5rem;
|
|
1358
1358
|
background: var(--ff-color-paper);
|
|
1359
|
+
box-shadow: calc(-1 * var(--ff-rule-width)) 0 0 0 var(--ff-color-rule), 0 calc(-1 * var(--ff-rule-width)) 0 0 var(--ff-color-rule);
|
|
1359
1360
|
isolation: isolate;
|
|
1360
1361
|
}
|
|
1361
1362
|
.ff-theme .ff-feature-index::before {
|
package/package.json
CHANGED
package/src/styles/_home.scss
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
position: relative;
|
|
27
27
|
margin-top: calc(var(--ff-hero-offset) * -1);
|
|
28
|
-
padding:
|
|
28
|
+
padding: var(--ff-hero-offset) 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:
|
|
393
|
+
padding: var(--ff-hero-offset) 3rem 4rem;
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
@media (min-width: 960px) {
|
|
398
398
|
.ff-hero {
|
|
399
|
-
padding:
|
|
399
|
+
padding: var(--ff-hero-offset) 4rem 4.5rem;
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
.ff-hero-container {
|
|
@@ -469,12 +469,16 @@
|
|
|
469
469
|
max-width: #{mg.ref("layout-wide")};
|
|
470
470
|
}
|
|
471
471
|
|
|
472
|
+
// Hairlines are drawn per card (top + left, via box-shadow) rather than painted onto the
|
|
473
|
+
// container behind a gap. A background-filled gap bleeds into any unfilled cell of a ragged
|
|
474
|
+
// last row, showing as a grey block; a shadow only exists where a card does.
|
|
475
|
+
|
|
472
476
|
.VPFeatures .items {
|
|
473
477
|
display: grid;
|
|
474
478
|
grid-template-columns: minmax(0, 1fr);
|
|
475
|
-
gap:
|
|
479
|
+
gap: 0;
|
|
476
480
|
margin: 0;
|
|
477
|
-
|
|
481
|
+
overflow: hidden;
|
|
478
482
|
counter-reset: ff-feature;
|
|
479
483
|
}
|
|
480
484
|
|
|
@@ -492,6 +496,9 @@
|
|
|
492
496
|
height: 100%;
|
|
493
497
|
padding: 2.25rem 2rem 2.5rem;
|
|
494
498
|
background: #{mg.ref("color-paper")};
|
|
499
|
+
box-shadow:
|
|
500
|
+
calc(-1 * #{mg.ref("rule-width")}) 0 0 0 #{mg.ref("color-rule")},
|
|
501
|
+
0 calc(-1 * #{mg.ref("rule-width")}) 0 0 #{mg.ref("color-rule")};
|
|
495
502
|
|
|
496
503
|
// Own stacking context, so the hover wash can sit between the background and the text.
|
|
497
504
|
isolation: isolate;
|