diff --git a/templates/about.html b/templates/about.html index 913455c2..df1baa62 100644 --- a/templates/about.html +++ b/templates/about.html @@ -70,7 +70,7 @@ c = ((new Date).getTime() - a) / (i - a) * 100, u = c <= 100 ? c + "%" : "100%", m = c <= 100 ? c.toFixed(0) + "%" : "已达标 "; - n.style.setProperty("--past-time-percentage", c + "%"), t.style.setProperty("--progress-percentage", u), o.textContent = m, o.style.left = `calc(${c}% - 33px)`, r.textContent = "" + new Date(a).toLocaleDateString(), s.textContent = "" + new Date(i).toLocaleDateString(), setTimeout(() => { + n.style.setProperty("--past-time-percentage", c + "%"), t.style.setProperty("--progress-percentage", u), o.textContent = m, o.style.left = `calc(${c}% - 3rem)`, r.textContent = "" + new Date(a).toLocaleDateString(), s.textContent = "" + new Date(i).toLocaleDateString(), setTimeout(() => { o.style.visibility = "visible" }, 2500); })() diff --git a/templates/modules/widgets/about-widgets/statistics-map.html b/templates/modules/widgets/about-widgets/statistics-map.html index 43786aa9..1b9d1558 100644 --- a/templates/modules/widgets/about-widgets/statistics-map.html +++ b/templates/modules/widgets/about-widgets/statistics-map.html @@ -92,6 +92,7 @@ .author-content-item.map:hover .map-title { bottom: -100%; + border-radius: 0 0 1rem 1rem; } .author-content-item.map .map-title b {