@ndla/preset-panda 0.0.75 → 0.0.76

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.
Files changed (2) hide show
  1. package/dist/styles.css +1 -29
  2. package/package.json +3 -3
package/dist/styles.css CHANGED
@@ -347,11 +347,7 @@
347
347
  margin-block-start: var(--spacing-small);
348
348
  }
349
349
 
350
- .ndla-article section:not([class]) > :is(figure),.ndla-article section:not([class]) > div:not([class]) > :is(figure),.ndla-article [data-embed-type="framed-content"] > :is(figure),.ndla-article [data-embed-type="grid"] > div > :is(figure),.ndla-article [data-embed-type="factbox"] > div > :is(figure),.ndla-article [data-embed-type="copyright"] > [data-copyright-content] > :is(figure),.ndla-article [data-embed-type="uu-disclaimer"] > [data-uu-content] > :is(figure),.ndla-article [data-embed-wrapper] > :is(figure),.ndla-article details > :is(figure),.ndla-article [data-embed-type="expandable-box"] > :is(figure),.ndla-article blockquote > :is(figure) {
351
- margin-block-start: var(--spacing-xlarge);
352
- }
353
-
354
- .ndla-article section:not([class]) > :first-child,.ndla-article section:not([class]) > div:not([class]) > :first-child,.ndla-article section:not([class]) > :last-child,.ndla-article section:not([class]) > div:not([class]) > :last-child {
350
+ .ndla-article section:not([class]) > :is(figure),.ndla-article section:not([class]) > div:not([class]) > :is(figure),.ndla-article [data-embed-type="framed-content"] > :is(figure),.ndla-article [data-embed-type="grid"] > div > :is(figure),.ndla-article [data-embed-type="factbox"] > div > :is(figure),.ndla-article [data-embed-type="copyright"] > [data-copyright-content] > :is(figure),.ndla-article [data-embed-type="uu-disclaimer"] > [data-uu-content] > :is(figure),.ndla-article [data-embed-wrapper] > :is(figure),.ndla-article details > :is(figure),.ndla-article [data-embed-type="expandable-box"] > :is(figure),.ndla-article blockquote > :is(figure),.ndla-article section:not([class]) > :first-child,.ndla-article section:not([class]) > div:not([class]) > :first-child,.ndla-article section:not([class]) > :last-child,.ndla-article section:not([class]) > div:not([class]) > :last-child {
355
351
  margin-block-start: var(--spacing-xlarge);
356
352
  }
357
353
  }
@@ -367,9 +363,6 @@
367
363
  font-size: calc(var(--font-sizes-xxlarge) * 1.11);
368
364
  line-height: calc(var(--line-heights-xxlarge) * 1.11);
369
365
  }
370
- }
371
-
372
- @media screen and (max-width: 29.7475rem) {
373
366
  .ndla-article h2 {
374
367
  font-size: var(--font-sizes-xlarge);
375
368
  line-height: var(--line-heights-xlarge);
@@ -379,9 +372,6 @@
379
372
  font-size: calc(var(--font-sizes-xlarge) * 1.11);
380
373
  line-height: calc(var(--line-heights-xlarge) * 1.11);
381
374
  }
382
- }
383
-
384
- @media screen and (max-width: 29.7475rem) {
385
375
  .ndla-article h3 {
386
376
  font-size: var(--font-sizes-medium);
387
377
  line-height: var(--line-heights-small);
@@ -403,9 +393,6 @@
403
393
  font-size: calc(var(--font-sizes-small) * 1.11);
404
394
  line-height: calc(var(--line-heights-small) * 1.11);
405
395
  }
406
- }
407
-
408
- @media print {
409
396
  .ndla-article h1 {
410
397
  font-size: var(--font-sizes-xxlarge);
411
398
  line-height: var(--line-heights-xxlarge);
@@ -415,9 +402,6 @@
415
402
  font-size: calc(var(--font-sizes-xxlarge) * 1.11);
416
403
  line-height: calc(var(--line-heights-xxlarge) * 1.11);
417
404
  }
418
- }
419
-
420
- @media print {
421
405
  .ndla-article h2 {
422
406
  font-size: var(--font-sizes-xlarge);
423
407
  line-height: var(--line-heights-xlarge);
@@ -427,9 +411,6 @@
427
411
  font-size: calc(var(--font-sizes-xlarge) * 1.11);
428
412
  line-height: calc(var(--line-heights-xlarge) * 1.11);
429
413
  }
430
- }
431
-
432
- @media print {
433
414
  .ndla-article h3 {
434
415
  font-size: var(--font-sizes-medium);
435
416
  line-height: var(--line-heights-medium);
@@ -439,9 +420,6 @@
439
420
  font-size: calc(var(--font-sizes-medium) * 1.11);
440
421
  line-height: calc(var(--line-heights-medium) * 1.11);
441
422
  }
442
- }
443
-
444
- @media print {
445
423
  .ndla-article h4,.ndla-article h5,.ndla-article h6 {
446
424
  font-size: var(--font-sizes-small);
447
425
  line-height: var(--line-heights-small);
@@ -451,9 +429,6 @@
451
429
  font-size: calc(var(--font-sizes-small) * 1.11);
452
430
  line-height: calc(var(--line-heights-small) * 1.11);
453
431
  }
454
- }
455
-
456
- @media print {
457
432
  .ndla-article blockquote {
458
433
  font-size: var(--font-sizes-xsmall);
459
434
  line-height: var(--line-heights-xsmall);
@@ -463,9 +438,6 @@
463
438
  font-size: calc(var(--font-sizes-xsmall) * 1.11);
464
439
  line-height: calc(var(--line-heights-xsmall) * 1.11);
465
440
  }
466
- }
467
-
468
- @media print {
469
441
  .codeblock {
470
442
  font-size: var(--font-sizes-xsmall);
471
443
  line-height: var(--line-heights-xsmall);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ndla/preset-panda",
3
3
  "type": "module",
4
- "version": "0.0.75",
4
+ "version": "0.0.76",
5
5
  "description": "Panda preset for NDLA.",
6
6
  "license": "GPL-3.0",
7
7
  "exports": {
@@ -36,10 +36,10 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@ndla/core": "^6.0.7-alpha.0",
39
- "@pandacss/dev": "^1.7.0"
39
+ "@pandacss/dev": "^1.10.0"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "74f4af9223bd5cbd27679b44b3cab1fcf4d26c76"
44
+ "gitHead": "f8a73392a71c05f052f6cc69d55ca57c38e0db5b"
45
45
  }