2024-08-27 10:53:34 +00:00
|
|
|
/* Basic editor styles */
|
|
|
|
.tiptap {
|
|
|
|
/* List styles */
|
|
|
|
ul,
|
|
|
|
ol {
|
|
|
|
padding: 0 1rem;
|
|
|
|
margin: 1.25rem 1rem 1.25rem 0.4rem;
|
|
|
|
|
|
|
|
li p {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
margin-bottom: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Heading styles */
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
line-height: 1.1;
|
2024-08-27 11:20:23 +00:00
|
|
|
margin: 10px 0px;
|
2024-08-27 10:53:34 +00:00
|
|
|
text-wrap: pretty;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2 {
|
2024-08-27 11:20:23 +00:00
|
|
|
|
2024-08-27 10:53:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 1.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 1.1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
background-color: var(--purple-light); // todo: fix the color
|
|
|
|
border-radius: 0.4rem;
|
|
|
|
color: var(--black);
|
|
|
|
font-size: 0.85rem;
|
|
|
|
padding: 0.25em 0.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
background: var(--black); // todo: fix the color
|
|
|
|
color: var(--white);
|
|
|
|
font-family: 'JetBrainsMono', monospace;
|
|
|
|
margin: 1.5rem 0;
|
|
|
|
padding: 0.75rem 1rem;
|
2024-08-27 11:20:23 +00:00
|
|
|
background: #00000030;
|
|
|
|
border-radius: 5px;
|
|
|
|
border: solid 2px rebeccapurple;
|
2024-08-27 10:53:34 +00:00
|
|
|
|
|
|
|
code {
|
|
|
|
background: none;
|
|
|
|
color: inherit;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
border-radius: 0 10px 10px 0;
|
|
|
|
border-left: solid 6px rgba(255, 255, 255, 0.1);
|
|
|
|
padding: 25px;
|
|
|
|
background: #232323;
|
|
|
|
color: rgba(255, 255, 255, 0.75);
|
|
|
|
}
|
|
|
|
}
|
2024-08-27 11:51:28 +00:00
|
|
|
|
|
|
|
/* Toolbar Styling */
|
|
|
|
.control-group {
|
|
|
|
padding: 5px 0px 15px 0px;
|
|
|
|
border-radius: 0px;
|
|
|
|
border-bottom: solid 1px rgb(255 255 255 / 10%);
|
|
|
|
|
|
|
|
.ProseMirror {
|
|
|
|
min-height: 75px;
|
|
|
|
}
|
|
|
|
}
|