浏览代码

update pilcrow colour in dark theme

David Chambers 3 年之前
父节点
当前提交
7b66bd9aa3
共有 1 个文件被更改,包括 8 次插入4 次删除
  1. 8 4
      assets/stylesheets/pages/_sanctuary.scss

+ 8 - 4
assets/stylesheets/pages/_sanctuary.scss

@@ -29,11 +29,15 @@
     text-align: center;
     text-decoration: none;
     font-weight: var(--bolderFontWeight);
-    color: #eee;
-  }
 
-  .pilcrow:hover {
-    color: var(--linkColor);
+    html._theme-default & {
+      color: #eee;
+      &:hover { color: var(--linkColor); }
+    }
+    html._theme-dark & {
+      color: #555;
+      &:hover { color: var(--linkColor); }
+    }
   }
 
   .pilcrow.h2 {