@riebeckite/theme-sakura 0.0.16 → 0.0.17

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/package.json +2 -2
  2. package/styles/theme.css +7 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/theme-sakura",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/src/index.js",
@@ -16,7 +16,7 @@
16
16
  "./styles/theme.css": "./styles/theme.css"
17
17
  },
18
18
  "dependencies": {
19
- "@riebeckite/core": "0.0.16"
19
+ "@riebeckite/core": "0.0.17"
20
20
  },
21
21
  "publishConfig": {
22
22
  "access": "public"
package/styles/theme.css CHANGED
@@ -423,7 +423,7 @@
423
423
  :is(:root, .rb-theme-root)[data-theme-name="sakura"]
424
424
  .rb-article-body
425
425
  pre:not(:where(.rr-code *)) {
426
- margin-block: 1.75rem;
426
+ margin: 1.75rem 0 0;
427
427
  padding: 1.05rem 1.2rem;
428
428
  border: 1px solid var(--rb-color-border);
429
429
  border-radius: var(--rb-sakura-radius);
@@ -433,6 +433,12 @@
433
433
  color-mix(in srgb, var(--rb-color-ink) 60%, transparent);
434
434
  }
435
435
 
436
+ :is(:root, .rb-theme-root)[data-theme-name="sakura"]
437
+ .rb-article-body
438
+ pre:not(:where(.rr-code *)):has(+ :is(h1, h2)) {
439
+ margin-bottom: 1.75rem;
440
+ }
441
+
436
442
  :is(:root, .rb-theme-root)[data-theme-name="sakura"] .rr-code {
437
443
  border: 1px solid var(--rb-color-border);
438
444
  border-radius: var(--rb-sakura-radius);