forked from 3ter/Ohmine-Dark-Theme-For-Joplin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
userstyle.css
2316 lines (1908 loc) · 71.8 KB
/
userstyle.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* OhmineDT v3.1.84 | userstyle.css */
/* CSS for: Render Viewer | Rich Text Editor | Print PDF | Export PDF | EXPORT HTML */
/* By usual case, you would only to edit the source code within the root section to fulfill most of your personal needs */
/* Please add your custom code to the bottom of this document if needed. */
/* OhmineDT will stay compatible with the latest stable versions of Joplin. */
/* OhmineDT's updates information: https://github.com/Nacandev/Ohmine-Dark-Theme-For-Joplin#latest-released */
/* Thank you, guys! I hope you enjoy what's OhmineDT did for you! */
/* Tell me whatever you want > Joplin Forum: https://discourse.joplinapp.org/t/css-theme-ohmine-dark-theme/21000 */
/* Directly report an issue > Github: https://github.com/Nacandev/Ohmine-Dark-Theme-For-Joplin/issues/new/choose */
:root {
/* ******************************************************* */
/* !!!!!!!!! ROOT: SECTION START !!!!!!!!!! */
/* ******************************************************* */
/* ******************************************************* */
/* === SWITCHER === */
/* ******************************************************* */
/* to get the correct effect, please follow the below comments to edit the switchers */
/* SWITCHER FOR RENDER VIEWER **************************** */
/* change the below css property values to control the style effects on render viewer & rich text editor */
--switcher-h1-font-variant: small-caps; /* ON: "small-caps;" | OFF: "none;" | turn on/off the small-caps effect of h1 heading */
--switcher-h1-text-fill-color: transparent; /* ON: "transparent;" | OFF: "none;" | turn on/off heading gradient color effect */
--switcher-h1-border-display: block; /* SHOW: "block;" | HIDE: "none;" | show/hide h1 heading border */
--switcher-h2-rice-icon-display: inline-block; /* SHOW: "inline-block;" | HIDE: "none;" | show/hide h2 heading rice icon */
--switcher-h2-border-display: block; /* SHOW: "block;" | HIDE: "none;" | show/hide h2 heading border */
--switcher-h3-border-display: none; /* SHOW: "block;" | HIDE: "none;" | show/hide h3 heading border */
--switcher-h4-border-display: none; /* SHOW: "block;" | HIDE: "none;" | show/hide h4 heading border */
--switcher-h5-border-width: 1px; /* SHOW: "1px;" | HIDE: "0;" | show/hide h5 heading border */
--switcher-h6-border-width: 0; /* SHOW: "1px;" | HIDE: "0;" | show/hide h6 heading border */
--switcher-paragraph-text-align: justify; /* ON: "justify;" | OFF: "none;" | turn on/off the justify text effect of paragraph content*/
--switcher-list-text-align: none; /* ON: "justify;" | OFF: "none;" | turn on/off the justify text effect of list */
--switcher-footnote-text-align: none; /* ON: "justify;" | OFF: "none;" | turn on/off the justify text effect of footnote content */
--switcher-link-bracket-display: none; /* ON: "inline;" | OFF: "none;" | turn on/off the effect of automatically adding the monospace bracket to links */
--switcher-link-break-word: break-all; /* ON: "break-all;" | OFF: "break-word" | turn on/off to set how a line break present on the link text */
--switcher-markdown-toc-position-left: 0; /* ON: "0;" | OFF: none | turn on/off to position the markdown TOC button to the left/right */
--switcher-markdown-toc-link-text-wrap: normal; /* ON: "normal;" | OFF: "nowrap;" | turn on/off the wrap text of the Markdown TOC link text */
--switcher-codeblock-max-height: 60vh; /* ON: "60vh;" | OFF: "none;" | turn on/off the max-height limit of codeblock */
--switcher-art-gallery-max-height: 60vh; /* ON: "60vh;" | OFF: "none;" | turn on/off the max-height limit of art gallery */
--switcher-eye-protector-for-images-filter: brightness(75%); /* ON: "brightness(75%);" | OFF: "none;" | turn on/off the reduce raw brightness effect on attached image */
--switcher-eye-protector-for-images-animation: eye-protector 1.5s forwards 1; /* ON: "eye-protector 1.5s forwards 1;" | OFF: "none;" | turn on/off the brightness increasing hover effect on attached image */
--switcher-eye-protector-for-mermaid-filter: brightness(75%); /* ON: "brightness(75%);" | OFF: "none;" | turn on/off the reduce raw brightness effect on mermaid chart */
--switcher-eye-protector-for-mermaid-animation: eye-protector 1.5s forwards 1; /* ON: "eye-protector 1.5s forwards 1;" OFF: "none;" | turn on/off the brightness increasing hover effect on mermaid chart */
--switcher-custom-title-block-title-symbol-display: inline-block; /* SHOW: "inline-block;" | HIDE: "none;" | show/hide the custom title block title symbol */
/* SWITCHER FOR PRINT & EXPORT TO PDF ******************** */
/* change the below css property values to control the style effects of print & export to pdf */
--switcher-print-note-title-display: block; /* SHOW: "block;" | HIDE: "none;" | show/hide the notebook title from the PDF */
--switcher-print-sticky-notes-display: block; /* SHOW: "block;" | HIDE: "none;" | show/hide the sticky notes from the PDF */
--switcher-print-h1-border-display: block; /* SHOW: "block;" | HIDE: "none;" | show/hide the h1 heading border from the PDF */
--switcher-print-link-href-display: inline; /* SHOW: "inline;" | HIDE: "none;" | show/hide the link href after the link text from the PDF */
--switcher-print-markdown-toc-display: block; /* SHOW: "block;" | HIDE: "none;" | show/hide the markdown toc from the PDF */
/* ******************************************************* */
/* === STYLING: RENDER VIEWER & RICH TEXT EDITOR === */
/* ******************************************************* */
/* this part would be affects to: render viewer | rich text editor | export html */
/* GENERAL *********************************************** */
/* base font group: all elements that other than monospace font group */
--base-font: "montserrat", "chiron sans hk pro extralight", avenir, arial, sans-serif; /* by default, it's also affects to --print-base-font */
--base-font-size: 14px;
/* monospace font group: code block | pre | code | footnote ref no. */
--monospace-font: "cascadia mono light", monospace, "chiron sans hk pro extralight"; /* by default, it's also affects to --print-monospace-font */
--monospace-font-size: 12px;
/* render viewer background ------------------------------ */
--render-viewer-background-color: #151b1a; /* by default, it's also affects to the table border color */
/* export html background -------------------------------- */
--export-html-background-color: #242424; /* there would be generated a side margin when exporting to html, and this color is for that margin */
/* exported note title ----------------------------------- */
--export-note-title: #bdbdbd;
/* paragraph --------------------------------------------- */
--paragraph-text-line-height: 1.5em;
--paragraph-text-color: #bdbdbd;
/* horizontal line --------------------------------------- */
--hr-background-image-color: linear-gradient(to right, #30484c 30%, #2a423c 60%);
/* HEADING *********************************************** */
/* heading group: h1 to h6 ------------------------------ */
--headings-font-weight: 600;
--headings-line-height: normal;
/* heading: font size ------------------------------------ */
--h1-font-size: 1.6em;
--h2-font-size: 1.5em;
--h3-font-size: 1.4em;
--h4-font-size: 1.3em;
--h5-font-size: 1.2em;
--h6-font-size: 1.1em;
/* heading: h1 ------------------------------------------- */
--h1-text-color: #32e2ac; /* it's only valid when h1 background clip effect has been removed */
--h1-clip-text-color: linear-gradient(
85deg,
#3bfff7,
#16d0c1,
#7cffcd,
#74dec8,
#74dec8,
#7cffcd,
#16d0c1,
#3bfff7
);
--h1-border-color: linear-gradient(to right, #4a7d6e 30%, #3e4e49 60%);
/* heading: h2 ------------------------------------------- */
--h2-text-color: #d2d2d2;
--h2-rice-icon-color: var(--h2-text-color);
--h2-border-color: linear-gradient(to right, #dadada 30%, #545454 60%); /* by default, it's also affects to h3 & h4 border color */
/* heading: h3 ------------------------------------------- */
--h3-text-color: #d2d2d2;
--h3-border-color: var(--h2-border-color);
/* heading: h4 ------------------------------------------- */
--h4-text-color: #d2d2d2;
--h4-border-color: var(--h2-border-color);
/* heading: h5 ------------------------------------------- */
--h5-text-color: #b1b1b1;
--h5-border-color: var(--h5-text-color);
/* heading: h6 ------------------------------------------- */
--h6-text-color: #b1b1b1;
--h6-border-color: var(--h6-text-color);
/* SPECIAL TEXT ****************************************** */
/* special text: mark text ------------------------------- */
--mark-text-color: #000000;
--mark-text-background-color: #d6b15f;
/* special text: search text ----------------------------- */
--search-text-color: #f1f173;
--search-text-box-shadow: var(--search-text-color);
/* special text: emphasize text -------------------------- */
--emphasize-text-color: #e7c297;
/* special text: strong text ----------------------------- */
--strong-text-color: #e7c297;
/* special text: strikethrough text ---------------------- */
--strikethrough-text-color: #887968;
/* special text: insert text ----------------------------- */
--insert-text-color: #ce8864;
/* special text: abbreviation text ----------------------- */
--abbreviation-text-color: #54d077;
/* special text: inline code text ------------------------ */
--inline-code-text-color: var(--paragraph-text-color);
--inline-code-background-color: #232323;
--inline-code-border-color: white;
--inline-code-text-shadow: black;
/* special text: math notation text ---------------------- */
--math-notation-font-size: 1.5em;
--math-notation-text-color: #c5fffc;
--math-notation-text-shadow-color: var(--math-notation-text-color);
/* LINK ************************************************** */
--link-text-color: #cdd286;
--link-resource-icon-color: var(--link-text-color);
/* LIST ************************************************** */
/* list text group: unordered list | ordered list | checklist */
--list-text-color: #51bba8;
/* list: checkbox ---------------------------------------- */
--checkbox-color-filter: hue-rotate(320deg) brightness(125%); /* it's using the filter property to change the checkbox color */
/* list: list > span ------------------------------------- */
--list-span-text-color: #bdbdbd;
/* TABLE ************************************************* */
/* table: table header ----------------------------------- */
--table-th-text-color: #6cd4b6;
--table-th-background-color: #002931;
--table-th-border-color: var(--render-viewer-background-color);
/* table: table data ------------------------------------- */
--table-td-text-color: #bdbdbd;
--table-td-border-color: var(--render-viewer-background-color);
/* table: table row -------------------------------------- */
--table-tr-odd-background-color: #172425;
--table-tr-even-background-color: #1d2b2d;
/* BLOCKQUOTE ******************************************** */
--blockquote-text-color: #a2998f;
--blockquote-border-color: #b39674;
/* CODEBLOCK ********************************************* */
/* codeblock: container ---------------------------------- */
--codeblock-background-color: #191919;
--codeblock-border-color: #80f0ff;
--codeblock-box-shadow-color: var(--codeblock-border-color);
/* codeblock: text --------------------------------------- */
--codeblock-text-color: #bdbdbd;
/* codeblock: scrollbar ---------------------------------- */
--codeblock-scrollbar-background-color: radial-gradient(#192525 40%, #2a4344 70%, #88b7b3 100%);
--codeblock-scrollbar-background-color-hover: radial-gradient(#273838 40%, #558688 70%, #b4ece8 100%);
/* codeblock: selected status on rich text editor -------- */
--codeblock-outline-color-selected: #002688;
/* MARKDOWN TOC ****************************************** */
/* markdown toc: title ----------------------------------- */
--mt-title-text-color: #333;
--mt-title-background-color: #a77600;
--mt-title-box-shadow: #fffda0;
--mt-title-text-color-hover: #eee;
--mt-title-background-color-hover: #00b37c;
--mt-title-box-shadow-hover: #4cff00;
/* markdown toc: body ------------------------------------ */
--mt-body-background-color-hover: #191919;
--mt-body-border-color-hover: #00b37c;
--mt-list-border-color: #333333;
--mt-link-text-color-hover: #d2d2d2;
--mt-link-background-color-hover: #272727;
/* FOOTNOTE ********************************************** */
/* footnote: title --------------------------------------- */
--footnote-title-font-size: 15px;
--footnote-title-text-color: #dedede;
--footnote-title-border-color: #585858;
/* footnote: list ---------------------------------------- */
--footnote-list-text-color: #888888;
--footnote-list-token-color: var(--footnote-list-text-color);
/* CUSTOM ELEMENT: ART GALLERY *************************** */
--ag-background-color: #07100b;
--ag-box-shadow: #94db94;
/* CUSTOM ELEMENT: STICKY NOTES ************************** */
/* sticky notes body group: not including the stick note - "Important" */
--sn-text-color: #eaeaea;
--sn-background-color: linear-gradient(120deg, #191919, #232323, #191919);
--sn-border-color: #43b991;
--sn-box-shadow: #148059;
/* sticky notes tags group: not including the stick note - "Important" */
--sn-tags-text-shadow-color: #000000;
/* sticky notes: note ------------------------------------ */
--sn-note-tag-background-color: #0065b3;
/* sticky notes: tip ------------------------------------- */
--sn-tip-tag-background-color: #b7aa00;
/* sticky notes: question -------------------------------- */
--sn-question-tag-background-color: #5a00b5;
/* sticky notes: explain --------------------------------- */
--sn-explain-tag-background-color: #00bf88;
/* sticky notes: warning --------------------------------- */
--sn-warning-tag-background-color: #c30000;
/* sticky notes: keyword --------------------------------- */
--sn-keyword-tag-background-color: #c10074;
/* sticky notes: important - body ------------------------ */
--sn-important-text-color: #e8c399;
--sn-important-background-color: #edad0b0d;
--sn-important-border-color: red; /* by default, it's also affects to --sn-important-tag-border-color */
--sn-important-box-shadow: red;
/* sticky notes: important - tag ------------------------- */
--sn-important-tag-text-color: red;
--sn-important-tag-background-color: #3c0000;
--sn-important-tag-border-color: var(--sn-important-border-color);
/* CUSTOM ELEMENT: CUSTOM TITLE BLOCK ******************** */
/* custom title block: container ------------------------- */
--ctb-background-color: #212925;
/* custom title block: title ------------------------------*/
--ctb-title-text-font-size: 15px;
--ctb-title-symbol-color: radial-gradient( #a1e251fc 30%, #16f72833 50%);
--ctb-title-text-color: #93bf74;
/* CUSTOM ELEMENT: KEY POINT ***************************** */
--kp-text-color: #76dccf;
--kp-border-color: #76dccf78;
/* PLUGIN: TURNTOCHART *********************************** */
--ttc-text-color: var(--paragraph-text-color);
/* PLUGIN: SPOILER - SPOILER BLOCK *********************** */
/* spoiler block: title -----------------------------------*/
--sb-title-icon-size: 18px;
--sb-title-font-size: 20px;
--sb-title-background-color: linear-gradient(to right, #868672, #5f5f42);
--sb-title-text-color: #dadada;
--sb-title-text-shadow: #000000;
/* spoiler block: body ------------------------------------*/
--sb-body-text-color: #d0d0d0;
--sb-body-background-color: #252523;
--sb-body-text-shadow: #000000;
/* spoiler block: horizontal line ------------------------ */
--sb-hr-background-color: linear-gradient(to right, #333333, #7e8062, #333333);
/* spoiler block: list ----------------------------------- */
--sb-list-text-color: #9adebe;
/* spoiler block: span ----------------------------------- */
--sb-span-text-color: #cccab0;
--sb-span-background-color: #504f46;
/* spoiler block: list > span ---------------------------- */
--sb-list-span-text-color: #d0d0d0;
/* spoiler block: custom title block --------------------- */
--sb-ctb-title-text-color: #afac7e;
--sb-ctb-background-color: #1d1d1c;
/* PLUGIN: SPOILER - SPOILER INLINE ********************** */
/* spoiler inline: body ---------------------------------- */
--si-border-color: #46792b;
--si-background-color: #000000;
/* spoiler inline: symbol -------------------------------- */
--si-symbol-color: #9ace01;
--si-symbol-color-hover: #ff0047;
/* ******************************************************* */
/* === STYLING: PRINT & EXPORT TO PDF === */
/* ******************************************************* */
/* this part would be affects to: print pdf | export pdf */
/* GENERAL *********************************************** */
/* print base font: all elements that other than the print monospace font group */
--print-base-font: var(--base-font);
--print-base-font-size: 12px;
/* print monospace font: codeblock | pre | code | inline code */
--print-monospace-font: var(--monospace-font);
--print-monospace-font-size: 10px;
/* print background -------------------------------------- */
--print-background-color: white;
/* print note title -------------------------------------- */
--print-note-title-font-size: 22px;
--print-note-title-text-color: #606060;
/* print paragraph --------------------------------------- */
--print-paragraph-text-color: #595959;
/* print horizontal line --------------------------------- */
--print-hr-background-color: linear-gradient(to right, #71a0a9 30%, #b3e6ea 60%);
/* PRINT HEADING ***************************************** */
--print-h1-font-size: 1.8em;
--print-h2-font-size: 1.6em;
--print-h3-font-size: 1.4em;
--print-h4-font-size: 1.3em;
--print-h5-font-size: 1.2em;
--print-h6-font-size: 1.1em;
/* print heading: h1 ------------------------------------- */
--print-h1-text-color: #000; /* it's only work when the --switcher-h1-text-fill-color effect is off */
--print-h1-background-clip-text-color: var(--h1-clip-text-color);
--print-h1-border-background-color: linear-gradient(to right, #3faba6 30%, #8dc1b2 60%);
/* print heading: h2 ------------------------------------- */
--print-h2-text-color: #202020;
--print-h2-rice-icon-color: var(--print-h2-text-color);
--print-h2-border-color: linear-gradient(to right, #545454 30%, #d4d4d4 60%);
/* print heading: h3 ------------------------------------- */
--print-h3-text-color: #2d2d2d;
--print-h3-border-color: var(--print-h2-border-color);
/* print heading: h4 ------------------------------------- */
--print-h4-text-color: #3a3a3a;
--print-h4-border-color: var(--print-h2-border-color);
/* print heading: h5 ------------------------------------- */
--print-h5-text-color: #3a3a3a;
--print-h5-border-color: var(--print-h5-text-color);
/* print heading: h6 ------------------------------------- */
--print-h6-text-color: #474747;
--print-h6-border-color: var(--print-h6-text-color);
/* PRINT SPECIAL TEXT ************************************ */
/* print special text: mark text ------------------------- */
--print-mark-text-color: #000;
--print-mark-text-background-color: #d6b15f;
/* print special text: emphasize text -------------------- */
--print-emphasize-text-color: #e69a41;
/* print special text: strong text ----------------------- */
--print-strong-text-color: #e69a41;
/* print special text: strikethrough text ---------------- */
--print-strikethrough-text-color: #925e24;
/* print special text: insert text ----------------------- */
--print-insert-text-color: #c7843a;
/* print special text: abbreviation text ----------------- */
--print-abbreviation-text-color: #54d077;
/* print special text: inline code text ------------------ */
--inline-code-text-font-size: 95%;
--print-inline-code-text-color: #595959;
--print-inline-code-border-color: #000;
/* print special text: math notation text ---------------- */
--print-math-notation-font-size: 1.6em;
--print-math-notation-text-color: #555;
/* PRINT LINK ******************************************** */
/* print link: text -------------------------------------- */
--print-link-text-color: #58bdf9; /* by default, it will also affects to --print-mt-list-token-color */
/* print link: href -------------------------------------- */
--print-link-href-font-size: 10px;
/* PRINT LIST ******************************************** */
/* print list text group: unordered list | ordered list | checklist */
--print-list-text-color: #51bba8;
/* print list: span -------------------------------------- */
--print-list-span-text-color: #595959;
/* PRINT TABLE ******************************************* */
/* print table: table header ----------------------------- */
--print-table-th-text-color: var(--print-paragraph-text-color);
--print-table-th-background-color: #3ae6d6;
/* print table: table data ------------------------------- */
--print-table-td-text-color: var(--print-table-th-text-color);
--print-table-td-border-color: rgb(255, 255, 255);
/* print table: table row -------------------------------- */
--print-table-tr-even-background-color: #e0e0e0;
--print-table-tr-odd-background-color: #fff;
/* PRINT BLOCKQUOTE ************************************** */
--print-blockquote-text-color: #ab7b46;
--print-blockquote-border-color: #e8c093;
/* PRINT CODEBLOCK *************************************** */
--print-codeblock-text-line-height: 1.5em;
--print-codeblock-text-color: #474747;
--print-codeblock-border-color: #000;
/* PRINT MARKDOWN TOC ************************************ */
--print-mt-title-font-size: 18px;
--print-mt-title-text-color: #606060;
--print-mt-border-color: var(--print-mt-title-text-color);
--print-mt-link-text-color: var(--print-link-text-color);
--print-mt-list-token-color: var(--print-link-text-color);
/* PRINT FOOTNOTE **************************************** */
/* print footnote: title --------------------------------- */
--print-footnote-title-text-color: #3a3a3a;
--print-footnote-title-border-color: #999;
/* print footnote: text ---------------------------------- */
--print-footnote-text-color: #666; /* [TODO]: list token and list text split */
/* PRINT CUSTOM ELEMENT: STICKY NOTES ******************** */
/* sticky notes body group: not including sticky notes - important - */
--print-sn-text-color: var(--print-paragraph-text-color);
--print-sn-border-color: #999;
/* sticky notes tags group: not including sticky notes - important */
--print-sn-tags-font-size: 1em;
--print-sn-tags-text-color: #fff;
/* print sticky notes: important ------------------------- */
--print-sn-important-tag-font-size: 1.1em;
--print-sn-important-text-color: var(--print-paragraph-text-color);
/* PRINT CUSTOM ELEMENT: CUSTOM TITLE BLOCK ************** */
--print-ctb-title-font-size: 1.2em;
--print-ctb-title-text-color: #93c281;
--print-ctb-title-symbol-color: radial-gradient(#93c281 34%, #93c281b8 60%);
--print-ctb-border-color: #999;
/* PRINT CUSTOM ELEMENT: KEY POINT *********************** */
--print-kp-text-color: #2cceb9;
--print-kp-border-color: #2cceb978;
/* PRINT PLUGIN: TURNTOCHART ***************************** */
--print-ttc-text-color: #595959;
/* PRINT PLUGIN: SPOILER - SPOILER BLOCK ***************** */
/* print spoiler block: container ------------------------ */
--print-sb-border-color: #999;
/* print spoiler block: title ---------------------------- */
--print-sb-title-font-size: 16px;
--print-sb-title-text-color: #606060;
--print-sb-title-border-color: var(--print-sb-border-color);
/* print spoiler block: body ----------------------------- */
--print-sb-body-text-color: var(--print-paragraph-text-color);
/* print spoiler block: horizontal line ------------------ */
--print-sb-hr-background-color: linear-gradient(to right, #ccc, #666, #ccc);
/* print spoiler block: list ----------------------------- */
--print-sb-list-text-color: #2da76b;
/* print spoiler block: span ----------------------------- */
--print-sb-span-font-size: 1.2em;
--print-sb-span-text-color: #706c2b;
--print-sb-span-border-color: #999;
/* print spoiler block: list > span ---------------------- */
--print-sb-list-span-text-color: #474747;
/* print spoiler block: custom title block --------------- */
--print-sb-ctb-title-font-size: 1.2em;
--print-sb-ctb-border-color: #999;
--print-sb-ctb-title-text-color: #afac7e;
/* PRINT PLUGIN: SPOILER - SPOILER INLINE **************** */
--print-si-border-color: #999;
--print-si-question-mark-color: #9ace01;
}
/* ********************************************************* */
/* !!!!!!!!! ROOT: SECTION END !!!!!!!!!! */
/* ********************************************************* */
/* ********************************************************* */
/* !!!!!!!!! MAIN SOURCE CODE: SECTION START !!!!!!!!!! */
/* ********************************************************* */
/* ********************************************************* */
/* === STYLING: RENDER VIEWER & RICH TEXT EDITOR === */
/* ********************************************************* */
/* this part would be affects to: render viewer | rich text editor | export html */
/* GENERAL ************************************************* */
/* base font group: all elements that other than monospace font group */
#rendered-md,
#tinymce,
#joplin-container-body,
#joplin-container-content,
#spoiler-block-title
#rendered-md > table > * {
font-family: var(--base-font) !important;
font-size: var(--base-font-size);
}
/* monospace font group: code block | pre | code | footnote ref no. */
#rendered-md > .joplin-editable > pre:not(.mermaid),
#rendered-md > .joplin-editable > pre > code,
#rendered-md .inline-code,
[id*="fnref"] {
font-family: var(--monospace-font) !important;
font-size: var(--monospace-font-size);
}
/* render viewer background -------------------------------- */
#rendered-md,
#tinymce,
#joplin-container-body,
#joplin-container-content,
.exported-note {
background: var(--render-viewer-background-color);
}
/* exported html ------------------------------------------- */
body {
background: var(--export-html-background-color);
}
.exported-note {
width: 100%;
max-width: 1500px;
margin: 0 auto;
}
/* rich text editor side padding --------------------------- */
#tinymce > #rendered-md {
padding: 0 10px;
}
/* exported note title ------------------------------------- */
.exported-note-title {
color: var(--export-note-title);
}
/* paragraph ----------------------------------------------- */
#rendered-md > p {
padding: 0;
margin: 20px 0 20px 3px;
}
#rendered-md > p,
note,
tip,
explain,
question,
warning,
keyword {
text-align: var(--switcher-paragraph-text-align);
line-height: var(--paragraph-text-line-height);
color: var(--paragraph-text-color);
}
body {
color: var(--paragraph-text-color);
}
/* horizontal line ----------------------------------------- */
#rendered-md > hr {
border: 0;
width: auto;
height: 1px;
margin: 20px 0;
background-image: var(--hr-background-image-color);
}
/* HEADING ************************************************* */
/* headings group: h1 to h6 -------------------------------- */
#rendered-md > h1,
#rendered-md > h2,
#rendered-md > h3,
#rendered-md > h4,
#rendered-md > h5,
#rendered-md > h6 {
text-align: initial;
padding: 0;
margin: 30px 0;
font-weight: var(--headings-font-weight);
line-height: var(--headings-line-height);
}
/* heading: h1 --------------------------------------------- */
#rendered-md > h1 {
font-variant: var(--switcher-h1-font-variant);
font-size: var(--h1-font-size);
color: var(--h1-text-color);
border: 0;
background: var(--h1-clip-text-color);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: var(--switcher-h1-text-fill-color);
}
/* heading: h1 custom border ------------------------------- */
#rendered-md > h1::after {
content: "";
display: var(--switcher-h1-border-display);
width: 100%;
height: 1px;
margin: 1px 0;
background-image: var(--h1-border-color);
}
/* heading: h1 > span -------------------------------------- */
#rendered-md > h1 > span { /* span in H1 heading: to avoiding the background-clip effect */
-webkit-background-clip: initial;
background-clip: initial;
-webkit-text-fill-color: initial;
}
/* heading: h2 --------------------------------------------- */
#rendered-md > h2 {
font-size: var(--h2-font-size);
color: var(--h2-text-color);
}
/* heading: h2 rice icon ----------------------------------- */
#rendered-md > h2::before {
content: "";
display: var(--switcher-h2-rice-icon-display);
width: 0.85em;
height: 0.8em;
margin: 0 5px 0 0;
background: var(--h2-rice-icon-color);
border-radius: 25% 66% 27% 70%;
}
/* heading: h2 custom border ------------------------------- */
#rendered-md > h2::after {
content: "";
display: var(--switcher-h2-border-display);
width: 100%;
height: 1px;
margin: 2px 0;
background-image: var(--h2-border-color);
}
/* heading: h3 --------------------------------------------- */
#rendered-md > h3 {
font-size: var(--h3-font-size);
color: var(--h3-text-color);
}
/* heading: h3 custom border ------------------------------- */
#rendered-md > h3::after {
content: "";
display: var(--switcher-h3-border-display);
width: 100%;
height: 1px;
margin: 2px 0;
background-image: var(--h3-border-color);
}
/* heading: h4 --------------------------------------------- */
#rendered-md > h4 {
font-size: var(--h4-font-size);
color: var(--h4-text-color);
}
/* heading: h4 custom border ------------------------------- */
#rendered-md > h4::after {
content: "";
display: var(--switcher-h4-border-display);
width: 100%;
height: 1px;
margin: 2px 0;
background-image: var(--h4-border-color);
}
/* heading: h5 --------------------------------------------- */
#rendered-md > h5 {
font-size: var(--h5-font-size);
color: var(--h5-text-color);
border-bottom: var(--switcher-h5-border-width) dotted var(--h5-border-color);
}
/* heading: h6 --------------------------------------------- */
#rendered-md > h6 {
font-size: var(--h6-font-size);
color: var(--h6-text-color);
border-bottom: var(--switcher-h6-border-width) dotted var(--h6-border-color);
}
/* SPECIAL TEXT ******************************************** */
/* special text: mark text --------------------------------- */
#rendered-md mark {
padding: 0 6px;
color: var(--mark-text-color);
background: var(--mark-text-background-color);
border-radius: 1em;
}
/* special text: search text ------------------------------- */
#rendered-md mark[data-markjs="true"] {
font-size: 1.1em;
padding: 2px 6px;
margin: 0 3px;
color: var(--search-text-color);
box-shadow: 0 0 3px var(--search-text-box-shadow);
background: none;
}
#rendered-md > h1 > mark[data-markjs="true"],
#rendered-md > h2 > mark[data-markjs="true"],
#rendered-md > h3 > mark[data-markjs="true"],
#rendered-md > h4 > mark[data-markjs="true"],
#rendered-md > h5 > mark[data-markjs="true"],
#rendered-md > h6 > mark[data-markjs="true"] {
font-size: inherit;
-webkit-text-fill-color: var(--search-text-color);
}
#rendered-md mark > mark[data-markjs="true"],
#rendered-md code.inline-code > mark[data-markjs="true"],
#rendered-md .spoiler-inline > mark[data-markjs="true"] {
background: var(--render-viewer-background-color);
box-shadow: 0 0 4px var(--search-text-box-shadow);
}
/* special text: emphasize text ---------------------------- */
#rendered-md em {
color: var(--emphasize-text-color);
}
/* special text: strong text ------------------------------- */
#rendered-md strong {
color: var(--strong-text-color);
font-weight: 700;
}
/* special text: strikethrough text ------------------------ */
#rendered-md s {
color: var(--strikethrough-text-color);
}
/* special text: insert text ------------------------------- */
#rendered-md ins {
color: var(--insert-text-color);
}
/* special text: abbreviation text ------------------------- */
#rendered-md abbr {
font-weight: 500;
text-decoration: underline dotted;
color: var(--abbreviation-text-color);
}
/* special text: inline code text -------------------------- */
#rendered-md .inline-code,
.mce-content-body code:not(.joplin-editable > pre > code) {
color: var(--inline-code-text-color);
padding: 0 3px;
background: var(--inline-code-background-color);
box-shadow: 0 0 1px var(--inline-code-border-color);
text-shadow: 1px 1px 2px var(--inline-code-text-shadow);
}
/* special text: math notation text ------------------------ */
#rendered-md .katex-display {
font-size: var(--math-notation-font-size);
color: var(--math-notation-text-color);
text-shadow: 0 0 2px var(--math-notation-text-shadow-color);
}
/* LINK **************************************************** */
#rendered-md a {
word-break: var(--switcher-link-break-word);
color: var(--link-text-color);
}
#rendered-md a:not(.table-of-contents a) {
margin: 0 3px;
}
/* link: bracket ------------------------------------------- */
#rendered-md a::before,
#rendered-md .footnote-backref::before,
#rendered-md a::after,
#rendered-md .footnote-backref::after {
display: var(--switcher-link-bracket-display);
font-family: var(--monospace-font);
}
#rendered-md a::before,
#rendered-md .footnote-backref::before {
content: "(";
}
#rendered-md a::after,
#rendered-md .footnote-backref::after {
content: ")";
}
#rendered-md .table-of-contents a::before,
#rendered-md .table-of-contents a::after,
#rendered-md [id*="fnref"]::before,
#rendered-md [id*="fnref"]::after {
display: none;
}
/* link: resource icon ------------------------------------- */
#rendered-md .resource-icon {
margin: 0 6px 0 3px;
font-size: 10px;
background: var(--link-resource-icon-color);
}
/* LIST **************************************************** */
/* list text group: unordered list | ordered list | checklist */
#rendered-md li,
#rendered-md li > p {
margin: 2px 0;
color: var(--list-text-color);
}
#rendered-md li:not(id^="fn") {
text-align: var(--switcher-list-text-align);
}
/* list margin group: unordered list | order list ---------- */
#rendered-md ul,
#rendered-md ol {
margin: 20px 0 20px 25px;
}
/* sublist margin group: unordered list | order list ------ */
#rendered-md ul ul,
#rendered-md ol ol,
#rendered-md ul ol,
#rendered-md ol ul {
margin: 0 0 0 18px;
}
/* list: checkbox ------------------------------------------ */
#rendered-md input[id*="md-checkbox-"] {
filter: var(--checkbox-color-filter);
}
/* list: list > span --------------------------------------- */