Kaynağa Gözat

【修复】优化媒体元素样式

- 为媒体元素添加浅灰色背景,提升用户体验
- 更新 markdown-html 版本号至 1.11.1
PJ568 1 yıl önce
ebeveyn
işleme
a438b1c6f0
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      index.html

+ 2 - 1
index.html

@@ -1,7 +1,7 @@
 <!doctype html>
 
 <html>
-<markdown-html version="1.11.0" author="PJ568" repo="https://github.com/PJ-568/markdown.html"
+<markdown-html version="1.11.1" author="PJ568" repo="https://github.com/PJ-568/markdown.html"
   license="CC BY-SA 4.0 International"></markdown-html>
 
 <head>
@@ -774,6 +774,7 @@
     .markdown-body canvas,
     .markdown-body audio {
       max-width: 100%;
+      background-color: rgba(0, 0, 0, 0.05);
     }
 
     /* Markdown 样式 */