diff --git a/assets/script/theme.js b/assets/script/theme.js index f66097a..ea53881 100644 --- a/assets/script/theme.js +++ b/assets/script/theme.js @@ -20,6 +20,7 @@ window.addEventListener("load", function() { var img = document.createElement("img"); img.className = "tree"; img.height = 300; + img.alt = ""; img.style.position = "fixed"; img.style.left = left + "px"; img.style.bottom = bottom + "px"; diff --git a/assets/style/light-mode.css b/assets/style/light-mode.css index 3b4ee1f..2e0dd83 100644 --- a/assets/style/light-mode.css +++ b/assets/style/light-mode.css @@ -53,7 +53,7 @@ body { color: white; } -.inline-code, .inline-code-text { +.inline-code, .inline-code-text, .inline-code-icon { background-color: #EEE; } object[type='image/svg+xml'] { diff --git a/assets/style/main.css b/assets/style/main.css index 706fdd4..d1d6f19 100644 --- a/assets/style/main.css +++ b/assets/style/main.css @@ -198,8 +198,8 @@ h1, h2 { .icon { -ms-interpolation-mode: nearest-neighbor; display: inline-block; - width: 16px; - height: 16px; + width: 1em; + height: 1em; background-size: 16px; position: relative; top: 3px;