浏览代码

style: attenuate <code> highlight, use our mono font

tophf 4 年之前
父节点
当前提交
9f152e38e8
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/common/ui/style/style.css

+ 2 - 1
src/common/ui/style/style.css

@@ -146,7 +146,7 @@ textarea {
 }
 code {
   padding: 0 .2em;
-  background: hsla(50, 100%, 50%, .35);
+  background: hsla(45, 75%, 75%, .25);
   @media (prefers-color-scheme: dark) {
     background: hsla(40, 100%, 50%, .2);
   }
@@ -354,6 +354,7 @@ li {
   height: 100%;
 }
 
+code,
 .monospace-font,
 .editor-code .CodeMirror,
 .CodeMirror-hints.default /* CSS specificity hack to override default CM style */ {