| /* 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; | |
| } |