@caring-dev/react-notion-x 7.7.2

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/src/styles.css ADDED
@@ -0,0 +1,3603 @@
1
+ :root {
2
+ --notion-font: ui-sans-serif, system-ui, apple-system, BlinkMacSystemFont,
3
+ 'Segoe UI', Helvetica, 'Apple Color Emoji', Arial, sans-serif,
4
+ 'Segoe UI Emoji', 'Segoe UI Symbol';
5
+ --fg-color: rgb(55, 53, 47);
6
+ --fg-color-0: rgba(55, 53, 47, 0.09);
7
+ --fg-color-1: rgba(55, 53, 47, 0.16);
8
+ --fg-color-2: rgba(55, 53, 47, 0.4);
9
+ --fg-color-3: rgba(55, 53, 47, 0.6);
10
+ --fg-color-4: #000;
11
+ --fg-color-5: rgba(55, 53, 47, 0.024);
12
+ --fg-color-6: rgba(55, 53, 47, 0.8);
13
+ --fg-color-7: rgba(55, 53, 47, 0.5);
14
+ --fg-color-icon: var(--fg-color);
15
+
16
+ --bg-color: #fff;
17
+ --bg-color-0: rgba(135, 131, 120, 0.15);
18
+ --bg-color-1: rgb(247, 246, 243);
19
+ --bg-color-2: rgba(135, 131, 120, 0.15);
20
+
21
+ --select-color-0: rgb(46, 170, 220);
22
+ --select-color-1: rgba(45, 170, 219, 0.3);
23
+ --select-color-2: #d9eff8;
24
+
25
+ --notion-red: rgb(224, 62, 62);
26
+ --notion-pink: rgb(173, 26, 114);
27
+ --notion-blue: rgb(11, 110, 153);
28
+ --notion-purple: rgb(105, 64, 165);
29
+ --notion-teal: rgb(77, 100, 97);
30
+ --notion-yellow: rgb(223, 171, 1);
31
+ --notion-orange: rgb(217, 115, 13);
32
+ --notion-brown: rgb(100, 71, 58);
33
+ --notion-gray: rgb(155, 154, 151);
34
+
35
+ --notion-red_background: rgb(251, 228, 228);
36
+ --notion-pink_background: rgb(244, 223, 235);
37
+ --notion-blue_background: rgb(221, 235, 241);
38
+ --notion-purple_background: rgb(234, 228, 242);
39
+ --notion-teal_background: rgb(221, 237, 234);
40
+ --notion-yellow_background: rgb(251, 243, 219);
41
+ --notion-orange_background: rgb(250, 235, 221);
42
+ --notion-brown_background: rgb(233, 229, 227);
43
+ --notion-gray_background: rgb(235, 236, 237);
44
+
45
+ --notion-red_background_co: rgba(251, 228, 228, 0.3);
46
+ --notion-pink_background_co: rgba(244, 223, 235, 0.3);
47
+ --notion-blue_background_co: rgba(221, 235, 241, 0.3);
48
+ --notion-purple_background_co: rgba(234, 228, 242, 0.3);
49
+ --notion-teal_background_co: rgba(221, 237, 234, 0.3);
50
+ --notion-yellow_background_co: rgba(251, 243, 219, 0.3);
51
+ --notion-orange_background_co: rgba(250, 235, 221, 0.3);
52
+ --notion-brown_background_co: rgba(233, 229, 227, 0.3);
53
+ --notion-gray_background_co: rgba(235, 236, 237, 0.3);
54
+
55
+ --notion-item-blue: rgb(211, 229, 239);
56
+ --notion-item-orange: rgb(250, 222, 201);
57
+ --notion-item-green: rgb(219, 237, 219);
58
+ --notion-item-pink: rgb(245, 224, 233);
59
+ --notion-item-brown: rgb(238, 224, 218);
60
+ --notion-item-red: rgb(255, 226, 221);
61
+ --notion-item-yellow: rgb(253, 236, 200);
62
+ --notion-item-default: rgba(227, 226, 224, 0.5);
63
+ --notion-item-purple: rgb(232, 222, 238);
64
+ --notion-item-gray: rgb(227, 226, 224);
65
+
66
+ --notion-item-text-blue: rgb(24, 51, 71);
67
+ --notion-item-text-orange: rgb(73, 41, 14);
68
+ --notion-item-text-green: rgb(28, 56, 41);
69
+ --notion-item-text-pink: rgb(76, 35, 55);
70
+ --notion-item-text-brown: rgb(68, 42, 30);
71
+ --notion-item-text-red: rgb(93, 23, 21);
72
+ --notion-item-text-yellow: rgb(64, 44, 27);
73
+ --notion-item-text-default: rgb(50, 48, 44);
74
+ --notion-item-text-purple: rgb(65, 36, 84);
75
+ --notion-item-text-gray: rgb(50, 48, 44);
76
+
77
+ --notion-item-bullet-blue: rgb(91, 151, 189);
78
+ --notion-item-bullet-orange: rgb(215, 129, 58);
79
+ --notion-item-bullet-green: rgb(108, 155, 125);
80
+ --notion-item-bullet-pink: rgb(205, 116, 159);
81
+ --notion-item-bullet-brown: rgb(187, 132, 108);
82
+ --notion-item-bullet-red: rgb(225, 111, 100);
83
+ --notion-item-bullet-yellow: rgb(203, 148, 51);
84
+ --notion-item-bullet-default: rgb(91, 151, 189);
85
+ --notion-item-bullet-purple: rgb(167, 130, 195);
86
+ --notion-item-bullet-gray: rgb(145, 145, 142);
87
+
88
+ --notion-max-width: 720px;
89
+ --notion-header-height: 45px;
90
+ }
91
+
92
+ .dark-mode {
93
+ --fg-color: rgba(255, 255, 255, 0.9);
94
+ --fg-color-0: var(--fg-color);
95
+ --fg-color-1: var(--fg-color);
96
+ --fg-color-2: var(--fg-color);
97
+ --fg-color-3: var(--fg-color);
98
+ --fg-color-4: var(--fg-color);
99
+ --fg-color-5: rgba(255, 255, 255, 0.7);
100
+ --fg-color-6: #fff;
101
+ --fg-color-icon: #fff;
102
+
103
+ --bg-color: #2f3437;
104
+ --bg-color-0: rgb(71, 76, 80);
105
+ --bg-color-1: rgb(63, 68, 71);
106
+ --bg-color-2: rgba(135, 131, 120, 0.15);
107
+
108
+ --notion-red: rgb(255, 115, 105);
109
+ --notion-pink: rgb(226, 85, 161);
110
+ --notion-blue: rgb(82, 156, 202);
111
+ --notion-purple: rgb(154, 109, 215);
112
+ --notion-teal: rgb(77, 171, 154);
113
+ --notion-yellow: rgb(255, 220, 73);
114
+ --notion-orange: rgb(255, 163, 68);
115
+ --notion-brown: rgb(147, 114, 100);
116
+ --notion-gray: rgba(151, 154, 155, 0.95);
117
+ --notion-red_background: rgb(89, 65, 65);
118
+ --notion-pink_background: rgb(83, 59, 76);
119
+ --notion-blue_background: rgb(54, 73, 84);
120
+ --notion-purple_background: rgb(68, 63, 87);
121
+ --notion-teal_background: rgb(53, 76, 75);
122
+ --notion-yellow_background: rgb(89, 86, 59);
123
+ --notion-orange_background: rgb(89, 74, 58);
124
+ --notion-brown_background: rgb(67, 64, 64);
125
+ --notion-gray_background: rgb(69, 75, 78);
126
+ --notion-red_background_co: rgba(89, 65, 65, 0.3);
127
+ --notion-pink_background_co: rgba(83, 59, 76, 0.3);
128
+ --notion-blue_background_co: rgba(120, 162, 187, 0.3);
129
+ --notion-purple_background_co: rgba(68, 63, 87, 0.3);
130
+ --notion-teal_background_co: rgba(53, 76, 75, 0.3);
131
+ --notion-yellow_background_co: rgba(89, 86, 59, 0.3);
132
+ --notion-orange_background_co: rgba(89, 74, 58, 0.3);
133
+ --notion-brown_background_co: rgba(67, 64, 64, 0.3);
134
+ --notion-gray_background_co: rgba(69, 75, 78, 0.3);
135
+ }
136
+
137
+ .notion * {
138
+ box-sizing: border-box;
139
+ }
140
+
141
+ .notion {
142
+ font-size: 16px;
143
+ line-height: 1.5;
144
+ color: var(--fg-color);
145
+ caret-color: var(--fg-color);
146
+ font-family: var(--notion-font);
147
+ }
148
+
149
+ .notion>* {
150
+ padding: 3px 0;
151
+ }
152
+
153
+ .notion * {
154
+ margin-block-start: 0;
155
+ margin-block-end: 0;
156
+ }
157
+
158
+ .notion *::selection {
159
+ background: var(--select-color-1);
160
+ }
161
+
162
+ .notion *,
163
+ .notion *:focus {
164
+ outline: 0;
165
+ }
166
+
167
+ .notion-page-content {
168
+ width: 100%;
169
+ display: flex;
170
+ flex-direction: column;
171
+ }
172
+
173
+ @media (min-width: 1300px) and (min-height: 300px) {
174
+ .notion-page-content-has-aside {
175
+ display: flex;
176
+ flex-direction: row;
177
+ width: calc((100vw + var(--notion-max-width)) / 2);
178
+ }
179
+
180
+ .notion-page-content-has-aside .notion-aside {
181
+ display: flex;
182
+ }
183
+
184
+ .notion-page-content-has-aside .notion-page-content-inner {
185
+ width: var(--notion-max-width);
186
+ max-width: var(--notion-max-width);
187
+ }
188
+ }
189
+
190
+ .notion-page-content-inner {
191
+ position: relative;
192
+ display: flex;
193
+ flex-direction: column;
194
+ align-items: flex-start;
195
+ }
196
+
197
+ .notion-aside {
198
+ position: sticky;
199
+ top: 148px;
200
+ z-index: 101;
201
+ /* top: calc((100vh - 48px - 100%) / 2); */
202
+
203
+ align-self: flex-start;
204
+ flex: 1;
205
+
206
+ display: none;
207
+ flex-direction: column;
208
+ align-items: center;
209
+ }
210
+
211
+ .notion-aside-table-of-contents {
212
+ display: flex;
213
+ flex-direction: column;
214
+ align-items: center;
215
+ max-height: calc(100vh - 148px - 16px);
216
+ min-width: 222px;
217
+ overflow: auto;
218
+ background: var(--bg-color);
219
+ border-radius: 4px;
220
+ }
221
+
222
+ .notion-aside-table-of-contents-header {
223
+ text-transform: uppercase;
224
+ font-weight: 400;
225
+ font-size: 1.1em;
226
+ word-break: break-word;
227
+ }
228
+
229
+ .notion-aside-table-of-contents .notion-table-of-contents-item {
230
+ line-height: 1;
231
+ }
232
+
233
+ .notion-aside-table-of-contents .notion-table-of-contents-item-indent-level-0:first-of-type {
234
+ margin-top: 0;
235
+ }
236
+
237
+ .notion-aside-table-of-contents .notion-table-of-contents-item-indent-level-0 {
238
+ margin-top: 0.25em;
239
+ }
240
+
241
+ .notion-aside-table-of-contents .notion-table-of-contents-item-indent-level-1 {
242
+ font-size: 13px;
243
+ }
244
+
245
+ .notion-aside-table-of-contents .notion-table-of-contents-item-indent-level-2 {
246
+ font-size: 12px;
247
+ }
248
+
249
+ .notion-aside-table-of-contents .notion-table-of-contents-item-body {
250
+ border: 0 none;
251
+ }
252
+
253
+ .notion-table-of-contents-active-item {
254
+ color: var(--select-color-0) !important;
255
+ }
256
+
257
+ .notion-app {
258
+ position: relative;
259
+ background: var(--bg-color);
260
+ min-height: 100vh;
261
+ }
262
+
263
+ .notion-viewport {
264
+ position: relative;
265
+ padding: 0px;
266
+ top: 0;
267
+ left: 0;
268
+ right: 0;
269
+ bottom: 0;
270
+ }
271
+
272
+ .medium-zoom-overlay {
273
+ z-index: 300;
274
+ }
275
+
276
+ .medium-zoom-image {
277
+ border-radius: 0;
278
+ }
279
+
280
+ .medium-zoom-image--opened {
281
+ margin: unset !important;
282
+ min-width: unset !important;
283
+ min-height: unset !important;
284
+ z-index: 301;
285
+ }
286
+
287
+ .notion-frame {
288
+ display: flex;
289
+ flex-direction: column;
290
+ width: 100%;
291
+ height: 100%;
292
+ padding: 0;
293
+ }
294
+
295
+ .notion-page-scroller {
296
+ position: relative;
297
+ display: flex;
298
+ flex-direction: column;
299
+ flex-grow: 1;
300
+ align-items: center;
301
+ min-height: calc(100vh - var(--notion-header-height));
302
+ }
303
+
304
+ .notion-red,
305
+ .notion-red_co {
306
+ color: var(--notion-red);
307
+ }
308
+
309
+ .notion-pink,
310
+ .notion-pink_co {
311
+ color: var(--notion-pink);
312
+ }
313
+
314
+ .notion-blue,
315
+ .notion-blue_co {
316
+ color: var(--notion-blue);
317
+ }
318
+
319
+ .notion-purple,
320
+ .notion-purple_co {
321
+ color: var(--notion-purple);
322
+ }
323
+
324
+ .notion-teal,
325
+ .notion-teal_co {
326
+ color: var(--notion-teal);
327
+ }
328
+
329
+ .notion-yellow,
330
+ .notion-yellow_co {
331
+ color: var(--notion-yellow);
332
+ }
333
+
334
+ .notion-orange,
335
+ .notion-orange_co {
336
+ color: var(--notion-orange);
337
+ }
338
+
339
+ .notion-brown,
340
+ .notion-brown_co {
341
+ color: var(--notion-brown);
342
+ }
343
+
344
+ .notion-gray,
345
+ .notion-gray_co {
346
+ color: var(--notion-gray);
347
+ }
348
+
349
+ .notion-red_background {
350
+ background-color: var(--notion-red_background);
351
+ }
352
+
353
+ .notion-pink_background {
354
+ background-color: var(--notion-pink_background);
355
+ }
356
+
357
+ .notion-blue_background {
358
+ background-color: var(--notion-blue_background);
359
+ }
360
+
361
+ .notion-purple_background {
362
+ background-color: var(--notion-purple_background);
363
+ }
364
+
365
+ .notion-teal_background {
366
+ background-color: var(--notion-teal_background);
367
+ }
368
+
369
+ .notion-yellow_background {
370
+ background-color: var(--notion-yellow_background);
371
+ }
372
+
373
+ .notion-orange_background {
374
+ background-color: var(--notion-orange_background);
375
+ }
376
+
377
+ .notion-brown_background {
378
+ background-color: var(--notion-brown_background);
379
+ }
380
+
381
+ .notion-gray_background {
382
+ background-color: var(--notion-gray_background);
383
+ }
384
+
385
+ .notion-red_background_co {
386
+ background-color: var(--notion-red_background_co);
387
+ }
388
+
389
+ .notion-pink_background_co {
390
+ background-color: var(--notion-pink_background_co);
391
+ }
392
+
393
+ .notion-blue_background_co {
394
+ background-color: var(--notion-blue_background_co);
395
+ }
396
+
397
+ .notion-purple_background_co {
398
+ background-color: var(--notion-purple_background_co);
399
+ }
400
+
401
+ .notion-teal_background_co {
402
+ background-color: var(--notion-teal_background_co);
403
+ }
404
+
405
+ .notion-yellow_background_co {
406
+ background-color: var(--notion-yellow_background_co);
407
+ }
408
+
409
+ .notion-orange_background_co {
410
+ background-color: var(--notion-orange_background_co);
411
+ }
412
+
413
+ .notion-brown_background_co {
414
+ background-color: var(--notion-brown_background_co);
415
+ }
416
+
417
+ .notion-gray_background_co {
418
+ background-color: var(--notion-gray_background_co);
419
+ }
420
+
421
+ .notion-item-blue {
422
+ background-color: var(--notion-item-blue);
423
+ color: var(--notion-item-text-blue);
424
+ }
425
+
426
+ .notion-item-orange {
427
+ background-color: var(--notion-item-orange);
428
+ color: var(--notion-item-text-orange);
429
+ }
430
+
431
+ .notion-item-green {
432
+ background-color: var(--notion-item-green);
433
+ color: var(--notion-item-text-green);
434
+ }
435
+
436
+ .notion-item-pink {
437
+ background-color: var(--notion-item-pink);
438
+ color: var(--notion-item-text-pink);
439
+ }
440
+
441
+ .notion-item-brown {
442
+ background-color: var(--notion-item-brown);
443
+ color: var(--notion-item-text-brown);
444
+ }
445
+
446
+ .notion-item-red {
447
+ background-color: var(--notion-item-red);
448
+ color: var(--notion-item-text-red);
449
+ }
450
+
451
+ .notion-item-yellow {
452
+ background-color: var(--notion-item-yellow);
453
+ color: var(--notion-item-text-yellow);
454
+ }
455
+
456
+ .notion-item-default,
457
+ .notion-item-default-inferred {
458
+ background-color: var(--notion-item-default);
459
+ color: var(--notion-item-text-default);
460
+ }
461
+
462
+ .notion-item-purple {
463
+ background-color: var(--notion-item-purple);
464
+ color: var(--notion-item-text-purple);
465
+ }
466
+
467
+ .notion-item-gray {
468
+ background-color: var(--notion-item-gray);
469
+ color: var(--notion-item-text-gray);
470
+ }
471
+
472
+ .notion-item-bullet-blue {
473
+ background-color: var(--notion-item-bullet-blue);
474
+ }
475
+
476
+ .notion-item-bullet-orange {
477
+ background-color: var(--notion-item-bullet-orange);
478
+ }
479
+
480
+ .notion-item-bullet-green {
481
+ background-color: var(--notion-item-bullet-green);
482
+ }
483
+
484
+ .notion-item-bullet-pink {
485
+ background-color: var(--notion-item-bullet-pink);
486
+ }
487
+
488
+ .notion-item-bullet-brown {
489
+ background-color: var(--notion-item-bullet-brown);
490
+ }
491
+
492
+ .notion-item-bullet-red {
493
+ background-color: var(--notion-item-bullet-red);
494
+ }
495
+
496
+ .notion-item-bullet-yellow {
497
+ background-color: var(--notion-item-bullet-yellow);
498
+ }
499
+
500
+ .notion-item-bullet-default {
501
+ background-color: var(--notion-item-bullet-default);
502
+ }
503
+
504
+ .notion-item-bullet-default-inferred {
505
+ background-color: var(--notion-item-bullet-gray);
506
+ }
507
+
508
+ .notion-item-bullet-purple {
509
+ background-color: var(--notion-item-bullet-purple);
510
+ }
511
+
512
+ .notion-item-bullet-gray {
513
+ background-color: var(--notion-item-bullet-gray);
514
+ }
515
+
516
+ .notion b {
517
+ font-weight: 600;
518
+ }
519
+
520
+ .notion-title {
521
+ width: 100%;
522
+ font-size: 2.5em;
523
+ font-weight: 600;
524
+ margin-bottom: 20px;
525
+ line-height: 1.2;
526
+ }
527
+
528
+ .notion-h {
529
+ position: relative;
530
+ display: inline;
531
+
532
+ font-weight: 600;
533
+ line-height: 1.3;
534
+ padding: 3px 2px;
535
+ margin-bottom: 1px;
536
+
537
+ max-width: 100%;
538
+ white-space: pre-wrap;
539
+ word-break: break-word;
540
+ width: 100%;
541
+ }
542
+
543
+ .notion-h1 {
544
+ font-size: 1.875em;
545
+ margin-top: 1.08em;
546
+ }
547
+
548
+ .notion-header-anchor {
549
+ position: absolute;
550
+ top: -54px;
551
+ left: 0;
552
+ }
553
+
554
+ .notion-title+.notion-h1,
555
+ .notion-title+.notion-h2,
556
+ .notion-title+.notion-h3 {
557
+ margin-top: 0;
558
+ }
559
+
560
+ /* TODO: notion-page-content */
561
+ .notion-h1:first-child {
562
+ margin-top: 0;
563
+ }
564
+
565
+ /* .notion-h1:first-of-type {
566
+ margin-top: 2px;
567
+ } */
568
+ .notion-h2 {
569
+ font-size: 1.5em;
570
+ margin-top: 1.1em;
571
+ }
572
+
573
+ .notion-h3 {
574
+ font-size: 1.25em;
575
+ margin-top: 1em;
576
+ }
577
+
578
+ .notion-h:hover .notion-hash-link {
579
+ opacity: 1;
580
+ }
581
+
582
+ /* Add specific styles for headings in sync blocks */
583
+ .notion-sync-block .notion-h {
584
+ display: block;
585
+ }
586
+
587
+ /* Preserve original styles for toggle headings */
588
+ details.notion-toggle .notion-h {
589
+ display: inline;
590
+ }
591
+
592
+ .notion-hash-link {
593
+ opacity: 0;
594
+ text-decoration: none;
595
+ float: left;
596
+ margin-left: -20px;
597
+ padding-right: 4px;
598
+ fill: var(--fg-color-icon);
599
+ }
600
+
601
+ .notion-page-cover {
602
+ display: block;
603
+ object-fit: cover;
604
+ width: 100%;
605
+ height: 30vh !important;
606
+ min-height: 30vh !important;
607
+ max-height: 30vh !important;
608
+ padding: 0;
609
+ }
610
+
611
+ .notion-page-cover-wrapper {
612
+ width: 100%;
613
+ height: 30vh;
614
+ min-height: 30vh;
615
+ max-height: 30vh;
616
+ display: flex;
617
+ justify-content: center;
618
+ align-items: center;
619
+ }
620
+
621
+ .notion-collection-card-cover {
622
+ overflow: hidden;
623
+ }
624
+
625
+ .notion-collection-card-cover span,
626
+ .notion-collection-card-cover img {
627
+ min-height: 100% !important;
628
+ max-height: 100% !important;
629
+ }
630
+
631
+ .notion-page-cover-wrapper span,
632
+ .notion-page-cover-wrapper img {
633
+ width: 100% !important;
634
+ height: 30vh !important;
635
+ min-height: 30vh !important;
636
+ max-height: 30vh !important;
637
+ }
638
+
639
+ .notion-page {
640
+ position: relative;
641
+ padding: 0;
642
+ margin: 0 auto;
643
+ display: flex;
644
+ flex-direction: column;
645
+ flex-grow: 1;
646
+ flex-shrink: 0;
647
+ align-items: flex-start;
648
+ width: 100%;
649
+ max-width: 100%;
650
+ }
651
+
652
+ .notion-full-page {
653
+ padding-bottom: calc(max(10vh, 120px));
654
+ }
655
+
656
+ .notion-page-no-cover {
657
+ margin-top: 48px !important;
658
+ padding-top: 96px;
659
+ }
660
+
661
+ .notion-page-no-cover.notion-page-no-icon {
662
+ padding-top: 0;
663
+ }
664
+
665
+ .notion-page-no-cover.notion-page-has-image-icon {
666
+ padding-top: 148px;
667
+ }
668
+
669
+ .notion-page-has-cover.notion-page-no-icon {
670
+ padding-top: 48px;
671
+ }
672
+
673
+ .notion-page-has-cover {
674
+ padding-top: 96px;
675
+ }
676
+
677
+ .notion-page-has-cover.notion-page-has-icon.notion-page-has-text-icon {
678
+ padding-top: 64px;
679
+ }
680
+
681
+ .notion-page-icon-hero {
682
+ position: absolute;
683
+ top: 0;
684
+ left: 50%;
685
+ display: flex;
686
+ flex-direction: row;
687
+ justify-content: center;
688
+ }
689
+
690
+ .notion-page-icon-hero.notion-page-icon-image {
691
+ width: 124px;
692
+ height: 124px;
693
+ margin-left: -62px;
694
+ }
695
+
696
+ .notion-page-icon-hero.notion-page-icon-span {
697
+ height: 78px;
698
+ width: 78px;
699
+ margin-left: -39px;
700
+ }
701
+
702
+ .notion-page-icon-hero .notion-page-icon {
703
+ position: relative;
704
+ display: block;
705
+ }
706
+
707
+ .notion-page-has-cover .notion-page-icon-hero.notion-page-icon-image {
708
+ top: -62px;
709
+ }
710
+
711
+ .notion-page-has-cover .notion-page-icon-hero.notion-page-icon-span {
712
+ top: -42px;
713
+ }
714
+
715
+ .notion-page-icon-hero.notion-page-icon-span .notion-page-icon {
716
+ font-size: 78px;
717
+ line-height: 1.1;
718
+ margin-left: 0;
719
+ color: var(--fg-color-icon);
720
+ }
721
+
722
+ .notion-page-icon-hero.notion-page-icon-image .notion-page-icon {
723
+ display: block;
724
+ border-radius: 3px;
725
+ width: 100%;
726
+ height: 100%;
727
+ max-width: 100%;
728
+ max-height: 100%;
729
+ }
730
+
731
+ .notion-page-icon-hero.notion-page-icon-image img {
732
+ object-fit: cover;
733
+ }
734
+
735
+ .notion-page-icon {
736
+ font-family: 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji,
737
+ 'Noto Color Emoji', 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;
738
+ font-size: 1.1em;
739
+ fill: var(--fg-color-6);
740
+ color: var(--fg-color-icon);
741
+ }
742
+
743
+ .notion-search .notion-page-icon {
744
+ fill: var(--fg-color-6);
745
+ color: var(--fg-color);
746
+ }
747
+
748
+ img.notion-page-icon,
749
+ svg.notion-page-icon {
750
+ display: block;
751
+ object-fit: fill;
752
+ border-radius: 3px;
753
+ max-width: 100%;
754
+ max-height: 100%;
755
+ }
756
+
757
+ .notion-page-icon-inline {
758
+ width: 22px;
759
+ height: 22px;
760
+ max-width: 22px;
761
+ max-height: 22px;
762
+ margin: 0 4px;
763
+ }
764
+
765
+ .notion-page-icon-inline span {
766
+ max-width: 100%;
767
+ max-height: 100%;
768
+ }
769
+
770
+ .notion-page-icon-inline img {
771
+ object-fit: cover;
772
+ }
773
+
774
+ .notion-page {
775
+ box-sizing: border-box;
776
+ width: var(--notion-max-width);
777
+ padding-left: calc(min(16px, 8vw));
778
+ padding-right: calc(min(16px, 8vw));
779
+ }
780
+
781
+ .notion-full-width {
782
+ box-sizing: border-box;
783
+ --notion-max-width: calc(min(1920px, 98vw));
784
+ padding-left: calc(min(96px, 8vw));
785
+ padding-right: calc(min(96px, 8vw));
786
+ }
787
+
788
+ .notion-small-text {
789
+ font-size: 14px;
790
+ }
791
+
792
+ .notion-quote {
793
+ display: block;
794
+ width: 100%;
795
+ white-space: pre-wrap;
796
+ word-break: break-word;
797
+ border-left: 3px solid currentcolor;
798
+ padding: 0.2em 0.9em;
799
+ margin: 6px 0;
800
+ font-size: 1.2em;
801
+ }
802
+
803
+ .notion-hr {
804
+ width: 100%;
805
+ margin: 6px 0;
806
+ padding: 0;
807
+ border: none;
808
+ border-bottom: 1px solid var(--bg-color-0);
809
+ }
810
+
811
+ .notion-link {
812
+ color: inherit;
813
+ word-break: break-word;
814
+ text-decoration: inherit;
815
+ border-bottom: 0.05em solid;
816
+ border-color: var(--fg-color-2);
817
+ opacity: 0.7;
818
+ transition:
819
+ border-color 100ms ease-in,
820
+ opacity 100ms ease-in;
821
+ }
822
+
823
+ .notion-link:hover {
824
+ border-color: var(--fg-color-6);
825
+ opacity: 1;
826
+ }
827
+
828
+ .notion-collection .notion-link {
829
+ opacity: 1;
830
+ }
831
+
832
+ .notion-blank {
833
+ width: 100%;
834
+ min-height: 1rem;
835
+ padding: 3px 2px;
836
+ margin-top: 1px;
837
+ margin-bottom: 1px;
838
+ }
839
+
840
+ .notion-page-link {
841
+ display: flex;
842
+ color: var(--fg-color);
843
+ text-decoration: none;
844
+ width: 100%;
845
+ height: 30px;
846
+ margin: 1px 0;
847
+ transition: background 120ms ease-in 0s;
848
+ }
849
+
850
+ .notion-page-link:hover {
851
+ background: var(--bg-color-0);
852
+ }
853
+
854
+ .notion-collection-card .notion-page-link {
855
+ height: unset;
856
+ margin: 0;
857
+ transition: unset;
858
+ }
859
+
860
+ .notion-collection-card .notion-page-link {
861
+ background: unset;
862
+ }
863
+
864
+ .notion-icon {
865
+ display: block;
866
+ width: 18px;
867
+ height: 18px;
868
+ color: var(--fg-color-icon);
869
+ }
870
+
871
+ .notion-page-text {
872
+ white-space: nowrap;
873
+ overflow: hidden;
874
+ text-overflow: ellipsis;
875
+ font-weight: 500;
876
+ line-height: 1.3;
877
+ border-bottom: 1px solid var(--fg-color-1);
878
+ margin: 4px 0;
879
+ }
880
+
881
+ .notion-inline-code {
882
+ color: #eb5757;
883
+ padding: 0.2em 0.4em;
884
+ background: var(--bg-color-2);
885
+ border-radius: 3px;
886
+ font-size: 85%;
887
+ font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier,
888
+ monospace;
889
+ }
890
+
891
+ .notion-inline-underscore {
892
+ text-decoration: underline;
893
+ }
894
+
895
+ .notion-list {
896
+ margin: 0;
897
+ margin-block-start: 0.6em;
898
+ margin-block-end: 0.6em;
899
+ }
900
+
901
+ .notion-list-disc {
902
+ list-style-type: disc;
903
+ padding-inline-start: 1.7em;
904
+ margin-top: 0;
905
+ margin-bottom: 0;
906
+ }
907
+
908
+ .notion-list-numbered {
909
+ list-style-type: decimal;
910
+ padding-inline-start: 1.6em;
911
+ margin-top: 0;
912
+ margin-bottom: 0;
913
+ }
914
+
915
+ .notion-list-disc li {
916
+ padding-left: 0.1em;
917
+ }
918
+
919
+ .notion-list-numbered li {
920
+ padding-left: 0.2em;
921
+ }
922
+
923
+ .notion-list li {
924
+ padding: 6px 0;
925
+ white-space: pre-wrap;
926
+ }
927
+
928
+ .notion-asset-wrapper {
929
+ margin: 0.5rem 0;
930
+ max-width: 100vw;
931
+ min-width: 100%;
932
+ align-self: center;
933
+ display: flex;
934
+ flex-direction: column;
935
+ }
936
+
937
+ .notion-asset-wrapper-image {
938
+ max-width: 100%;
939
+ }
940
+
941
+ .notion-asset-wrapper-full {
942
+ max-width: 100vw;
943
+ }
944
+
945
+ .notion-asset-wrapper img {
946
+ width: 100%;
947
+ height: 100%;
948
+ max-height: 100%;
949
+ }
950
+
951
+ .notion-asset-wrapper iframe {
952
+ border: none;
953
+ background: rgb(247, 246, 245);
954
+ }
955
+
956
+ .notion-text {
957
+ width: 100%;
958
+ white-space: pre-wrap;
959
+ word-break: break-word;
960
+ padding: 3px 2px;
961
+ margin: 1px 0;
962
+ }
963
+
964
+ .notion-text:first-child {
965
+ margin-top: 2px;
966
+ }
967
+
968
+ .notion-text-children {
969
+ padding-left: 1.5em;
970
+ display: flex;
971
+ flex-direction: column;
972
+ }
973
+
974
+ .notion .notion-code {
975
+ font-size: 85%;
976
+ }
977
+
978
+ .notion-code {
979
+ position: relative;
980
+ width: 100%;
981
+ padding: 1em;
982
+ margin: 4px 0;
983
+ border-radius: 3px;
984
+ tab-size: 2;
985
+ display: block;
986
+ box-sizing: border-box;
987
+ overflow: auto;
988
+ background: var(--bg-color-1);
989
+ font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier,
990
+ monospace;
991
+ }
992
+
993
+ .notion-code-copy {
994
+ position: absolute;
995
+ top: 1em;
996
+ right: 1em;
997
+ user-select: none;
998
+ z-index: 9;
999
+ transition: opacity 0.2s cubic-bezier(0.3, 0, 0.5, 1);
1000
+ }
1001
+
1002
+ .notion-code-copy-button {
1003
+ display: inline-block;
1004
+ padding: 0.6em;
1005
+ font-size: 1.25em;
1006
+ line-height: 1em;
1007
+ cursor: pointer;
1008
+
1009
+ transition:
1010
+ background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1),
1011
+ color 0.2s cubic-bezier(0.3, 0, 0.5, 1),
1012
+ border-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
1013
+ box-shadow:
1014
+ 0 1px 0 rgba(27, 31, 36, 0.04),
1015
+ inset 0 1px 0 rgba(255, 255, 255, 0.25);
1016
+ background-color: #f6f8fa;
1017
+
1018
+ color: #24292f;
1019
+ border: 1px solid rgba(27, 31, 36, 0.15);
1020
+ border-radius: 6px;
1021
+ }
1022
+
1023
+ .notion-code-copy-button:hover {
1024
+ background-color: #f3f4f6;
1025
+ border-color: rgba(27, 31, 36, 0.15);
1026
+ transition-duration: 0.1s;
1027
+ }
1028
+
1029
+ .notion-code-copy-button:active {
1030
+ background: hsla(220, 14%, 93%, 1);
1031
+ border-color: rgba(27, 31, 36, 0.15);
1032
+ transition: none;
1033
+ }
1034
+
1035
+ .notion-code .notion-code-copy {
1036
+ opacity: 0;
1037
+ }
1038
+
1039
+ .notion-code:hover .notion-code-copy {
1040
+ opacity: 1;
1041
+ }
1042
+
1043
+ .notion-code-copy-button svg {
1044
+ display: block;
1045
+ }
1046
+
1047
+ .notion-code-copy-tooltip {
1048
+ pointer-events: none;
1049
+ position: absolute;
1050
+ bottom: -38px;
1051
+ left: 0;
1052
+ width: 100%;
1053
+ display: flex;
1054
+ flex-direction: row;
1055
+ justify-content: center;
1056
+ z-index: 99;
1057
+ font-size: 14px;
1058
+ }
1059
+
1060
+ .notion-code-copy-tooltip>div {
1061
+ padding: 6px 8px;
1062
+ background: #222;
1063
+ color: #fff;
1064
+ border-radius: 6px;
1065
+ }
1066
+
1067
+ .notion-column {
1068
+ display: flex;
1069
+ flex-direction: column;
1070
+ padding-top: 12px;
1071
+ padding-bottom: 12px;
1072
+ }
1073
+
1074
+ .notion-column>*:first-child {
1075
+ margin-top: 0;
1076
+ margin-left: 0;
1077
+ margin-right: 0;
1078
+ }
1079
+
1080
+ .notion-column>*:last-child {
1081
+ margin-left: 0;
1082
+ margin-right: 0;
1083
+ margin-bottom: 0;
1084
+ }
1085
+
1086
+ .notion-row {
1087
+ display: flex;
1088
+ overflow: hidden;
1089
+ width: 100%;
1090
+ max-width: 100%;
1091
+ }
1092
+
1093
+ @media (max-width: 640px) {
1094
+ .notion-row {
1095
+ flex-direction: column;
1096
+ }
1097
+
1098
+ .notion-row .notion-column {
1099
+ width: 100% !important;
1100
+ }
1101
+
1102
+ .notion-row .notion-spacer {
1103
+ display: none;
1104
+ }
1105
+ }
1106
+
1107
+ .notion-bookmark {
1108
+ margin: 4px 0;
1109
+ width: 100%;
1110
+ box-sizing: border-box;
1111
+ text-decoration: none;
1112
+ border: 1px solid var(--fg-color-1);
1113
+ border-radius: 3px;
1114
+ display: flex;
1115
+ overflow: hidden;
1116
+ user-select: none;
1117
+ }
1118
+
1119
+ .dark-mode .notion-bookmark {
1120
+ border-color: var(--bg-color-0);
1121
+ }
1122
+
1123
+ .notion-bookmark>div:first-child {
1124
+ flex: 4 1 180px;
1125
+ padding: 12px 14px 14px;
1126
+ overflow: hidden;
1127
+ text-align: left;
1128
+ color: var(--fg-color);
1129
+ }
1130
+
1131
+ .notion-bookmark-title {
1132
+ font-size: 14px;
1133
+ line-height: 20px;
1134
+ white-space: nowrap;
1135
+ overflow: hidden;
1136
+ text-overflow: ellipsis;
1137
+ min-height: 24px;
1138
+ margin-bottom: 2px;
1139
+ }
1140
+
1141
+ .notion-bookmark-description {
1142
+ font-size: 12px;
1143
+ line-height: 16px;
1144
+ opacity: 0.8;
1145
+ height: 32px;
1146
+ overflow: hidden;
1147
+ }
1148
+
1149
+ .notion-bookmark-link {
1150
+ display: flex;
1151
+ margin-top: 6px;
1152
+ }
1153
+
1154
+ .notion-bookmark-link-icon {
1155
+ width: 16px;
1156
+ height: 16px;
1157
+ min-width: 16px;
1158
+ margin-right: 6px;
1159
+ }
1160
+
1161
+ .notion-bookmark-link-text {
1162
+ font-size: 12px;
1163
+ line-height: 16px;
1164
+ color: var(--fg-color);
1165
+ white-space: nowrap;
1166
+ overflow: hidden;
1167
+ text-overflow: ellipsis;
1168
+ }
1169
+
1170
+ .notion-bookmark-link-icon img {
1171
+ max-width: 100%;
1172
+ max-height: 100%;
1173
+ }
1174
+
1175
+ .notion-bookmark-image {
1176
+ flex: 1 1 180px;
1177
+ position: relative;
1178
+ }
1179
+
1180
+ .notion-bookmark-image>* {
1181
+ position: absolute !important;
1182
+ width: 100%;
1183
+ height: 100%;
1184
+ }
1185
+
1186
+ .notion-bookmark-image span {
1187
+ width: 100% !important;
1188
+ height: 100% !important;
1189
+ max-height: 100%;
1190
+ }
1191
+
1192
+ .notion-column .notion-bookmark-image {
1193
+ display: none;
1194
+ }
1195
+
1196
+ .notion-spacer {
1197
+ width: calc(min(32px, 4vw));
1198
+ }
1199
+
1200
+ .notion-spacer:last-child {
1201
+ display: none;
1202
+ }
1203
+
1204
+ .notion-asset-object-fit {
1205
+ position: absolute;
1206
+ left: 0;
1207
+ top: 0;
1208
+ right: 0;
1209
+ bottom: 0;
1210
+ width: 100%;
1211
+ height: 100%;
1212
+ border-radius: 1px;
1213
+ }
1214
+
1215
+ .notion-image {
1216
+ display: block;
1217
+ width: 100%;
1218
+ border-radius: 1px;
1219
+ }
1220
+
1221
+ .notion-asset-caption {
1222
+ padding: 6px 0 6px 2px;
1223
+ white-space: pre-wrap;
1224
+ word-break: break-word;
1225
+ caret-color: var(--fg-color);
1226
+ font-size: 14px;
1227
+ line-height: 1.4;
1228
+ color: var(--fg-color-3);
1229
+ }
1230
+
1231
+ .notion-callout {
1232
+ padding: 16px 16px 16px 12px;
1233
+ display: inline-flex;
1234
+ width: 100%;
1235
+ border-radius: 3px;
1236
+ border-width: 1px;
1237
+ align-items: center;
1238
+ box-sizing: border-box;
1239
+ margin: 4px 0;
1240
+ border: 1px solid var(--fg-color-0);
1241
+ }
1242
+
1243
+ .dark-mode .notion-callout {
1244
+ border-color: var(--bg-color-2);
1245
+ }
1246
+
1247
+ .notion-callout .notion-page-icon-inline {
1248
+ align-self: flex-start;
1249
+ width: 24px;
1250
+ height: 24px;
1251
+ line-height: 24px;
1252
+ font-size: 1.3em;
1253
+ }
1254
+
1255
+ .notion-callout-text {
1256
+ margin-left: 8px;
1257
+ white-space: pre-wrap;
1258
+ word-break: break-word;
1259
+ width: 100%;
1260
+ }
1261
+
1262
+ .notion-callout-text>*:first-child {
1263
+ margin-top: 0;
1264
+ padding-top: 0;
1265
+ }
1266
+
1267
+ .notion-toggle {
1268
+ width: 100%;
1269
+ padding: 3px 2px;
1270
+ }
1271
+
1272
+ .notion-toggle>summary {
1273
+ cursor: pointer;
1274
+ outline: none;
1275
+ }
1276
+
1277
+ .notion-toggle>div {
1278
+ margin-left: 1.1em;
1279
+ }
1280
+
1281
+ .notion-collection {
1282
+ align-self: center;
1283
+ min-width: 100%;
1284
+ }
1285
+
1286
+ .notion-collection-header {
1287
+ display: flex;
1288
+ align-items: center;
1289
+ height: 42px;
1290
+ padding: 4px 2px;
1291
+ white-space: nowrap;
1292
+ overflow: hidden;
1293
+ }
1294
+
1295
+ .notion-collection-header-title {
1296
+ display: inline-flex;
1297
+ align-items: center;
1298
+ font-size: 1.25em;
1299
+ line-height: 1.2;
1300
+ font-weight: 600;
1301
+ white-space: pre-wrap;
1302
+ word-break: break-word;
1303
+ margin-right: 0.5em;
1304
+ }
1305
+
1306
+ .notion-collection-view-dropdown {
1307
+ cursor: pointer;
1308
+ padding: 6px 8px;
1309
+ border: 0 none;
1310
+ border-radius: 3px;
1311
+ transition: background 120ms ease-in 0s;
1312
+ background: transparent;
1313
+ }
1314
+
1315
+ .notion-collection-view-dropdown:hover {
1316
+ background: var(--bg-color-0);
1317
+ }
1318
+
1319
+ .notion-collection-view-dropdown-icon {
1320
+ position: relative;
1321
+ top: 2px;
1322
+ margin-left: 4px;
1323
+ }
1324
+
1325
+ .notion-collection-view-type {
1326
+ display: flex;
1327
+ align-items: center;
1328
+ font-size: 14px;
1329
+ }
1330
+
1331
+ .notion-collection-view-type-icon {
1332
+ display: inline-block;
1333
+ width: 14px;
1334
+ height: 14px;
1335
+ /* fill: var(--fg-color); */
1336
+ fill: rgba(55, 53, 47);
1337
+ margin-right: 6px;
1338
+ }
1339
+
1340
+ .notion-collection-view-type-title {
1341
+ white-space: nowrap;
1342
+ overflow: hidden;
1343
+ text-overflow: ellipsis;
1344
+ color: var(--fg-color);
1345
+ }
1346
+
1347
+ .notion-table {
1348
+ width: 100vw;
1349
+ max-width: 100vw;
1350
+ align-self: center;
1351
+ overflow: auto hidden;
1352
+ }
1353
+
1354
+ .notion-table-view {
1355
+ position: relative;
1356
+ float: left;
1357
+ min-width: var(--notion-max-width);
1358
+ padding-left: 0;
1359
+ }
1360
+
1361
+ .notion-table-header {
1362
+ display: flex;
1363
+ position: absolute;
1364
+ z-index: 82;
1365
+ height: 33px;
1366
+ color: var(--fg-color-3);
1367
+ min-width: var(--notion-max-width);
1368
+ }
1369
+
1370
+ .notion-table-header-inner {
1371
+ width: 100%;
1372
+ display: inline-flex;
1373
+ border-top: 1px solid var(--fg-color-1);
1374
+ border-bottom: 1px solid var(--fg-color-1);
1375
+ /* box-shadow: white -3px 0 0, rgba(55, 53, 47, 0.16) 0 1px 0; */
1376
+ }
1377
+
1378
+ .notion-table-header-placeholder {
1379
+ height: 34px;
1380
+ }
1381
+
1382
+ .notion-table-th {
1383
+ display: flex;
1384
+ position: relative;
1385
+ }
1386
+
1387
+ .notion-table-view-header-cell {
1388
+ display: flex;
1389
+ flex-shrink: 0;
1390
+ overflow: hidden;
1391
+ height: 32px;
1392
+ font-size: 14px;
1393
+ padding: 0;
1394
+ }
1395
+
1396
+ .notion-table-view-header-cell-inner {
1397
+ user-select: none;
1398
+ display: flex;
1399
+ width: 100%;
1400
+ height: 100%;
1401
+ padding-left: 8px;
1402
+ padding-right: 8px;
1403
+ border-right: 1px solid var(--fg-color-0);
1404
+ }
1405
+
1406
+ .notion-table-th:last-child .notion-table-view-header-cell-inner {
1407
+ border-right: 0 none;
1408
+ }
1409
+
1410
+ .notion-collection-column-title {
1411
+ display: flex;
1412
+ align-items: center;
1413
+ line-height: 120%;
1414
+ min-width: 0;
1415
+ font-size: 14px;
1416
+ }
1417
+
1418
+ .notion-collection-column-title-icon {
1419
+ display: inline-block;
1420
+ width: 14px;
1421
+ height: 14px;
1422
+ min-width: 14px;
1423
+ min-height: 14px;
1424
+ fill: var(--fg-color-2);
1425
+ margin-right: 6px;
1426
+ }
1427
+
1428
+ .notion-collection-column-title-body {
1429
+ white-space: nowrap;
1430
+ overflow: hidden;
1431
+ text-overflow: ellipsis;
1432
+ }
1433
+
1434
+ .notion-table-body {
1435
+ position: relative;
1436
+ min-width: var(--notion-max-width);
1437
+ }
1438
+
1439
+ .notion-table-row {
1440
+ display: flex;
1441
+ border-bottom: 1px solid var(--fg-color-1);
1442
+ }
1443
+
1444
+ .notion-table-cell {
1445
+ min-height: 32px;
1446
+ padding: 5px 8px 6px;
1447
+ font-size: 14px;
1448
+ line-height: 1;
1449
+ white-space: normal;
1450
+ overflow: hidden;
1451
+ word-break: break-word;
1452
+ border-right: 1px solid var(--fg-color-1);
1453
+ }
1454
+
1455
+ .notion-table-cell:last-child {
1456
+ border-right: 0 none;
1457
+ }
1458
+
1459
+ .notion-table-cell-title {
1460
+ font-weight: 500;
1461
+ }
1462
+
1463
+ .notion-table-cell-text {
1464
+ white-space: pre-wrap;
1465
+ }
1466
+
1467
+ .notion-table-cell-text,
1468
+ .notion-table-cell-number,
1469
+ .notion-table-cell-url,
1470
+ .notion-table-cell-email,
1471
+ .notion-table-cell-phone_number {
1472
+ line-height: 1.5;
1473
+ }
1474
+
1475
+ .notion-table-cell-number {
1476
+ white-space: pre-wrap;
1477
+ }
1478
+
1479
+ .notion-table-cell-select,
1480
+ .notion-table-cell-multi_select {
1481
+ padding: 7px 8px 0;
1482
+ }
1483
+
1484
+ .notion-table-cell-auto_increment_id {
1485
+ color: var(--fg-color-7);
1486
+ }
1487
+
1488
+ .notion-property-select,
1489
+ .notion-property-status,
1490
+ .notion-property-multi_select {
1491
+ display: flex;
1492
+ flex-wrap: wrap;
1493
+ gap: 6px;
1494
+ }
1495
+
1496
+ .notion-property-select-item,
1497
+ .notion-property-status-item,
1498
+ .notion-property-multi_select-item {
1499
+ display: flex;
1500
+ align-items: center;
1501
+ padding: 0 6px;
1502
+ border-radius: 3px;
1503
+ height: 20px;
1504
+ white-space: nowrap;
1505
+ overflow: hidden;
1506
+ text-overflow: ellipsis;
1507
+ line-height: 120%;
1508
+ }
1509
+
1510
+ .notion-property-status-item {
1511
+ border-radius: 20px;
1512
+ }
1513
+
1514
+ .notion-property-file {
1515
+ display: flex;
1516
+ flex-wrap: wrap;
1517
+ align-content: flex-start;
1518
+ }
1519
+
1520
+ .notion-property-file img {
1521
+ max-height: 24px;
1522
+ max-width: 100%;
1523
+ margin-right: 6px;
1524
+ }
1525
+
1526
+ .notion-collection-card-cover .notion-property-file {
1527
+ height: 100%;
1528
+ }
1529
+
1530
+ .notion-collection-card-cover .notion-property-file img {
1531
+ width: 100%;
1532
+ margin: 0;
1533
+ max-height: 100%;
1534
+ }
1535
+
1536
+ .notion-collection-card .notion-property-checkbox-container {
1537
+ display: flex;
1538
+ }
1539
+
1540
+ .notion-property-checkbox-text {
1541
+ display: none;
1542
+ }
1543
+
1544
+ .notion-collection-card .notion-property-checkbox-text {
1545
+ display: inline-block;
1546
+ margin-left: 6px;
1547
+ }
1548
+
1549
+ .notion-property-checkbox {
1550
+ width: 16px;
1551
+ height: 16px;
1552
+ }
1553
+
1554
+ .notion-property-checkbox-checked {
1555
+ width: 16px;
1556
+ height: 16px;
1557
+ background: var(--select-color-0);
1558
+ }
1559
+
1560
+ .notion-property-checkbox-checked svg {
1561
+ position: relative;
1562
+ display: block;
1563
+ /* top: -3px; */
1564
+ top: 1px;
1565
+ left: 1px;
1566
+ width: 14px;
1567
+ height: 14px;
1568
+ fill: #fff;
1569
+ }
1570
+
1571
+ .notion-property-checkbox-unchecked {
1572
+ width: 16px;
1573
+ height: 16px;
1574
+ border: 1.3px solid var(--fg-color);
1575
+ }
1576
+
1577
+ .notion-gallery {
1578
+ align-self: center;
1579
+ }
1580
+
1581
+ .notion-gallery-view {
1582
+ position: relative;
1583
+ padding-left: 0;
1584
+ transition: padding 200ms ease-out;
1585
+ }
1586
+
1587
+ .notion-gallery-grid {
1588
+ display: grid;
1589
+ position: relative;
1590
+ grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
1591
+ grid-auto-rows: 1fr;
1592
+ gap: 16px;
1593
+ border-top: 1px solid var(--fg-color-1);
1594
+ padding-top: 16px;
1595
+ padding-bottom: 4px;
1596
+ }
1597
+
1598
+ .notion-gallery-grid-size-small {
1599
+ grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
1600
+ }
1601
+
1602
+ .notion-gallery-grid-size-large {
1603
+ grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
1604
+ }
1605
+
1606
+ .notion-collection-card {
1607
+ display: flex;
1608
+ flex-direction: column;
1609
+ overflow: hidden;
1610
+
1611
+ text-decoration: none;
1612
+ box-shadow:
1613
+ rgba(15, 15, 15, 0.1) 0 0 0 1px,
1614
+ rgba(15, 15, 15, 0.1) 0 2px 4px;
1615
+ border-radius: 3px;
1616
+ background: var(--bg-color);
1617
+ color: var(--fg-color);
1618
+ transition: background 100ms ease-out 0s;
1619
+
1620
+ user-select: none;
1621
+ cursor: pointer;
1622
+ }
1623
+
1624
+ .notion-collection-card:hover {
1625
+ background: var(--bg-color-0);
1626
+ }
1627
+
1628
+ .notion-collection-card-cover {
1629
+ position: relative;
1630
+ width: 100%;
1631
+ height: 190px;
1632
+ border-bottom: 1px solid var(--fg-color-0);
1633
+ overflow: hidden;
1634
+ }
1635
+
1636
+ .notion-collection-card-cover img {
1637
+ width: 100%;
1638
+ height: 100%;
1639
+ border-radius: 1px 1px 0 0;
1640
+ /* object-fit: cover; */
1641
+ }
1642
+
1643
+ .notion-collection-card-cover .notion-collection-card-cover-empty {
1644
+ width: 100%;
1645
+ height: 100%;
1646
+ pointer-events: none;
1647
+ overflow: hidden;
1648
+ background: var(--fg-color-5);
1649
+ box-shadow: var(--fg-color-0) 0 -1px 0 0 inset;
1650
+ padding: 8px 8px 0;
1651
+ }
1652
+
1653
+ .notion-collection-card-size-small .notion-collection-card-cover {
1654
+ height: 124px;
1655
+ }
1656
+
1657
+ .notion-collection-card-body {
1658
+ display: flex;
1659
+ flex-direction: column;
1660
+ padding: 4px 10px;
1661
+ }
1662
+
1663
+ .notion-collection-card-property {
1664
+ padding: 4px 0;
1665
+ white-space: nowrap;
1666
+ word-break: break-word;
1667
+ overflow: hidden;
1668
+ text-overflow: ellipsis;
1669
+ font-size: 12px;
1670
+ }
1671
+
1672
+ .notion-collection-card-property:first-child {
1673
+ font-size: 14px;
1674
+ font-weight: 500;
1675
+ }
1676
+
1677
+ .notion-collection-card-property:not(:first-child) {
1678
+ white-space: nowrap;
1679
+ text-overflow: clip;
1680
+ }
1681
+
1682
+ .notion-collection-card-property img {
1683
+ max-height: 18px;
1684
+ }
1685
+
1686
+ .notion-list-collection {
1687
+ align-self: center;
1688
+ }
1689
+
1690
+ .notion-list-collection {
1691
+ width: 100%;
1692
+ max-width: 100%;
1693
+ }
1694
+
1695
+ .notion-list-view {
1696
+ position: relative;
1697
+ padding-left: 0;
1698
+ transition: padding 200ms ease-out;
1699
+ max-width: 100%;
1700
+ }
1701
+
1702
+ .notion-list-body {
1703
+ display: flex;
1704
+ flex-direction: column;
1705
+ border-top: 1px solid var(--fg-color-1);
1706
+ padding-top: 8px;
1707
+ max-width: 100%;
1708
+ overflow: hidden;
1709
+ }
1710
+
1711
+ .notion-list-item {
1712
+ display: flex;
1713
+ justify-content: space-between;
1714
+ align-items: center;
1715
+ padding: 0 4px;
1716
+ margin: 1px 0;
1717
+ max-width: 100%;
1718
+ overflow: hidden;
1719
+ }
1720
+
1721
+ .notion-list-item-title {
1722
+ display: flex;
1723
+ align-items: center;
1724
+ white-space: nowrap;
1725
+ overflow: hidden;
1726
+ text-overflow: ellipsis;
1727
+ font-weight: 500;
1728
+ line-height: 1.3;
1729
+ }
1730
+
1731
+ .notion-list-item-body {
1732
+ display: flex;
1733
+ align-items: center;
1734
+ flex-wrap: nowrap;
1735
+ overflow: hidden;
1736
+ }
1737
+
1738
+ .notion-list-item-property {
1739
+ /* display: flex;
1740
+ align-items: center; */
1741
+ margin-left: 14px;
1742
+ font-size: 14px;
1743
+ }
1744
+
1745
+ .notion-list-item-property .notion-property-date,
1746
+ .notion-list-item-property .notion-property-created_time,
1747
+ .notion-list-item-property .notion-property-last_edited_time,
1748
+ .notion-list-item-property .notion-property-url {
1749
+ display: inline-block;
1750
+ color: var(--fg-color-3);
1751
+ font-size: 12px;
1752
+ /* white-space: nowrap; */
1753
+ overflow: hidden;
1754
+ text-overflow: ellipsis;
1755
+ }
1756
+
1757
+ .notion-board {
1758
+ width: 100vw;
1759
+ max-width: 100vw;
1760
+ align-self: center;
1761
+ overflow: auto hidden;
1762
+ }
1763
+
1764
+ .notion-board-view {
1765
+ position: relative;
1766
+ float: left;
1767
+ min-width: 100%;
1768
+ padding-left: 0;
1769
+ transition: padding 200ms ease-out;
1770
+ }
1771
+
1772
+ .notion-board-header {
1773
+ display: flex;
1774
+ position: absolute;
1775
+ z-index: 82;
1776
+ height: 44px;
1777
+ min-width: 100%;
1778
+ }
1779
+
1780
+ .notion-board-header-inner {
1781
+ display: inline-flex;
1782
+ border-top: 1px solid var(--fg-color-1);
1783
+ border-bottom: 1px solid var(--fg-color-1);
1784
+ }
1785
+
1786
+ .notion-board-header-placeholder {
1787
+ height: var(--notion-header-height);
1788
+ }
1789
+
1790
+ .notion-board-th {
1791
+ display: flex;
1792
+ align-items: center;
1793
+ font-size: 14px;
1794
+ padding-right: 16px;
1795
+ box-sizing: content-box;
1796
+ flex-shrink: 0;
1797
+ }
1798
+
1799
+ .notion-board-th-body {
1800
+ display: flex;
1801
+ align-items: center;
1802
+ font-size: 14px;
1803
+ line-height: 1.2;
1804
+ padding-left: 2px;
1805
+ padding-right: 4px;
1806
+ white-space: nowrap;
1807
+ overflow: hidden;
1808
+ }
1809
+
1810
+ .notion-board-th-count {
1811
+ color: var(--fg-color-3);
1812
+ font-weight: 500;
1813
+ padding: 0 8px;
1814
+ }
1815
+
1816
+ .notion-board-th-empty {
1817
+ margin-right: 6px;
1818
+ position: relative;
1819
+ top: 2px;
1820
+ }
1821
+
1822
+ .notion-board-body {
1823
+ display: inline-flex;
1824
+ }
1825
+
1826
+ .notion-board-group {
1827
+ flex: 0 0 auto;
1828
+ padding-right: 16px;
1829
+ box-sizing: content-box;
1830
+ }
1831
+
1832
+ .notion-board-group-card {
1833
+ margin-bottom: 8px;
1834
+ }
1835
+
1836
+ .notion-board-view .notion-board-th,
1837
+ .notion-board-view .notion-board-group {
1838
+ width: 260px;
1839
+ }
1840
+
1841
+ .notion-board-view-size-small .notion-board-th,
1842
+ .notion-board-view-size-small .notion-board-group {
1843
+ width: 180px;
1844
+ }
1845
+
1846
+ .notion-board-view-size-large .notion-board-th,
1847
+ .notion-board-view-size-large .notion-board-group {
1848
+ width: 320px;
1849
+ }
1850
+
1851
+ .notion-board-view .notion-collection-card .notion-collection-card-cover {
1852
+ height: 148px;
1853
+ }
1854
+
1855
+ .notion-board-view-size-small .notion-collection-card .notion-collection-card-cover {
1856
+ height: 100px;
1857
+ }
1858
+
1859
+ .notion-board-view-size-large .notion-collection-card .notion-collection-card-cover {
1860
+ height: 180px;
1861
+ }
1862
+
1863
+ .notion-calendar-collection {
1864
+ width: 100%;
1865
+ max-width: 100%;
1866
+ align-self: center;
1867
+ box-sizing: border-box;
1868
+ overflow: visible;
1869
+ }
1870
+
1871
+ .notion-calendar-view {
1872
+ position: relative;
1873
+ padding-left: 0;
1874
+ transition: padding 200ms ease-out;
1875
+ max-width: 100%;
1876
+ width: 100%;
1877
+ overflow-x: auto;
1878
+ overflow-y: visible;
1879
+ box-sizing: border-box;
1880
+ }
1881
+
1882
+ .notion-calendar-header {
1883
+ display: flex;
1884
+ align-items: center;
1885
+ justify-content: space-between;
1886
+ padding: 12px 0 16px 0;
1887
+ margin-bottom: 0;
1888
+ border-bottom: none;
1889
+ }
1890
+
1891
+ .notion-calendar-header-title {
1892
+ font-size: 20px;
1893
+ font-weight: 600;
1894
+ color: var(--fg-color);
1895
+ line-height: 1.5;
1896
+ }
1897
+
1898
+ .notion-calendar-header-controls {
1899
+ display: flex;
1900
+ align-items: center;
1901
+ gap: 16px;
1902
+ }
1903
+
1904
+ .notion-calendar-header-nav {
1905
+ display: flex;
1906
+ align-items: center;
1907
+ gap: 4px;
1908
+ }
1909
+
1910
+ .notion-calendar-nav-button {
1911
+ display: flex;
1912
+ align-items: center;
1913
+ justify-content: center;
1914
+ width: 28px;
1915
+ height: 28px;
1916
+ border: 1px solid rgba(55, 53, 47, 0.16);
1917
+ background: var(--bg-color);
1918
+ border-radius: 3px;
1919
+ cursor: pointer;
1920
+ font-size: 16px;
1921
+ color: var(--fg-color);
1922
+ transition: background 100ms ease-in, border-color 100ms ease-in;
1923
+ user-select: none;
1924
+ padding: 0;
1925
+ }
1926
+
1927
+ .notion-calendar-nav-button:hover {
1928
+ background: rgba(55, 53, 47, 0.08);
1929
+ border-color: rgba(55, 53, 47, 0.2);
1930
+ }
1931
+
1932
+ .notion-calendar-nav-button:active {
1933
+ background: rgba(55, 53, 47, 0.12);
1934
+ }
1935
+
1936
+ .notion-calendar-nav-today-button {
1937
+ display: flex;
1938
+ align-items: center;
1939
+ justify-content: center;
1940
+ min-width: 48px;
1941
+ height: 28px;
1942
+ border: 1px solid rgba(55, 53, 47, 0.16);
1943
+ background: var(--bg-color);
1944
+ border-radius: 3px;
1945
+ cursor: pointer;
1946
+ font-size: 14px;
1947
+ color: var(--fg-color);
1948
+ transition: background 100ms ease-in, border-color 100ms ease-in;
1949
+ user-select: none;
1950
+ padding: 0 8px;
1951
+ }
1952
+
1953
+ .notion-calendar-nav-today-button:hover {
1954
+ background: rgba(55, 53, 47, 0.08);
1955
+ border-color: rgba(55, 53, 47, 0.2);
1956
+ }
1957
+
1958
+ .notion-calendar-nav-today-button:active {
1959
+ background: rgba(55, 53, 47, 0.12);
1960
+ }
1961
+
1962
+ .notion-calendar-grid {
1963
+ display: flex;
1964
+ flex-direction: column;
1965
+ width: 100%;
1966
+ min-width: 0;
1967
+ overflow: visible;
1968
+ box-sizing: border-box;
1969
+ }
1970
+
1971
+ .notion-calendar-weekdays {
1972
+ display: grid;
1973
+ grid-template-columns: repeat(7, minmax(0, 1fr));
1974
+ gap: 0;
1975
+ margin-bottom: 0;
1976
+ min-width: 0;
1977
+ box-sizing: border-box;
1978
+ border-top: 1px solid var(--fg-color-1);
1979
+ border-left: 1px solid var(--fg-color-1);
1980
+ }
1981
+
1982
+ .notion-calendar-weekday {
1983
+ display: flex;
1984
+ align-items: center;
1985
+ justify-content: center;
1986
+ padding: 8px;
1987
+ font-size: 12px;
1988
+ font-weight: 600;
1989
+ color: var(--fg-color-3);
1990
+ text-transform: uppercase;
1991
+ border-right: 1px solid var(--fg-color-1);
1992
+ border-bottom: 1px solid var(--fg-color-1);
1993
+ background: var(--bg-color);
1994
+ }
1995
+
1996
+ .notion-calendar-days {
1997
+ display: flex;
1998
+ flex-direction: column;
1999
+ gap: 0;
2000
+ border-top: 1px solid var(--fg-color-1);
2001
+ border-left: 1px solid var(--fg-color-1);
2002
+ position: relative;
2003
+ overflow: visible;
2004
+ min-width: 0;
2005
+ box-sizing: border-box;
2006
+ }
2007
+
2008
+ .notion-calendar-weeks {
2009
+ display: flex;
2010
+ flex-direction: column;
2011
+ gap: 0;
2012
+ overflow: visible;
2013
+ }
2014
+
2015
+ .notion-calendar-week-row {
2016
+ position: relative;
2017
+ display: grid;
2018
+ grid-template-columns: repeat(7, minmax(0, 1fr));
2019
+ gap: 0;
2020
+ border-top: 1px solid var(--fg-color-1);
2021
+ border-left: 1px solid var(--fg-color-1);
2022
+ overflow: visible;
2023
+ min-width: 0;
2024
+ box-sizing: border-box;
2025
+ isolation: isolate;
2026
+ }
2027
+
2028
+ .notion-calendar-day {
2029
+ border-right: 1px solid var(--fg-color-1);
2030
+ border-bottom: 1px solid var(--fg-color-1);
2031
+ padding: 6px 4px;
2032
+ background: var(--bg-color);
2033
+ position: relative;
2034
+ overflow: visible;
2035
+ z-index: 0;
2036
+ display: flex;
2037
+ flex-direction: column;
2038
+ min-width: 0;
2039
+ box-sizing: border-box;
2040
+ height: 100%;
2041
+ clip-path: none;
2042
+ }
2043
+
2044
+ .notion-calendar-day::-webkit-scrollbar {
2045
+ width: 4px;
2046
+ }
2047
+
2048
+ .notion-calendar-day::-webkit-scrollbar-track {
2049
+ background: transparent;
2050
+ }
2051
+
2052
+ .notion-calendar-day::-webkit-scrollbar-thumb {
2053
+ background-color: var(--fg-color-1);
2054
+ border-radius: 2px;
2055
+ }
2056
+
2057
+ .notion-calendar-day::-webkit-scrollbar-thumb:hover {
2058
+ background-color: var(--fg-color-2);
2059
+ }
2060
+
2061
+ .notion-calendar-day-has-multiday {
2062
+ overflow: visible;
2063
+ z-index: 1;
2064
+ isolation: isolate;
2065
+ }
2066
+
2067
+ .notion-calendar-day-other-month {
2068
+ background: var(--bg-color);
2069
+ color: var(--fg-color-3);
2070
+ }
2071
+
2072
+ .notion-calendar-day-today .notion-calendar-day-number {
2073
+ color: #fff;
2074
+ font-weight: 600;
2075
+ background: #ff0000;
2076
+ border-radius: 50%;
2077
+ width: 32px;
2078
+ height: 32px;
2079
+ display: inline-flex;
2080
+ align-items: center;
2081
+ justify-content: center;
2082
+ margin-bottom: 4px;
2083
+ padding: 0;
2084
+ font-size: 14px;
2085
+ }
2086
+
2087
+ .notion-calendar-day-number {
2088
+ font-size: 13px;
2089
+ font-weight: 500;
2090
+ color: var(--fg-color);
2091
+ margin-bottom: 2px;
2092
+ padding: 2px 4px;
2093
+ display: inline-block;
2094
+ line-height: 1.2;
2095
+ }
2096
+
2097
+ .notion-calendar-day-events {
2098
+ display: flex;
2099
+ flex-direction: column;
2100
+ gap: 1px;
2101
+ overflow: visible;
2102
+ position: relative;
2103
+ flex: 1;
2104
+ min-height: 0;
2105
+ padding-top: 0;
2106
+ }
2107
+
2108
+ .notion-calendar-event-card {
2109
+ position: absolute;
2110
+ display: flex;
2111
+ flex-direction: column;
2112
+ padding: 4px 6px;
2113
+ margin: 0;
2114
+ background: #ffffff;
2115
+ border-radius: 3px;
2116
+ border: 1px solid rgba(55, 53, 47, 0.16);
2117
+ cursor: pointer;
2118
+ transition: background 100ms ease-in, border-color 100ms ease-in, box-shadow 100ms ease-in;
2119
+ text-decoration: none;
2120
+ color: inherit;
2121
+ overflow: visible;
2122
+ gap: 2px;
2123
+ box-sizing: border-box;
2124
+ white-space: normal;
2125
+ word-wrap: break-word;
2126
+ min-height: fit-content;
2127
+ height: auto;
2128
+ width: 100%;
2129
+ max-width: none;
2130
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
2131
+ font-size: 12px;
2132
+ line-height: 1.3;
2133
+ z-index: 10;
2134
+ will-change: transform;
2135
+ }
2136
+
2137
+ .notion-calendar-event-card .notion-collection-card-body {
2138
+ padding: 2px 4px;
2139
+ }
2140
+
2141
+ .notion-calendar-event-card .notion-collection-card-property {
2142
+ padding: 2px 0;
2143
+ font-size: 11px;
2144
+ line-height: 1.2;
2145
+ }
2146
+
2147
+ .notion-calendar-event-card .notion-collection-card-property:first-child {
2148
+ font-size: 12px;
2149
+ font-weight: 500;
2150
+ padding: 1px 0;
2151
+ }
2152
+
2153
+ .notion-calendar-event-card:hover {
2154
+ background: rgba(55, 53, 47, 0.03);
2155
+ border-color: rgba(55, 53, 47, 0.2);
2156
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
2157
+ }
2158
+
2159
+ /* Wrapper for event cards */
2160
+ .notion-calendar-event-card-wrapper {
2161
+ position: absolute;
2162
+ z-index: 10;
2163
+ overflow: visible;
2164
+ width: 100%;
2165
+ height: auto;
2166
+ }
2167
+
2168
+ .notion-calendar-event-card-wrapper[data-continuation="true"] .notion-calendar-event-card {
2169
+ border-top-left-radius: 0;
2170
+ border-bottom-left-radius: 0;
2171
+ border-left: none;
2172
+ padding-left: 8px;
2173
+ }
2174
+
2175
+ .notion-calendar-event-card-wrapper[data-continues-next-week="true"] .notion-calendar-event-card {
2176
+ border-top-right-radius: 0;
2177
+ border-bottom-right-radius: 0;
2178
+ padding-right: 8px;
2179
+ }
2180
+
2181
+ .notion-calendar-event-clip-left {
2182
+ position: absolute;
2183
+ left: -2px;
2184
+ top: 50%;
2185
+ transform: translateY(-50%);
2186
+ width: 0;
2187
+ height: 0;
2188
+ border-top: 6px solid transparent;
2189
+ border-bottom: 6px solid transparent;
2190
+ border-left: 6px solid rgba(55, 53, 47, 0.16);
2191
+ z-index: 2;
2192
+ }
2193
+
2194
+ .notion-calendar-event-clip-right {
2195
+ position: absolute;
2196
+ right: -2px;
2197
+ top: 50%;
2198
+ transform: translateY(-50%);
2199
+ width: 0;
2200
+ height: 0;
2201
+ border-top: 6px solid transparent;
2202
+ border-bottom: 6px solid transparent;
2203
+ border-right: 6px solid rgba(55, 53, 47, 0.16);
2204
+ z-index: 2;
2205
+ }
2206
+
2207
+ .notion-calendar-event-resume-right {
2208
+ position: absolute;
2209
+ right: -2px;
2210
+ top: 50%;
2211
+ transform: translateY(-50%);
2212
+ width: 0;
2213
+ height: 0;
2214
+ border-top: 6px solid transparent;
2215
+ border-bottom: 6px solid transparent;
2216
+ border-right: 6px solid #2383e2;
2217
+ z-index: 2;
2218
+ }
2219
+
2220
+ .notion-calendar-event-card-wrapper[data-continuation="true"] {
2221
+ pointer-events: none;
2222
+ }
2223
+
2224
+ /* Responsive styles for calendar view */
2225
+ @media (max-width: 768px) {
2226
+ .notion-calendar-header {
2227
+ flex-direction: column;
2228
+ align-items: flex-start;
2229
+ gap: 12px;
2230
+ padding: 12px 0;
2231
+ }
2232
+
2233
+ .notion-calendar-header-title {
2234
+ font-size: 20px;
2235
+ }
2236
+
2237
+ .notion-calendar-day {
2238
+ --multiday-card-height: 40px;
2239
+ --multiday-card-gap: 5px;
2240
+ --multiday-start-offset: 24px;
2241
+ min-height: calc(100px + var(--multiday-layers, 0) * (var(--multiday-card-height) + var(--multiday-card-gap)));
2242
+ padding: 4px;
2243
+ }
2244
+
2245
+ .notion-calendar-day-number {
2246
+ font-size: 12px;
2247
+ }
2248
+
2249
+ .notion-calendar-weekday {
2250
+ font-size: 11px;
2251
+ padding: 6px 4px;
2252
+ }
2253
+
2254
+ .notion-calendar-event-card {
2255
+ padding: 6px 8px;
2256
+ font-size: 12px;
2257
+ }
2258
+ }
2259
+
2260
+ @media (max-width: 480px) {
2261
+ .notion-calendar-header-title {
2262
+ font-size: 18px;
2263
+ }
2264
+
2265
+ .notion-calendar-day {
2266
+ --multiday-card-height: 36px;
2267
+ --multiday-card-gap: 4px;
2268
+ --multiday-start-offset: 20px;
2269
+ min-height: calc(80px + var(--multiday-layers, 0) * (var(--multiday-card-height) + var(--multiday-card-gap)));
2270
+ padding: 3px;
2271
+ }
2272
+
2273
+ .notion-calendar-day-number {
2274
+ font-size: 11px;
2275
+ margin-bottom: 2px;
2276
+ }
2277
+
2278
+ .notion-calendar-day-today .notion-calendar-day-number {
2279
+ width: 28px;
2280
+ height: 28px;
2281
+ font-size: 12px;
2282
+ }
2283
+
2284
+ .notion-calendar-weekday {
2285
+ font-size: 10px;
2286
+ padding: 4px 2px;
2287
+ }
2288
+
2289
+ .notion-calendar-event-card {
2290
+ padding: 4px 6px;
2291
+ gap: 4px;
2292
+ }
2293
+
2294
+ .notion-calendar-event-title {
2295
+ font-size: 11px;
2296
+ }
2297
+
2298
+ .notion-calendar-event-time {
2299
+ font-size: 10px;
2300
+ }
2301
+
2302
+ .notion-calendar-nav-button {
2303
+ width: 24px;
2304
+ height: 24px;
2305
+ font-size: 14px;
2306
+ }
2307
+
2308
+ .notion-calendar-nav-today-button {
2309
+ min-width: 40px;
2310
+ height: 24px;
2311
+ font-size: 12px;
2312
+ padding: 0 6px;
2313
+ }
2314
+ }
2315
+
2316
+ .notion-collection-page-properties {
2317
+ width: 100%;
2318
+ display: flex;
2319
+ flex-direction: column;
2320
+ }
2321
+
2322
+ .notion-table-of-contents {
2323
+ width: 100%;
2324
+ margin: 4px 0;
2325
+ }
2326
+
2327
+ .notion-table-of-contents-item {
2328
+ color: var(--fg-color);
2329
+ opacity: 0.7;
2330
+ transition:
2331
+ background 100ms ease-in,
2332
+ opacity 100ms ease-in;
2333
+
2334
+ text-decoration: none;
2335
+ user-select: none;
2336
+ transition: background 20ms ease-in 0s;
2337
+ cursor: pointer;
2338
+ width: 100%;
2339
+
2340
+ padding: 6px;
2341
+ font-size: 14px;
2342
+ line-height: 1.3;
2343
+ display: flex;
2344
+ align-items: center;
2345
+
2346
+ white-space: nowrap;
2347
+ overflow: hidden;
2348
+ text-overflow: ellipsis;
2349
+ }
2350
+
2351
+ .notion-table-of-contents-item:hover {
2352
+ background: var(--bg-color-0);
2353
+ opacity: 1;
2354
+ }
2355
+
2356
+ .notion-table-of-contents-item-body {
2357
+ border-bottom: 1px solid var(--fg-color-1);
2358
+ }
2359
+
2360
+ .notion-to-do {
2361
+ width: 100%;
2362
+ display: flex;
2363
+ flex-direction: column;
2364
+ }
2365
+
2366
+ .notion-to-do-item {
2367
+ width: 100%;
2368
+ display: flex;
2369
+ align-items: center;
2370
+ width: 100%;
2371
+ padding-left: 2px;
2372
+ min-height: calc(1.5em + 3px + 3px);
2373
+ }
2374
+
2375
+ .notion-to-do-children {
2376
+ padding-left: 1.5em;
2377
+ }
2378
+
2379
+ .notion-to-do-checked .notion-to-do-item {
2380
+ text-decoration: line-through;
2381
+ opacity: 0.375;
2382
+ }
2383
+
2384
+ .notion-to-do-body {
2385
+ white-space: pre-wrap;
2386
+ word-break: break-word;
2387
+ }
2388
+
2389
+ .notion-to-do-item .notion-property-checkbox {
2390
+ margin-right: 8px;
2391
+ }
2392
+
2393
+ .notion-google-drive {
2394
+ width: 100%;
2395
+ align-self: center;
2396
+ margin: 4px 0;
2397
+ }
2398
+
2399
+ .notion-google-drive-link {
2400
+ position: relative;
2401
+ display: flex;
2402
+ flex-direction: column;
2403
+ color: inherit;
2404
+ text-decoration: none;
2405
+ width: 100%;
2406
+ border: 1px solid var(--fg-color-1);
2407
+ border-radius: 3px;
2408
+
2409
+ user-select: none;
2410
+ transition: background 20ms ease-in 0s;
2411
+ cursor: pointer;
2412
+ }
2413
+
2414
+ .notion-google-drive-link:hover {
2415
+ background: var(--bg-color-0);
2416
+ }
2417
+
2418
+ .notion-google-drive-preview {
2419
+ display: block;
2420
+ position: relative;
2421
+ width: 100%;
2422
+ padding-bottom: 55%;
2423
+ overflow: hidden;
2424
+ }
2425
+
2426
+ .notion-google-drive-preview img {
2427
+ position: absolute;
2428
+ width: 100%;
2429
+ top: 0;
2430
+ left: 0;
2431
+ bottom: 0;
2432
+ right: 0;
2433
+ object-fit: cover;
2434
+ object-position: center top;
2435
+ }
2436
+
2437
+ .notion-google-drive-body {
2438
+ width: 100%;
2439
+ min-height: 60px;
2440
+ padding: 12px 14px 14px;
2441
+ overflow: hidden;
2442
+ border-top: 1px solid var(--fg-color-1);
2443
+ }
2444
+
2445
+ .notion-google-drive-body-title {
2446
+ font-size: 14px;
2447
+ line-height: 20px;
2448
+ white-space: nowrap;
2449
+ overflow: hidden;
2450
+ text-overflow: ellipsis;
2451
+ margin-bottom: 2px;
2452
+ }
2453
+
2454
+ .notion-google-drive-body-modified-time {
2455
+ font-size: 12px;
2456
+ line-height: 1.3;
2457
+ color: var(--fg-color-3);
2458
+ max-height: 32px;
2459
+ overflow: hidden;
2460
+ }
2461
+
2462
+ .notion-google-drive-body-source {
2463
+ display: flex;
2464
+ align-items: center;
2465
+ margin-top: 6px;
2466
+ }
2467
+
2468
+ .notion-google-drive-body-source-icon {
2469
+ flex-shrink: 0;
2470
+ background-size: cover;
2471
+ width: 16px;
2472
+ height: 16px;
2473
+ margin-right: 6px;
2474
+ }
2475
+
2476
+ .notion-google-drive-body-source-domain {
2477
+ font-size: 12px;
2478
+ line-height: 16px;
2479
+ white-space: nowrap;
2480
+ overflow: hidden;
2481
+ text-overflow: ellipsis;
2482
+ }
2483
+
2484
+ .notion-file {
2485
+ width: 100%;
2486
+ margin: 1px 0;
2487
+ }
2488
+
2489
+ .notion-file-link {
2490
+ display: flex;
2491
+ align-items: center;
2492
+ padding: 3px 2px;
2493
+ border-radius: 3px;
2494
+ transition: background 20ms ease-in 0s;
2495
+ color: inherit;
2496
+ text-decoration: none;
2497
+ }
2498
+
2499
+ .notion-file-link:hover {
2500
+ background: var(--bg-color-0);
2501
+ }
2502
+
2503
+ .notion-file-icon {
2504
+ margin-right: 2px;
2505
+ width: 1.35em;
2506
+ display: flex;
2507
+ align-items: center;
2508
+ justify-content: center;
2509
+ flex-grow: 0;
2510
+ flex-shrink: 0;
2511
+ min-height: calc(1.5em + 3px + 3px);
2512
+ height: 1.35em;
2513
+ }
2514
+
2515
+ .notion-file-info {
2516
+ display: flex;
2517
+ align-items: baseline;
2518
+ }
2519
+
2520
+ .notion-file-title {
2521
+ white-space: nowrap;
2522
+ overflow: hidden;
2523
+ text-overflow: ellipsis;
2524
+ }
2525
+
2526
+ .notion-file-size {
2527
+ white-space: nowrap;
2528
+ overflow: hidden;
2529
+ text-overflow: ellipsis;
2530
+ color: var(--fg-color-3);
2531
+ font-size: 12px;
2532
+ line-height: 16px;
2533
+ margin-left: 6px;
2534
+ }
2535
+
2536
+ .notion-audio {
2537
+ width: 100%;
2538
+ }
2539
+
2540
+ .notion-audio audio {
2541
+ width: 100%;
2542
+ }
2543
+
2544
+ .notion-equation {
2545
+ position: relative;
2546
+ display: inline-flex;
2547
+ color: inherit;
2548
+ fill: inherit;
2549
+ user-select: none;
2550
+ border-radius: 3px;
2551
+ transition: background 20ms ease-in 0s;
2552
+ }
2553
+
2554
+ .notion-equation-inline {
2555
+ -webkit-user-select: all;
2556
+ -moz-user-select: all;
2557
+ user-select: all;
2558
+ }
2559
+
2560
+ .notion-equation-block {
2561
+ display: flex;
2562
+ flex-direction: column;
2563
+ overflow: auto;
2564
+ width: 100%;
2565
+ max-width: 100%;
2566
+ padding: 4px 8px;
2567
+ margin: 4px 0;
2568
+ cursor: pointer;
2569
+ }
2570
+
2571
+ .notion-equation:hover {
2572
+ background: var(--bg-color-0);
2573
+ }
2574
+
2575
+ .notion-equation:active,
2576
+ .notion-equation:focus {
2577
+ background: var(--select-color-2);
2578
+ }
2579
+
2580
+ .notion-frame .katex-display .katex {
2581
+ padding-right: 32px;
2582
+ }
2583
+
2584
+ .notion-frame .katex>.katex-html {
2585
+ white-space: normal;
2586
+ }
2587
+
2588
+ .notion-page-title {
2589
+ display: inline-flex;
2590
+ max-width: 100%;
2591
+ align-items: center;
2592
+ line-height: 1.3;
2593
+ transition: background 120ms ease-in 0s;
2594
+ }
2595
+
2596
+ .notion-page-title-icon {
2597
+ display: flex;
2598
+ align-items: center;
2599
+ justify-content: center;
2600
+ height: 22px;
2601
+ width: 22px;
2602
+ border-radius: 3px;
2603
+ flex-shrink: 0;
2604
+ }
2605
+
2606
+ .notion-page-title .notion-page-icon-inline {
2607
+ margin-left: 2px;
2608
+ margin-right: 6px;
2609
+ }
2610
+
2611
+ .notion-collection-card-property .notion-link {
2612
+ border-bottom: 0 none;
2613
+ }
2614
+
2615
+ .notion-collection-card-property .notion-page-title {
2616
+ transition: none;
2617
+ }
2618
+
2619
+ .notion-collection-card-property .notion-page-title:hover {
2620
+ background: unset;
2621
+ }
2622
+
2623
+ .notion-collection-card-property .notion-page-title-icon {
2624
+ margin-left: 0;
2625
+ height: 18px;
2626
+ width: 18px;
2627
+ }
2628
+
2629
+ .notion-collection-card-property .notion-page-title-text {
2630
+ border-bottom: 0 none;
2631
+ }
2632
+
2633
+ .notion-collection-card-property .notion-property-relation .notion-page-title-text {
2634
+ border-bottom: 1px solid;
2635
+ }
2636
+
2637
+ .notion-page-title-text {
2638
+ position: relative;
2639
+ top: 1px;
2640
+ border-bottom: 1px solid var(--fg-color-1);
2641
+ line-height: 1.3;
2642
+ white-space: nowrap;
2643
+ overflow: hidden;
2644
+ text-overflow: ellipsis;
2645
+ font-weight: 500;
2646
+ }
2647
+
2648
+ /* removes double underline with links */
2649
+ .notion-link .notion-page-title-text {
2650
+ border-bottom: 0 none;
2651
+ }
2652
+
2653
+ .notion-collection-row {
2654
+ width: 100%;
2655
+ padding: 4px 0 8px;
2656
+ border-bottom: 1px solid var(--fg-color-0);
2657
+ margin-bottom: 1em;
2658
+ }
2659
+
2660
+ .notion-collection-row-body {
2661
+ display: flex;
2662
+ flex-direction: column;
2663
+ gap: 4px;
2664
+ }
2665
+
2666
+ .notion-collection-row-property {
2667
+ display: flex;
2668
+ align-items: center;
2669
+ }
2670
+
2671
+ .notion-collection-row-value {
2672
+ flex: 1;
2673
+ padding: 6px 8px 7px;
2674
+ font-size: 14px;
2675
+ }
2676
+
2677
+ .notion-collection-row-property .notion-collection-column-title {
2678
+ display: flex;
2679
+ align-items: center;
2680
+ width: 160px;
2681
+ height: 34px;
2682
+ color: var(--fg-color-3);
2683
+ padding: 0 6px;
2684
+ }
2685
+
2686
+ .notion-collection-row-property .notion-property {
2687
+ width: 100%;
2688
+ }
2689
+
2690
+ .notion-collection-row-property .notion-property-auto_increment_id {
2691
+ color: var(--fg-color-7);
2692
+ }
2693
+
2694
+ .notion-collection-row-property .notion-collection-column-title-icon {
2695
+ width: 16px;
2696
+ height: 16px;
2697
+ min-width: 16px;
2698
+ min-height: 16px;
2699
+ }
2700
+
2701
+ .notion-collection-row-property .notion-link {
2702
+ border-bottom: 0 none;
2703
+ }
2704
+
2705
+ .notion-collection-row-property .notion-property-relation .notion-page-title-text {
2706
+ border-bottom: 1px solid;
2707
+ }
2708
+
2709
+ .notion-user {
2710
+ display: block;
2711
+ object-fit: cover;
2712
+ border-radius: 100%;
2713
+ width: 20px;
2714
+ height: 20px;
2715
+ }
2716
+
2717
+ .notion-list-item-property .notion-property-multi_select-item {
2718
+ margin-bottom: 0;
2719
+ flex-wrap: none;
2720
+ }
2721
+
2722
+ .notion-list-item-property .notion-property-multi_select-item:last-of-type {
2723
+ margin-right: 0;
2724
+ }
2725
+
2726
+ .notion-toggle .notion-collection-header,
2727
+ .notion-toggle .notion-table-view,
2728
+ .notion-toggle .notion-board-view,
2729
+ .notion-column .notion-collection-header,
2730
+ .notion-column .notion-table-view,
2731
+ .notion-column .notion-board-view {
2732
+ padding-left: 0 !important;
2733
+ padding-right: 0 !important;
2734
+ }
2735
+
2736
+ .notion-toggle .notion-table,
2737
+ .notion-toggle .notion-board,
2738
+ .notion-column .notion-table,
2739
+ .notion-column .notion-board {
2740
+ width: 100% !important;
2741
+ max-width: 100% !important;
2742
+ }
2743
+
2744
+ @media only screen and (max-width: 730px) {
2745
+ .notion-asset-wrapper {
2746
+ max-width: 100%;
2747
+ }
2748
+
2749
+ .notion-asset-wrapper-full {
2750
+ max-width: 100vw;
2751
+ }
2752
+ }
2753
+
2754
+ @media (max-width: 640px) {
2755
+ .notion-bookmark-image {
2756
+ display: none;
2757
+ }
2758
+ }
2759
+
2760
+ .lazy-image-wrapper {
2761
+ position: relative;
2762
+ overflow: hidden;
2763
+ }
2764
+
2765
+ .lazy-image-wrapper img {
2766
+ position: absolute;
2767
+ top: 0;
2768
+ left: 0;
2769
+ width: 100%;
2770
+ height: 100%;
2771
+ object-fit: cover;
2772
+ max-width: 100%;
2773
+ max-height: 100%;
2774
+ min-width: 100%;
2775
+ min-height: 100%;
2776
+ }
2777
+
2778
+ .lazy-image-preview {
2779
+ filter: blur(20px);
2780
+ transform: scale(1.1);
2781
+
2782
+ opacity: 1;
2783
+ transition: opacity 400ms ease-in !important;
2784
+ transition-delay: 100ms;
2785
+ will-change: opacity;
2786
+ }
2787
+
2788
+ .lazy-image-wrapper img.lazy-image-real {
2789
+ position: relative;
2790
+ }
2791
+
2792
+ .lazy-image-real {
2793
+ opacity: 0;
2794
+ transition: opacity 400ms ease-out !important;
2795
+ will-change: opacity;
2796
+ }
2797
+
2798
+ .lazy-image-real.medium-zoom-image {
2799
+ transition:
2800
+ transform 0.3s cubic-bezier(0.2, 0, 0.2, 1),
2801
+ opacity 400ms ease-out !important;
2802
+ will-change: opacity, transform;
2803
+ }
2804
+
2805
+ .medium-zoom-image--opened {
2806
+ object-fit: cover;
2807
+ opacity: 1;
2808
+ }
2809
+
2810
+ /*
2811
+ NOTE: if we hide the preview image, there's a weird bug with react hydration where
2812
+ the image will sometimes flicker to show the background during initial page load.
2813
+ So I'm removing this `opacity: 0` for now, but it will cause issues if the real
2814
+ image is transparent.
2815
+ */
2816
+ .lazy-image-loaded .lazy-image-preview {
2817
+ opacity: 0;
2818
+ }
2819
+
2820
+ .lazy-image-loaded .lazy-image-real {
2821
+ opacity: 1;
2822
+ }
2823
+
2824
+ .notion-page-cover.lazy-image-wrapper {
2825
+ padding: 0 !important;
2826
+ }
2827
+
2828
+ .notion-collection-card-cover .lazy-image-wrapper {
2829
+ padding: 0 !important;
2830
+ height: 100%;
2831
+ }
2832
+
2833
+ .notion-page-cover .lazy-image-preview,
2834
+ .notion-page-cover .lazy-image-real {
2835
+ will-change: unset !important;
2836
+ }
2837
+
2838
+ .notion-page-cover .lazy-image-loaded .lazy-image-preview {
2839
+ opacity: 1;
2840
+ }
2841
+
2842
+ .notion-lite {
2843
+ overflow-y: auto;
2844
+ }
2845
+
2846
+ .notion-lite .notion-page {
2847
+ width: 100%;
2848
+ padding: 0;
2849
+ /* padding: calc(max(2vmin, 8px)); */
2850
+ }
2851
+
2852
+ .notion-lite .notion-collection-header,
2853
+ .notion-lite .notion-table-view,
2854
+ .notion-lite .notion-board-view {
2855
+ padding-left: 0 !important;
2856
+ padding-right: 0 !important;
2857
+ }
2858
+
2859
+ .notion-lite .notion-board,
2860
+ .notion-lite .notion-table {
2861
+ width: 100% !important;
2862
+ }
2863
+
2864
+ .notion-header {
2865
+ position: sticky;
2866
+ top: 0;
2867
+ left: 0;
2868
+ z-index: 200;
2869
+
2870
+ width: 100%;
2871
+ max-width: 100vw;
2872
+ overflow: hidden;
2873
+ height: var(--notion-header-height);
2874
+ min-height: var(--notion-header-height);
2875
+
2876
+ background: var(--bg-color);
2877
+ }
2878
+
2879
+ .notion-header .notion-nav-header {
2880
+ position: absolute;
2881
+ top: 0;
2882
+ left: 0;
2883
+ right: 0;
2884
+ height: 100%;
2885
+ display: flex;
2886
+ flex-direction: row;
2887
+ justify-content: space-between;
2888
+ align-items: center;
2889
+ padding: 0 12px;
2890
+ text-size-adjust: 100%;
2891
+ line-height: 1.5;
2892
+ line-height: 1.2;
2893
+ font-size: 14px;
2894
+ gap: 12px;
2895
+ }
2896
+
2897
+ .notion-header .breadcrumbs {
2898
+ display: flex;
2899
+ flex-direction: row;
2900
+ align-items: center;
2901
+ height: 100%;
2902
+ flex-grow: 0;
2903
+ min-width: 0;
2904
+ }
2905
+
2906
+ .notion-header .breadcrumb {
2907
+ display: inline-flex;
2908
+ flex-direction: row;
2909
+ justify-content: center;
2910
+ align-items: center;
2911
+ white-space: nowrap;
2912
+ text-overflow: ellipsis;
2913
+
2914
+ color: var(--fg-color);
2915
+ text-decoration: none;
2916
+ margin: 1px 0px;
2917
+ padding: 4px 6px;
2918
+ border-radius: 3px;
2919
+ transition: background 120ms ease-in 0s;
2920
+ user-select: none;
2921
+ background: transparent;
2922
+ cursor: pointer;
2923
+ }
2924
+
2925
+ .notion-header .breadcrumb .notion-page-icon-inline {
2926
+ font-size: 18px;
2927
+ line-height: 1.1;
2928
+ margin: 0 6px 0 0;
2929
+ }
2930
+
2931
+ .notion-header .breadcrumb .notion-page-icon-span {
2932
+ position: relative;
2933
+ top: 1px;
2934
+ }
2935
+
2936
+ .notion-header .searchIcon {
2937
+ width: 14px;
2938
+ height: 14px;
2939
+ color: var(--fg-color);
2940
+ fill: var(--fg-color);
2941
+ }
2942
+
2943
+ .notion-search-button {
2944
+ gap: 8px;
2945
+ }
2946
+
2947
+ .notion-header .breadcrumb:not(.active):hover {
2948
+ background: var(--bg-color-0);
2949
+ }
2950
+
2951
+ .notion-header .breadcrumb:not(.active):active {
2952
+ background: var(--bg-color-1);
2953
+ }
2954
+
2955
+ .notion-header .breadcrumb.active {
2956
+ cursor: default;
2957
+ }
2958
+
2959
+ .notion-header .spacer {
2960
+ margin: 0 2px;
2961
+ color: var(--fg-color-2);
2962
+ }
2963
+
2964
+ .notion-header .button {
2965
+ padding: 12px;
2966
+ }
2967
+
2968
+ .notion-search-overlay {
2969
+ position: fixed;
2970
+ top: 0;
2971
+ left: 0;
2972
+ right: 0;
2973
+ bottom: 0;
2974
+ background: rgba(15, 15, 15, 0.6);
2975
+
2976
+ display: flex;
2977
+ justify-content: center;
2978
+ align-items: flex-start;
2979
+ z-index: 1001;
2980
+ }
2981
+
2982
+ .notion-search {
2983
+ box-shadow:
2984
+ rgba(15, 15, 15, 0.05) 0px 0px 0px 1px,
2985
+ rgba(15, 15, 15, 0.1) 0px 5px 10px,
2986
+ rgba(15, 15, 15, 0.2) 0px 15px 40px;
2987
+ border-radius: 3px;
2988
+ background: var(--bg-color);
2989
+
2990
+ position: relative;
2991
+ top: 90px;
2992
+ max-width: 600px;
2993
+ min-height: 50px;
2994
+ max-height: 80vh;
2995
+ width: 75%;
2996
+ overflow: hidden;
2997
+ outline: none;
2998
+
2999
+ font-size: 16px;
3000
+ line-height: 1.5;
3001
+ color: rgb(55, 53, 47);
3002
+ caret-color: rgb(55, 53, 47);
3003
+ font-family: var(--notion-font);
3004
+ }
3005
+
3006
+ .notion-search input {
3007
+ background-color: var(--bg-color);
3008
+ }
3009
+
3010
+ .notion-search .quickFindMenu {
3011
+ display: flex;
3012
+ flex-direction: column;
3013
+ min-width: 100%;
3014
+ max-width: calc(100vw - 24px);
3015
+ height: 100%;
3016
+ max-height: 80vh;
3017
+ min-height: 50px;
3018
+ }
3019
+
3020
+ .notion-search .searchBar {
3021
+ display: flex;
3022
+ flex-direction: row;
3023
+ align-items: center;
3024
+ height: 52px;
3025
+ box-shadow: rgba(55, 53, 47, 0.09) 0px 1px 0px;
3026
+ font-size: 18px;
3027
+ line-height: 27px;
3028
+ padding: 16px;
3029
+ }
3030
+
3031
+ .notion-search .searchInput {
3032
+ resize: none;
3033
+ white-space: nowrap;
3034
+ border: none;
3035
+ outline: none;
3036
+ flex: 1;
3037
+
3038
+ line-height: inherit;
3039
+ font-size: inherit;
3040
+ }
3041
+
3042
+ .notion-search .inlineIcon {
3043
+ margin-right: 10px;
3044
+ fill: var(--fg-color-2);
3045
+ }
3046
+
3047
+ .notion-search .clearButton {
3048
+ user-select: none;
3049
+ border-radius: 20px;
3050
+ cursor: pointer;
3051
+ margin-left: 8px;
3052
+ }
3053
+
3054
+ .notion-search .clearIcon {
3055
+ width: 14px;
3056
+ height: 14px;
3057
+ fill: var(--fg-color-2);
3058
+ }
3059
+
3060
+ .notion-search .clearButton:hover .clearIcon {
3061
+ fill: var(--fg-color-3);
3062
+ }
3063
+
3064
+ .notion-search .clearButton:active .clearIcon {
3065
+ fill: var(--fg-color-6);
3066
+ }
3067
+
3068
+ @keyframes spinner {
3069
+ to {
3070
+ transform: rotate(360deg);
3071
+ }
3072
+ }
3073
+
3074
+ .notion-search .loadingIcon {
3075
+ animation: spinner 0.6s linear infinite;
3076
+ }
3077
+
3078
+ .notion-search .noResultsPane {
3079
+ display: flex;
3080
+ flex-direction: column;
3081
+ justify-content: center;
3082
+ align-items: center;
3083
+ padding: 32px 16px;
3084
+ }
3085
+
3086
+ .notion-search .noResults {
3087
+ font-size: 14px;
3088
+ font-weight: 500;
3089
+ line-height: 20px;
3090
+ color: rgba(55, 53, 47, 0.6);
3091
+ }
3092
+
3093
+ .notion-search .noResultsDetail {
3094
+ font-size: 14px;
3095
+ margin-top: 2px;
3096
+ color: rgba(55, 53, 47, 0.4);
3097
+ }
3098
+
3099
+ .notion-search .resultsFooter {
3100
+ box-shadow: rgba(55, 53, 47, 0.09) 0px -1px 0px;
3101
+ margin-top: 1px;
3102
+ font-size: 12px;
3103
+ min-height: 28px;
3104
+ color: var(--fg-color-2);
3105
+ user-select: none;
3106
+ padding: 0 16px;
3107
+ display: flex;
3108
+ flex-direction: column;
3109
+ justify-content: center;
3110
+ }
3111
+
3112
+ .notion-search .resultsCount {
3113
+ font-weight: 500;
3114
+ color: var(--fg-color-3);
3115
+ }
3116
+
3117
+ .notion-search .resultsPane {
3118
+ display: flex;
3119
+ flex-direction: column;
3120
+ height: 100%;
3121
+ flex: 1;
3122
+ overflow: auto;
3123
+ }
3124
+
3125
+ .notion-search .resultsPane .result {
3126
+ padding: 8px 14px;
3127
+ border-bottom: 1px solid rgba(55, 53, 47, 0.06);
3128
+ font-size: 14px;
3129
+ user-select: none;
3130
+ display: flex;
3131
+ flex-direction: column;
3132
+ align-items: stretch;
3133
+ color: var(--fg-color);
3134
+ text-decoration: none;
3135
+ }
3136
+
3137
+ .notion-search .resultsPane .result:hover {
3138
+ background: var(--bg-color-2) !important;
3139
+ }
3140
+
3141
+ .notion-search .resultsPane .result:active {
3142
+ background: var(--fg-color-1) !important;
3143
+ }
3144
+
3145
+ .notion-search .resultsPane .result {
3146
+ min-height: unset;
3147
+ height: unset;
3148
+ }
3149
+
3150
+ .notion-search .resultsPane .result .notion-page-title {
3151
+ display: flex;
3152
+ }
3153
+
3154
+ .notion-search .resultsPane .result .notion-search-result-highlight {
3155
+ font-size: 90%;
3156
+ margin: 4px 0 0 30px;
3157
+ }
3158
+
3159
+ .notion-sync-block {
3160
+ width: 100%;
3161
+ }
3162
+
3163
+ .notion-collection-group {
3164
+ margin-bottom: 1em;
3165
+ }
3166
+
3167
+ .notion-collection-group>summary {}
3168
+
3169
+ .notion-collection-group>summary>div {
3170
+ transform: scale(0.85);
3171
+ transform-origin: 0% 50%;
3172
+ display: inline-flex;
3173
+ align-items: center;
3174
+ }
3175
+
3176
+ .notion-simple-table {
3177
+ border: 1px solid var(--fg-color-5);
3178
+ border-collapse: collapse;
3179
+ border-spacing: 0;
3180
+ font-size: 14px;
3181
+ }
3182
+
3183
+ /* simple table header */
3184
+ /* row header */
3185
+ .notion-simple-table-header-row td {
3186
+ background: var(--bg-color-0);
3187
+ }
3188
+
3189
+ /* column header */
3190
+ .notion-simple-table-header-cell {
3191
+ background: var(--bg-color-0);
3192
+ }
3193
+
3194
+ .notion-simple-table td {
3195
+ border: 1px solid var(--fg-color-5);
3196
+ padding: 8px 8px;
3197
+ white-space: pre-wrap;
3198
+ }
3199
+
3200
+ .notion-external {
3201
+ border-radius: 3px;
3202
+ transition: background 120ms ease-in 0s;
3203
+ text-decoration: none;
3204
+ }
3205
+
3206
+ .notion-external:hover {
3207
+ background: var(--bg-color-0);
3208
+ }
3209
+
3210
+ .notion-external-block {
3211
+ width: 100%;
3212
+ margin-top: 4px;
3213
+ border: 1px solid var(--fg-color-1);
3214
+ padding: 6px 6px;
3215
+ display: flex;
3216
+ }
3217
+
3218
+ .notion-external-mention {
3219
+ display: inline-flex;
3220
+ padding: 0 4px;
3221
+ align-items: center;
3222
+ position: relative;
3223
+ top: 3px;
3224
+ }
3225
+
3226
+ .notion-external-image {
3227
+ width: 32px;
3228
+ height: 32px;
3229
+ margin: 3px 12px 3px 4px;
3230
+ }
3231
+
3232
+ .notion-external-mention .notion-external-image {
3233
+ display: inline-flex;
3234
+ align-items: center;
3235
+ width: 16px;
3236
+ height: 16px;
3237
+ margin: 0;
3238
+ margin-right: 0.3em;
3239
+ }
3240
+
3241
+ .notion-external-mention .notion-external-image svg {
3242
+ width: 100%;
3243
+ height: 100%;
3244
+ }
3245
+
3246
+ .notion-external-description {
3247
+ display: flex;
3248
+ flex-direction: column;
3249
+ }
3250
+
3251
+ .notion-external-mention .notion-external-description {
3252
+ display: inline-flex;
3253
+ flex-direction: row;
3254
+ align-items: center;
3255
+ }
3256
+
3257
+ .notion-external-title {
3258
+ font-size: 14px;
3259
+ font-weight: 500;
3260
+ color: var(--fg-color-4);
3261
+ }
3262
+
3263
+ .notion-external-mention .notion-external-title {
3264
+ display: inline;
3265
+ font-size: 16px;
3266
+ border-bottom: 0.05em solid var(--fg-color-1);
3267
+ }
3268
+
3269
+ .notion-external-subtitle {
3270
+ font-size: 12px;
3271
+ color: var(--fg-color-3);
3272
+ }
3273
+
3274
+ .notion-external-block-desc {
3275
+ color: rgba(55, 53, 47, 0.65);
3276
+ font-size: 12px;
3277
+ white-space: nowrap;
3278
+ padding-top: 4px;
3279
+ }
3280
+
3281
+ .notion-external-mention .notion-external-subtitle {
3282
+ display: none;
3283
+ position: absolute;
3284
+ top: 28px;
3285
+ left: 0;
3286
+ width: 260px;
3287
+ background: var(--bg-color);
3288
+ z-index: 999;
3289
+ padding: 8px;
3290
+ box-shadow:
3291
+ rgba(15, 15, 15, 0.1) 0 0 0 1px,
3292
+ rgba(15, 15, 15, 0.1) 0 2px 4px;
3293
+ }
3294
+
3295
+ .notion-external-mention .notion-external-subtitle-item {
3296
+ display: flex;
3297
+ flex-direction: row;
3298
+ justify-content: flex-start;
3299
+ align-items: center;
3300
+ line-height: 1.5;
3301
+ padding: 4px 0;
3302
+ }
3303
+
3304
+ .notion-external-mention .notion-external-subtitle-item-name {
3305
+ flex: none;
3306
+ width: 70px;
3307
+ font-weight: 500;
3308
+ }
3309
+
3310
+ .notion-external-mention .notion-external-subtitle-item-desc {
3311
+ flex: 1;
3312
+ }
3313
+
3314
+ .notion-external-description:hover .notion-external-subtitle {
3315
+ display: block;
3316
+ }
3317
+
3318
+ .notion-preview-card-domain-warp {
3319
+ display: flex;
3320
+ flex-direction: row;
3321
+ justify-content: flex-start;
3322
+ align-items: center;
3323
+ }
3324
+
3325
+ .notion-preview-card-domain-warp .notion-preview-card-domain {
3326
+ padding-left: 4px;
3327
+ }
3328
+
3329
+ .notion-preview-card-domain-warp .notion-preview-card-logo {
3330
+ width: 14px;
3331
+ height: 14px;
3332
+ }
3333
+
3334
+ .notion-preview-card-title {
3335
+ font-size: 16px;
3336
+ line-height: 1.5;
3337
+ padding: 4px 0;
3338
+ font-weight: 500;
3339
+ color: var(--fg-color-4);
3340
+ }
3341
+
3342
+ .notion-preview-card-github-shields img {
3343
+ margin-right: 4px;
3344
+ padding: 4px 0;
3345
+ }
3346
+
3347
+ .notion-yt-lite {
3348
+ background-color: #000;
3349
+ position: absolute;
3350
+ width: 100%;
3351
+ height: 100%;
3352
+ display: block;
3353
+ contain: content;
3354
+ background-position: center center;
3355
+ background-size: cover;
3356
+ cursor: pointer;
3357
+ }
3358
+
3359
+ .notion-yt-lite::before {
3360
+ content: '';
3361
+ display: block;
3362
+ position: absolute;
3363
+ top: 0;
3364
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==);
3365
+ background-position: top;
3366
+ background-repeat: repeat-x;
3367
+ width: 100%;
3368
+ height: 60px;
3369
+ padding-bottom: 50px;
3370
+ transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
3371
+ }
3372
+
3373
+ .notion-yt-lite>iframe {
3374
+ width: 100%;
3375
+ height: 100%;
3376
+ position: absolute;
3377
+ top: 0;
3378
+ left: 0;
3379
+ }
3380
+
3381
+ .notion-yt-playbtn {
3382
+ width: 68px;
3383
+ height: 48px;
3384
+ position: absolute;
3385
+ cursor: pointer;
3386
+ transform: translate3d(-50%, -50%, 0);
3387
+ top: 50%;
3388
+ left: 50%;
3389
+ z-index: 1;
3390
+ background-color: transparent;
3391
+ /* YT's actual play button svg */
3392
+ background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"><path d="M66.52 7.74c-.78-2.93-2.49-5.41-5.42-6.19C55.79.13 34 0 34 0S12.21.13 6.9 1.55c-2.93.78-4.63 3.26-5.42 6.19C.06 13.05 0 24 0 24s.06 10.95 1.48 16.26c.78 2.93 2.49 5.41 5.42 6.19C12.21 47.87 34 48 34 48s21.79-.13 27.1-1.55c2.93-.78 4.64-3.26 5.42-6.19C67.94 34.95 68 24 68 24s-.06-10.95-1.48-16.26z" fill="red"/><path d="M45 24 27 14v20" fill="white"/></svg>');
3393
+ filter: grayscale(100%);
3394
+ transition: filter 0.1s cubic-bezier(0, 0, 0.2, 1);
3395
+ border: none;
3396
+ }
3397
+
3398
+ .notion-yt-lite:hover>.notion-yt-playbtn,
3399
+ .notion-yt-youtube .notion-yt-playbtn:focus {
3400
+ filter: none;
3401
+ }
3402
+
3403
+ .notion-yt-initialized {
3404
+ cursor: unset;
3405
+ }
3406
+
3407
+ .notion-yt-initialized::before,
3408
+ .notion-yt-initialized>.notion-yt-playbtn {
3409
+ opacity: 0;
3410
+ pointer-events: none;
3411
+ }
3412
+
3413
+ .notion-yt-thumbnail {
3414
+ position: absolute;
3415
+ top: 0;
3416
+ left: 0;
3417
+ width: 100%;
3418
+ height: 100%;
3419
+ object-fit: cover;
3420
+ }
3421
+
3422
+ .notion-collection-view-dropdown-content {
3423
+ font-family: var(--notion-font);
3424
+ min-width: 220;
3425
+ background: #fff;
3426
+ border-radius: 6;
3427
+ padding: 0;
3428
+ box-shadow:
3429
+ 0px 10px 38px -10px rgba(22, 23, 24, 0.35),
3430
+ 0px 10px 20px -15px rgba(22, 23, 24, 0.2);
3431
+ animation-duration: 400ms;
3432
+ animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
3433
+ animation-fill-mode: forwards;
3434
+ will-change: transform, opacity;
3435
+ }
3436
+
3437
+ .notion-collection-view-tabs-row {
3438
+ display: flex;
3439
+ flex-direction: row;
3440
+ flex-wrap: wrap;
3441
+ width: 120%;
3442
+ }
3443
+
3444
+ .notion-collection-view-tabs-content-item {
3445
+ all: unset;
3446
+ position: relative;
3447
+ height: 25px;
3448
+ padding: 7px 10px 7px 10px;
3449
+ line-height: 1;
3450
+ display: flex;
3451
+ align-items: center;
3452
+ user-select: none;
3453
+ cursor: pointer;
3454
+ color: rgb(55, 53, 47);
3455
+ font-size: 14px;
3456
+ }
3457
+
3458
+ .notion-collection-view-tabs-content-item:hover {
3459
+ background-color: var(--fg-color-1);
3460
+ border-radius: 3px;
3461
+ }
3462
+
3463
+ .notion-collection-view-tabs-content-item-active {
3464
+ border-bottom: solid 2px #000;
3465
+ font-weight: bold;
3466
+ }
3467
+
3468
+ @media only screen and (max-width: 730px) {
3469
+ .notion-collection-view-tabs-row {
3470
+ width: 100%;
3471
+ }
3472
+ }
3473
+
3474
+ @keyframes slideDownAndFade {
3475
+ 0% {
3476
+ opacity: 0;
3477
+ transform: translateY(-2px);
3478
+ }
3479
+
3480
+ 100% {
3481
+ opacity: 1;
3482
+ transform: translateY(0);
3483
+ }
3484
+ }
3485
+
3486
+ .notion-collection-view-dropdown-content[data-state='open'] {
3487
+ animation-name: slideDownAndFade;
3488
+ }
3489
+
3490
+ .nested-form-link {
3491
+ background: none !important;
3492
+ border: none;
3493
+ padding: 0 !important;
3494
+ text-decoration: underline;
3495
+ cursor: pointer;
3496
+ }
3497
+
3498
+ /* Link Mention Styles */
3499
+ .notion-link-mention {
3500
+ position: relative;
3501
+ display: inline-flex;
3502
+ align-items: center;
3503
+ vertical-align: middle;
3504
+ }
3505
+
3506
+ .notion-link-mention-link {
3507
+ display: inline-flex;
3508
+ align-items: center;
3509
+ gap: 0.5rem;
3510
+ }
3511
+
3512
+ .notion-link-mention-icon {
3513
+ width: 1.5rem;
3514
+ height: 1.5rem;
3515
+ border-radius: 0.375rem;
3516
+ }
3517
+
3518
+ .notion-link-mention-provider {
3519
+ font-size: 0.875rem;
3520
+ color: var(--fg-color);
3521
+ }
3522
+
3523
+ .notion-link-mention-title {
3524
+ font-size: 0.875rem;
3525
+ font-weight: 600;
3526
+ color: var(--fg-color);
3527
+ }
3528
+
3529
+ /* Preview card (appears on hover) */
3530
+ .notion-link-mention-preview {
3531
+ display: none;
3532
+ position: absolute;
3533
+ top: 100%;
3534
+ left: 0;
3535
+ margin-top: 0.5rem;
3536
+ z-index: 100000;
3537
+ }
3538
+
3539
+ .notion-link-mention:hover .notion-link-mention-preview {
3540
+ display: block;
3541
+ }
3542
+
3543
+ .notion-link-mention-card {
3544
+ width: 18rem;
3545
+ height: 15rem;
3546
+ background: var(--bg-color);
3547
+ border-radius: 0.75rem;
3548
+ border: 1px solid rgba(27, 31, 36, 0.15);
3549
+ overflow: hidden;
3550
+ box-shadow:
3551
+ 0 4px 6px -1px rgba(0, 0, 0, 0.1),
3552
+ 0 2px 4px -1px rgba(0, 0, 0, 0.06);
3553
+ }
3554
+
3555
+ .notion-link-mention-preview-thumbnail {
3556
+ width: 100%;
3557
+ height: 55%;
3558
+ object-fit: cover;
3559
+ }
3560
+
3561
+ .notion-link-mention-preview-content {
3562
+ display: flex;
3563
+ flex-direction: column;
3564
+ height: 45%;
3565
+ padding: 0.5rem 1rem;
3566
+ gap: 0.125rem;
3567
+ }
3568
+
3569
+ .notion-link-mention-preview-title {
3570
+ font-size: 0.875rem;
3571
+ font-weight: 700;
3572
+ color: var(--fg-color);
3573
+ margin: 0;
3574
+ }
3575
+
3576
+ .notion-link-mention-preview-description {
3577
+ font-size: 0.875rem;
3578
+ color: var(--fg-color);
3579
+ display: -webkit-box;
3580
+ -webkit-line-clamp: 2;
3581
+ -webkit-box-orient: vertical;
3582
+ overflow: hidden;
3583
+ margin: 0;
3584
+ }
3585
+
3586
+ .notion-link-mention-preview-footer {
3587
+ display: flex;
3588
+ align-items: center;
3589
+ gap: 0.375rem;
3590
+ margin-top: auto;
3591
+ padding-bottom: 0.5rem;
3592
+ }
3593
+
3594
+ .notion-link-mention-preview-icon {
3595
+ width: 1rem;
3596
+ height: 1rem;
3597
+ border-radius: 0.25rem;
3598
+ }
3599
+
3600
+ .notion-link-mention-preview-provider {
3601
+ font-size: 0.875rem;
3602
+ color: var(--fg-color-2);
3603
+ }