summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2022-08-23 17:08:40 +0800
committerEltrac Koalar <hi@guhub.cn>2022-08-23 17:08:40 +0800
commit66b0eaffcdf2efd5405017e9d71c310f20e15a03 (patch)
tree1b0e7ad8ffc2535f80e7a31890b14ba6d0791ee3
parentb54470bff0163d4427dee2e1dfc0a13899a2a675 (diff)
:bug: Fix: 开启静态资源加速后 bigfoot 的样式更改失效
-rw-r--r--assets/matcha.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/assets/matcha.css b/assets/matcha.css
index 40bcbf9..16f91a0 100644
--- a/assets/matcha.css
+++ b/assets/matcha.css
@@ -1663,4 +1663,18 @@ div.code-toolbar>.toolbar>.toolbar-item>button::before {
40% {
background: #E6E6AD;
}
+}
+
+/* 覆盖 bigfoot */
+.bigfoot-footnote {
+ border-radius: 3px;
+ box-shadow: 0 0 .5em rgba(0, 0, 0, 0.2);
+ -webkit-box-shadow: 0 0 .5em rgba(0, 0, 0, 0.2);
+ border: none;
+ background: #fafafa
+}
+
+.bigfoot-footnote__button:hover,
+.bigfoot-footnote__button:focus {
+ background: var(--theme-color)
} \ No newline at end of file