mirror of
https://github.com/basketikun/infinite-canvas.git
synced 2026-08-03 15:41:16 +08:00
60 lines
1014 B
CSS
60 lines
1014 B
CSS
.cnv-md {
|
|
height: 100%;
|
|
width: 100%;
|
|
overflow: auto;
|
|
padding: 16px;
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
}
|
|
.cnv-md h1,
|
|
.cnv-md h2,
|
|
.cnv-md h3 {
|
|
margin: 0.6em 0 0.3em;
|
|
font-weight: 600;
|
|
line-height: 1.3;
|
|
}
|
|
.cnv-md h1 {
|
|
font-size: 1.5em;
|
|
}
|
|
.cnv-md h2 {
|
|
font-size: 1.3em;
|
|
}
|
|
.cnv-md p {
|
|
margin: 0.5em 0;
|
|
}
|
|
.cnv-md a {
|
|
color: #6366f1;
|
|
text-decoration: underline;
|
|
}
|
|
.cnv-md code {
|
|
padding: 0.1em 0.35em;
|
|
border-radius: 4px;
|
|
background: rgba(120, 120, 120, 0.16);
|
|
font-family: monospace;
|
|
font-size: 0.9em;
|
|
}
|
|
.cnv-md pre {
|
|
padding: 12px;
|
|
border-radius: 8px;
|
|
background: rgba(120, 120, 120, 0.14);
|
|
overflow: auto;
|
|
}
|
|
.cnv-md pre code {
|
|
padding: 0;
|
|
background: transparent;
|
|
}
|
|
.cnv-md ul,
|
|
.cnv-md ol {
|
|
padding-left: 1.4em;
|
|
margin: 0.5em 0;
|
|
}
|
|
.cnv-md blockquote {
|
|
margin: 0.5em 0;
|
|
padding-left: 0.8em;
|
|
border-left: 3px solid rgba(120, 120, 120, 0.4);
|
|
opacity: 0.85;
|
|
}
|
|
.cnv-md img {
|
|
max-width: 100%;
|
|
}
|