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