2024-12-23 20:21:06 +01:00
|
|
|
.editor,
|
|
|
|
.viewer {
|
2024-12-18 12:47:09 +01:00
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
> {
|
|
|
|
p {
|
|
|
|
margin: 5px 0 10px 0;
|
|
|
|
}
|
|
|
|
ul,
|
|
|
|
ol {
|
|
|
|
padding: 0 1rem;
|
|
|
|
margin: 1.25rem 1rem 1.25rem 0.4rem;
|
|
|
|
|
|
|
|
li p {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
margin-bottom: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
margin: 15px 0 15px 0;
|
|
|
|
border-bottom: solid 1px rgb(255 255 255 / 10%);
|
|
|
|
padding: 0px 0 10px 0;
|
|
|
|
line-height: 1.5;
|
|
|
|
text-wrap: pretty;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 1.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 1.1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
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);
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
2024-12-24 16:07:00 +01:00
|
|
|
background-color: mediumpurple;
|
2024-12-18 12:47:09 +01:00
|
|
|
border-radius: 0.4rem;
|
|
|
|
color: var(--black);
|
|
|
|
font-size: 0.85rem;
|
|
|
|
padding: 0.25em 0.3em;
|
|
|
|
outline: none;
|
|
|
|
|
2024-12-24 16:33:43 +01:00
|
|
|
&:empty::before {
|
|
|
|
content: '\00A0';
|
2024-12-18 12:47:09 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
2024-12-24 16:07:00 +01:00
|
|
|
background: var(--black);
|
2024-12-18 12:47:09 +01:00
|
|
|
color: var(--white);
|
|
|
|
font-family: 'JetBrainsMono', monospace;
|
|
|
|
margin: 1.5rem 0;
|
|
|
|
padding: 0.75rem 1rem;
|
|
|
|
background: #00000030;
|
|
|
|
border-radius: 5px;
|
|
|
|
border: solid 2px rebeccapurple;
|
|
|
|
|
|
|
|
code {
|
|
|
|
background: none;
|
|
|
|
color: inherit;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
background: #232323;
|
|
|
|
border-radius: 10px;
|
|
|
|
}
|
|
|
|
}
|
2024-12-23 20:21:06 +01:00
|
|
|
.editor {
|
|
|
|
--basePageBg: var(--slate-3);
|
|
|
|
padding-top: 10px;
|
|
|
|
min-height: 75px;
|
|
|
|
}
|
2024-12-24 16:33:43 +01:00
|
|
|
.viewer table {
|
|
|
|
table-layout: fixed;
|
|
|
|
width: 100%;
|
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
|
|
|
& > tbody > tr > td,
|
|
|
|
& > thead > tr > th {
|
|
|
|
border: 1px solid #e0e1e6;
|
|
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
white-space: normal;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
& > p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > tbody > tr > td,
|
|
|
|
& > thead > tr > th {
|
|
|
|
[align='left'] {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
[align='center'] {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
[align='right'] {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:empty::before {
|
|
|
|
content: '\00A0';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-12-24 14:00:04 +01:00
|
|
|
.mdxeditor {
|
|
|
|
--baseBg: rgba(255, 255, 255, 0.05);
|
|
|
|
}
|
2024-12-18 12:47:09 +01:00
|
|
|
.mdxeditor,
|
|
|
|
.mdxeditor-popup-container {
|
|
|
|
--basePageBg: var(--slate-3);
|
|
|
|
}
|