autumnnote 1.10.0 → 1.11.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.
@@ -377,6 +377,24 @@
377
377
  margin: 0.5em 0;
378
378
  line-height: 1.3;
379
379
  }
380
+ .an-editable h1 {
381
+ font-size: 2em;
382
+ }
383
+ .an-editable h2 {
384
+ font-size: 1.5em;
385
+ }
386
+ .an-editable h3 {
387
+ font-size: 1.25em;
388
+ }
389
+ .an-editable h4 {
390
+ font-size: 1.1em;
391
+ }
392
+ .an-editable h5 {
393
+ font-size: 1em;
394
+ }
395
+ .an-editable h6 {
396
+ font-size: 0.875em;
397
+ }
380
398
  .an-editable ul, .an-editable ol {
381
399
  margin: 0 0 0.75em 0;
382
400
  padding-left: 1.5em;
@@ -385,6 +403,18 @@
385
403
  .an-editable li {
386
404
  margin-bottom: 0.25em;
387
405
  }
406
+ .an-editable li > p {
407
+ margin: 0 0 0.5em;
408
+ }
409
+ .an-editable li > p:first-child {
410
+ display: inline;
411
+ }
412
+ .an-editable li > p:last-child {
413
+ margin-bottom: 0;
414
+ }
415
+ .an-editable li:has(> p) {
416
+ margin-bottom: 0.6em;
417
+ }
388
418
  .an-editable blockquote {
389
419
  margin: 0.5em 0 0.5em 1em;
390
420
  padding: 0.5em 1em;
@@ -404,6 +434,10 @@
404
434
  .an-editable code {
405
435
  padding: 0.1em 0.3em;
406
436
  }
437
+ .an-editable pre > code {
438
+ background: transparent;
439
+ padding: 0;
440
+ }
407
441
  .an-editable pre[class*=language-] {
408
442
  background: #2d2d2d;
409
443
  color: #ccc;
@@ -1807,6 +1841,9 @@
1807
1841
  background: #313244;
1808
1842
  color: #cdd6f4;
1809
1843
  }
1844
+ .an-theme-dark .an-editable pre:not([class*=language-]) > code {
1845
+ background: transparent;
1846
+ }
1810
1847
  .an-theme-dark .an-editable .an-code-line-numbers::before {
1811
1848
  background: rgba(255, 255, 255, 0.05);
1812
1849
  border-right-color: rgba(255, 255, 255, 0.1);
@@ -2229,6 +2266,9 @@
2229
2266
  background: #313244;
2230
2267
  color: #cdd6f4;
2231
2268
  }
2269
+ .an-theme-auto .an-editable pre:not([class*=language-]) > code {
2270
+ background: transparent;
2271
+ }
2232
2272
  .an-theme-auto .an-editable hr {
2233
2273
  border-color: #3f3f5f;
2234
2274
  }