diff --git a/public/themes/dist_static/static/css/about-history.css b/public/themes/dist_static/static/css/about-history.css index 0c426ed..c176e6e 100644 --- a/public/themes/dist_static/static/css/about-history.css +++ b/public/themes/dist_static/static/css/about-history.css @@ -1,7 +1,27 @@ .main-about-history { --ah-sticky-top: calc(var(--header-h) + 5rem); - background: var(--color-white); + position: relative; min-height: 10vh; + background-color: var(--color-white); +} + +/* Lenis 下 background-attachment:fixed 无效,用固定层保证背景不随滚动移动 */ +.main-about-history::before { + content: ""; + position: fixed; + inset: 0; + z-index: 0; + pointer-events: none; + background-color: var(--color-white); + background-image: url("../images/about-history.jpg"); + background-size: cover; + background-position: center; + background-repeat: no-repeat; +} + +.main-about-history > * { + position: relative; + z-index: 1; } .ah-page { @@ -153,7 +173,15 @@ margin: 0 0 1.5rem; padding-left: 1.25rem; } - +.ah-richtext ul { + list-style-type: disc; +} +.ah-richtext ol { + list-style-type: decimal; +} +.ah-richtext li { + list-style: inherit; +} .ah-richtext li + li { margin-top: 0.75rem; } diff --git a/public/themes/dist_static/static/images/about-history.jpg b/public/themes/dist_static/static/images/about-history.jpg new file mode 100644 index 0000000..d2e5131 Binary files /dev/null and b/public/themes/dist_static/static/images/about-history.jpg differ diff --git a/public/themes/dist_static/static/images/about-history.png b/public/themes/dist_static/static/images/about-history.png new file mode 100644 index 0000000..3283685 Binary files /dev/null and b/public/themes/dist_static/static/images/about-history.png differ