Markdown: style <code> and <pre> elements
This commit is contained in:
parent
23e370a10b
commit
7ac31efce7
1 changed files with 23 additions and 0 deletions
|
@ -31,6 +31,29 @@
|
|||
blockquote p {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: 'Roboto Mono', monospace;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
/* Inline code */
|
||||
p > code {
|
||||
padding: 2px 4px;
|
||||
background-color: var(--background-color);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* Code block */
|
||||
pre {
|
||||
line-height: 1.6em;
|
||||
overflow-x: auto;
|
||||
border-radius: 6px;
|
||||
padding: 8px 12px;
|
||||
margin-bottom: 20px;
|
||||
word-break: break-all;
|
||||
background-color: var(--background-color);
|
||||
}
|
||||
}
|
||||
|
||||
.status__content--with-action {
|
||||
|
|
Loading…
Reference in a new issue