mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-16 03:39:00 +08:00
56 lines
918 B
SCSS
56 lines
918 B
SCSS
.editor {
|
|
position: relative;
|
|
max-width: 30rem;
|
|
margin: 0 auto 5rem auto;
|
|
|
|
&__content {
|
|
pre {
|
|
padding: 0.7rem 1rem;
|
|
border-radius: 5px;
|
|
background: $color-black;
|
|
color: $color-white;
|
|
font-size: 0.8rem;
|
|
overflow-x: auto;
|
|
|
|
code {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
p code {
|
|
display: inline-block;
|
|
padding: 0 0.4rem;
|
|
border-radius: 5px;
|
|
font-size: 0.8rem;
|
|
font-weight: bold;
|
|
background: rgba($color-black, 0.1);
|
|
color: rgba($color-black, 0.8);
|
|
}
|
|
|
|
ul,
|
|
ol {
|
|
padding-left: 1rem;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: 3px solid rgba($color-black, 0.1);
|
|
color: rgba($color-black, 0.8);
|
|
padding-left: 0.8rem;
|
|
font-style: italic;
|
|
|
|
p {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
}
|
|
} |