File size: 1,247 Bytes
34e68e7
 
 
a2b21ff
 
34e68e7
 
 
a2b21ff
 
34e68e7
 
a2b21ff
 
34e68e7
 
 
a2b21ff
 
34e68e7
 
a2b21ff
34e68e7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* Custom styles that can't be done with Tailwind */
#editor-content:focus {
    outline: none;
}

/* Custom scrollbar for editor */
#editor-content::-webkit-scrollbar {
    width: 8px;
}

#editor-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#editor-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.dark #editor-content::-webkit-scrollbar-track {
    background: #374151;
}

.dark #editor-content::-webkit-scrollbar-thumb {
    background: #4b5563;
}

/* Block styles */
.block-paragraph {
    margin-bottom: 1rem;
}

.block-heading {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

.block-list {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.block-list li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}

.block-quote {
    border-left: 4px solid #6366f1;
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #6b7280;
}

.block-code {
    background-color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    font-family: monospace;
    margin: 1rem 0;
    white-space: pre-wrap;
}

.dark .block-code {
    background-color: #1f2937;
}

.block-image {
    margin: 1rem 0;
    max-width: 100%;
    border-radius: 0.5rem;
}