enhance blockquote and monospace font
This commit is contained in:
parent
d7986e71bf
commit
6f9714cf2b
|
@ -245,6 +245,7 @@ h6:hover .anchor {
|
|||
padding: 4px 5px;
|
||||
border-radius: 3px;
|
||||
font-size: .95em;
|
||||
font-family: var(--monospace);
|
||||
}
|
||||
.post-content pre code {
|
||||
/* reset inline code */
|
||||
|
@ -254,15 +255,18 @@ h6:hover .anchor {
|
|||
overflow-x: auto;
|
||||
border-radius: var(--radius);
|
||||
word-break: break-all;
|
||||
font-family: var(--monospace);
|
||||
}
|
||||
.post-content .chroma code {
|
||||
background-color: inherit;
|
||||
font-family: var(--monospace);
|
||||
}
|
||||
|
||||
.post-content blockquote {
|
||||
margin: 20px 0;
|
||||
padding: 0 14px;
|
||||
border-inline-start: 3px solid var(--primary);
|
||||
border-inline-start: 3px solid var(--tertiary-bg);
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.post-content sup {
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
--header-height: 60px;
|
||||
--footer-height: 80px;
|
||||
--radius: 8px;
|
||||
--monospace: "Lucida Console", Monaco, "Consolas", monospace;
|
||||
|
||||
--theme: rgb(255, 255, 255);
|
||||
--entry: rgb(255, 255, 255);
|
||||
|
|
Loading…
Reference in New Issue