Browse Source

feat(about-history):修复发展历史详情页样式

master
peijunlei 2 weeks ago
parent
commit
b7c839d400
  1. 32
      public/themes/dist_static/static/css/about-history.css
  2. BIN
      public/themes/dist_static/static/images/about-history.jpg
  3. BIN
      public/themes/dist_static/static/images/about-history.png

32
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;
}

BIN
public/themes/dist_static/static/images/about-history.jpg

After

Width: 1920  |  Height: 1080  |  Size: 267 KiB

BIN
public/themes/dist_static/static/images/about-history.png

After

Width: 1926  |  Height: 1259  |  Size: 1.1 MiB

Loading…
Cancel
Save