enhance blockquote and monospace font

This commit is contained in:
Reorx 2022-09-30 00:19:08 +08:00
parent d7986e71bf
commit 6f9714cf2b
2 changed files with 6 additions and 1 deletions

View File

@ -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 {

View File

@ -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);