diff --git a/static/scripts/docs.js b/static/scripts/docs.js
index d980bde467..9e18277ea6 100644
--- a/static/scripts/docs.js
+++ b/static/scripts/docs.js
@@ -633,7 +633,7 @@ document.addEventListener("DOMContentLoaded", ()=>{
const t = document.querySelector("#page-overview > ul");
t && setUpOnPageNavigation(t),
setUpCollapsingSidebar(document.querySelector("nav.folding"));
- //alertClose(document.querySelector("button.close"));
+ alertClose(document.getElementById("closeAlertButton"));
for (const n of document.querySelectorAll("div.tooltip-context"))
setUpTooltip(n);
const e = document.querySelector(".page-end-buttons a.previous")
diff --git a/static/styles/docs-cn.css b/static/styles/custom.css
similarity index 61%
rename from static/styles/docs-cn.css
rename to static/styles/custom.css
index 6131edd5c2..536ac5ef26 100644
--- a/static/styles/docs-cn.css
+++ b/static/styles/custom.css
@@ -11,4 +11,12 @@ p {
.alert-content {
margin: 1em 2em;
-}
\ No newline at end of file
+}
+
+.alert > button {
+ position: absolute;
+ top: 1em;
+ right: 0.25em;
+ background: none;
+ border: none;
+}
diff --git a/templates/base_template.html.j2 b/templates/base_template.html.j2
index eb71e2dcf8..76b626f41e 100644
--- a/templates/base_template.html.j2
+++ b/templates/base_template.html.j2
@@ -27,7 +27,7 @@
-
+
@@ -44,6 +44,8 @@
⚠ Warning: This site provides an unofficial translation of the Typst v0.12.0 documentation by the Japanese Community. Please note that there may be some inaccuracies, untranslated sections or outdated information. We highly recommend referring to the latest official documentation as well. If you find any errors in the content, please let us know through our GitHub repository. If you are interested in our community, feel free to join our unofficial Discord server, “Kumihan Club.”
+