@stnd/styles 0.8.0 → 0.9.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @stnd/styles
2
2
 
3
+ ## 0.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Auto-bumped @stnd/styles due to modified code.
8
+
3
9
  ## 0.8.0
4
10
 
5
11
  ### Minor Changes
@@ -175,6 +175,51 @@
175
175
  }
176
176
  }
177
177
 
178
+ /* Screen break & section transitions (T54) */
179
+ .stnd-screen-break {
180
+ grid-column: 1 / -1;
181
+ border: none;
182
+ height: 1px;
183
+ background: var(--color-border-subtle, rgba(125, 125, 125, 0.2));
184
+ margin-block: var(--gap-section, 6rem);
185
+ margin-inline: auto;
186
+ width: min(100%, 18rem);
187
+ position: relative;
188
+ scroll-margin-top: calc(var(--gap-header, 3.5rem) + 1.5rem);
189
+
190
+ &.screen-full {
191
+ width: 100%;
192
+ min-height: 80vh;
193
+ background: transparent;
194
+ margin-block: 0;
195
+ display: flex;
196
+ align-items: center;
197
+ justify-content: center;
198
+
199
+ &::after {
200
+ content: "✦";
201
+ color: var(--color-muted, #888);
202
+ opacity: 0.5;
203
+ font-size: 1.25rem;
204
+ }
205
+ }
206
+ }
207
+
208
+ .stnd-screen-section {
209
+ grid-column: 1 / -1;
210
+ width: 100%;
211
+ margin-block: var(--gap-section, 4rem);
212
+ scroll-margin-top: calc(var(--gap-header, 3.5rem) + 1.5rem);
213
+
214
+ &.screen-full {
215
+ min-height: 85vh;
216
+ display: flex;
217
+ flex-direction: column;
218
+ justify-content: center;
219
+ margin-block: 0;
220
+ }
221
+ }
222
+
178
223
  /* Image gallery layout */
179
224
  &:not(.no-grid) {
180
225
  p:has(img),
@@ -387,6 +387,47 @@
387
387
  margin-inline: auto !important;
388
388
  }
389
389
 
390
+ .stnd-screen-break {
391
+ border: none;
392
+ height: 1px;
393
+ background: var(--color-border-subtle, rgba(125, 125, 125, 0.2));
394
+ margin-block: var(--gap-section, 6rem);
395
+ margin-inline: auto;
396
+ width: min(100%, 18rem);
397
+ scroll-margin-top: calc(var(--gap-header, 3.5rem) + 1.5rem);
398
+
399
+ &.screen-full {
400
+ width: 100%;
401
+ min-height: 80vh;
402
+ background: transparent;
403
+ margin-block: 0;
404
+ display: flex;
405
+ align-items: center;
406
+ justify-content: center;
407
+
408
+ &::after {
409
+ content: "✦";
410
+ color: var(--color-muted, #888);
411
+ opacity: 0.5;
412
+ font-size: 1.25rem;
413
+ }
414
+ }
415
+ }
416
+
417
+ .stnd-screen-section {
418
+ width: 100%;
419
+ margin-block: var(--gap-section, 4rem);
420
+ scroll-margin-top: calc(var(--gap-header, 3.5rem) + 1.5rem);
421
+
422
+ &.screen-full {
423
+ min-height: 85vh;
424
+ display: flex;
425
+ flex-direction: column;
426
+ justify-content: center;
427
+ margin-block: 0;
428
+ }
429
+ }
430
+
390
431
  /* ============================================================ */
391
432
  /* TYPOGRAPHY — Size */
392
433
  /* ============================================================ */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stnd/styles",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "type": "module",
5
5
  "author": "Francis Fontaine",
6
6
  "license": "MIT",