Table of Content functionality
This commit is contained in:
@@ -85,13 +85,28 @@
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.reading-content h1,
|
||||
.reading-content h2,
|
||||
.reading-content h3,
|
||||
.reading-content h4,
|
||||
.reading-content h5,
|
||||
.reading-content h1 {
|
||||
@apply text-2xl font-bold mt-8 mb-4 theme-header;
|
||||
}
|
||||
|
||||
.reading-content h2 {
|
||||
@apply text-xl font-bold mt-6 mb-3 theme-header;
|
||||
}
|
||||
|
||||
.reading-content h3 {
|
||||
@apply text-lg font-semibold mt-6 mb-3 theme-header;
|
||||
}
|
||||
|
||||
.reading-content h4 {
|
||||
@apply text-base font-semibold mt-4 mb-2 theme-header;
|
||||
}
|
||||
|
||||
.reading-content h5 {
|
||||
@apply text-sm font-semibold mt-4 mb-2 theme-header;
|
||||
}
|
||||
|
||||
.reading-content h6 {
|
||||
@apply font-bold mt-8 mb-4 theme-header;
|
||||
@apply text-xs font-semibold mt-4 mb-2 theme-header uppercase tracking-wide;
|
||||
}
|
||||
|
||||
.reading-content p {
|
||||
@@ -118,4 +133,54 @@
|
||||
.reading-content em {
|
||||
@apply italic;
|
||||
}
|
||||
|
||||
/* Editor content styling - same as reading content but for the rich text editor */
|
||||
.editor-content h1 {
|
||||
@apply text-2xl font-bold mt-8 mb-4 theme-header;
|
||||
}
|
||||
|
||||
.editor-content h2 {
|
||||
@apply text-xl font-bold mt-6 mb-3 theme-header;
|
||||
}
|
||||
|
||||
.editor-content h3 {
|
||||
@apply text-lg font-semibold mt-6 mb-3 theme-header;
|
||||
}
|
||||
|
||||
.editor-content h4 {
|
||||
@apply text-base font-semibold mt-4 mb-2 theme-header;
|
||||
}
|
||||
|
||||
.editor-content h5 {
|
||||
@apply text-sm font-semibold mt-4 mb-2 theme-header;
|
||||
}
|
||||
|
||||
.editor-content h6 {
|
||||
@apply text-xs font-semibold mt-4 mb-2 theme-header uppercase tracking-wide;
|
||||
}
|
||||
|
||||
.editor-content p {
|
||||
@apply mb-4 theme-text;
|
||||
}
|
||||
|
||||
.editor-content blockquote {
|
||||
@apply border-l-4 pl-4 italic my-6 theme-border theme-text;
|
||||
}
|
||||
|
||||
.editor-content ul,
|
||||
.editor-content ol {
|
||||
@apply mb-4 pl-6 theme-text;
|
||||
}
|
||||
|
||||
.editor-content li {
|
||||
@apply mb-2;
|
||||
}
|
||||
|
||||
.editor-content strong {
|
||||
@apply font-semibold theme-header;
|
||||
}
|
||||
|
||||
.editor-content em {
|
||||
@apply italic;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user