浏览代码

high contast svg images

Heydon Pickering 8 年之前
父节点
当前提交
a7c89f3476
共有 3 个文件被更改,包括 12 次插入0 次删除
  1. 6 0
      docs/css/styles.css
  2. 0 0
      docs/service-worker.js
  3. 6 0
      themes/infusion/static/css/styles.css

+ 6 - 0
docs/css/styles.css

@@ -866,3 +866,9 @@ h1 svg {
         background: none;
         background: none;
     }
     }
 }
 }
+@media (-ms-high-contrast: active) {
+  img[src*=".svg"] {
+    filter: invert(100%);
+    background: #fff;
+  }
+}

文件差异内容过多而无法显示
+ 0 - 0
docs/service-worker.js


+ 6 - 0
themes/infusion/static/css/styles.css

@@ -866,3 +866,9 @@ h1 svg {
         background: none;
         background: none;
     }
     }
 }
 }
+@media (-ms-high-contrast: active) {
+  img[src*=".svg"] {
+    filter: invert(100%);
+    background: #fff;
+  }
+}

部分文件因为文件数量过多而无法显示