Add placeholder icons

* modify article fonts
* adjust article font size
This commit is contained in:
Defectink
2022-05-06 09:49:05 +08:00
parent 5fae936c6b
commit 17b341e50c
7 changed files with 37 additions and 10 deletions

View File

@ -21,12 +21,16 @@
font-family: 'Aleo', serif;
font-family: 'Aref Ruqaa', serif;
font-family: 'Barlow', sans-serif;
font-family: 'JetBrains Mono', monospace;
font-family: 'Poppins', sans-serif;
*/
@layer base {
body {
@apply text-gray-600 bg-bluish-gray dark:bg-rua-gray-900 dark:text-gray-200 font-Poppins;
@apply text-gray-600 bg-bluish-gray dark:bg-rua-gray-900 dark:text-gray-200;
font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', miui,
'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
}
img,

View File

@ -244,6 +244,7 @@ h6:hover::before {
font-size: 85%;
background-color: var(--color-neutral-muted);
border-radius: 6px;
font-family: 'JetBrains Mono', -apple-system, monospace;
}
#article pre > code {
padding: 0;
@ -252,14 +253,16 @@ h6:hover::before {
white-space: pre;
background: transparent;
border: 0;
font-family: 'JetBrains Mono', -apple-system, monospace;
}
#article code,
#article kbd,
#article pre,
#article samp {
font-family: monospace, monospace;
font-size: 17px;
/* font-family: monospace, monospace; */
font-family: 'JetBrains Mono', -apple-system, monospace;
font-size: 16px;
}
#article mark {
@ -336,3 +339,8 @@ h6:hover::before {
#article img {
border-radius: 6px;
}
#article .cm-editor .cm-line {
font-size: 15px;
font-family: 'JetBrains Mono', -apple-system, monospace;
}