Template:Index2026/styles.css:修订间差异
模板页面
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
.hp-page { | .hp-page { | ||
position: relative; | position: relative; | ||
| 第19行: | 第5行: | ||
min-width: 0; | min-width: 0; | ||
overflow: hidden; | overflow: hidden; | ||
background: # | background: #f0f2f5; | ||
color: # | color: #1c1f26; | ||
font-family: system-ui, -apple-system, "Segoe UI", Roboto, | font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; | ||
line-height: 1.7; | line-height: 1.7; | ||
} | } | ||
.citizen-dark .hp-page { | |||
background: #16181d; | |||
color: #e8ecf0; | |||
} | |||
.hp-page .hp-bg { | .hp-page .hp-bg { | ||
position: absolute; | position: absolute; | ||
| 第34行: | 第22行: | ||
z-index: 0; | z-index: 0; | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
.hp-page .hp-bg img { | .hp-page .hp-bg img { | ||
display: block; | display: block; | ||
| 第58行: | 第31行: | ||
object-position: center; | object-position: center; | ||
} | } | ||
.hp-page .hp-bg::after { | |||
.hp-page .hp-bg:: | |||
content: ""; | content: ""; | ||
position: absolute; | position: absolute; | ||
bottom: 0; | bottom: 0; | ||
left: 0; | left: 0; | ||
width: 100%; | |||
height: 50%; | |||
background: linear-gradient(to bottom, transparent 0%, #f0f2f5 100%); | |||
z-index: 1; | z-index: 1; | ||
} | } | ||
.citizen-dark .hp-page .hp-bg::after { | |||
. | background: linear-gradient(to bottom, transparent 0%, #16181d 100%); | ||
.hp-page .hp- | |||
} | } | ||
.hp-page a { | |||
.hp-page | color: #b8860b; | ||
text-decoration: none; | |||
overflow-wrap: break-word; | |||
} | } | ||
.hp-page a:visited { | .hp-page a:visited { | ||
color: # | color: #b8860b; | ||
} | } | ||
.hp-page a:hover { | .hp-page a:hover { | ||
color: # | color: #d4a017; | ||
} | |||
.hp-page a.new { | |||
color: #cc5555; | |||
} | } | ||
.hp-page a.new:visited { | .hp-page a.new:visited { | ||
color: # | color: #cc5555; | ||
} | |||
.citizen-dark .hp-page a { | |||
color: #dbbd94; | |||
} | |||
.citizen-dark .hp-page a:visited { | |||
color: #dbbd94; | |||
} | |||
.citizen-dark .hp-page a:hover { | |||
color: #eedcc5; | |||
} | |||
.citizen-dark .hp-page a.new { | |||
color: #ff7b7b; | |||
} | } | ||
.citizen-dark .hp-page a.new:visited { | |||
. | color: #ff7b7b; | ||
.hp-page . | |||
} | } | ||
.hp-page .hp-header { | .hp-page .hp-header { | ||
width: 100%; | width: 100%; | ||
| 第128行: | 第81行: | ||
text-align: center; | text-align: center; | ||
} | } | ||
.hp-page .hp-header-logo { | .hp-page .hp-header-logo { | ||
display: block; | display: block; | ||
| 第136行: | 第88行: | ||
overflow: hidden; | overflow: hidden; | ||
border-radius: 18px; | border-radius: 18px; | ||
box-shadow: 0 8px 28px rgba(0, 0, 0, 0. | box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15); | ||
} | } | ||
.hp-page .hp-header-logo img { | .hp-page .hp-header-logo img { | ||
display: block; | display: block; | ||
| 第153行: | 第96行: | ||
height: auto; | height: auto; | ||
} | } | ||
.hp-page .hp-header-sub { | .hp-page .hp-header-sub { | ||
margin-top: 2px; | margin-top: 2px; | ||
| 第159行: | 第101行: | ||
font-weight: 400; | font-weight: 400; | ||
letter-spacing: 6px; | letter-spacing: 6px; | ||
color: # | color: #b8860b; | ||
text-shadow: 0 2px 10px rgba(0, 0, 0, 0. | text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); | ||
} | |||
.citizen-dark .hp-page .hp-header-sub { | |||
color: #dbbd94; | |||
} | } | ||
.hp-page .hp-welcome { | .hp-page .hp-welcome { | ||
display: flex; | display: flex; | ||
| 第173行: | 第116行: | ||
max-width: 820px; | max-width: 820px; | ||
padding: 24px 30px; | padding: 24px 30px; | ||
border-radius: 28px; | border-radius: 28px; | ||
background: rgba( | background: rgba(255, 255, 255, 0.88); | ||
box-shadow: 0 | box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); | ||
} | |||
.citizen-dark .hp-page .hp-welcome { | |||
background: rgba(30, 34, 42, 0.92); | |||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); | |||
} | } | ||
.hp-page .hp-welcome.hidden { | .hp-page .hp-welcome.hidden { | ||
display: none; | display: none; | ||
} | } | ||
.hp-page .hp-welcome-text { | .hp-page .hp-welcome-text { | ||
flex: 1 1 300px; | flex: 1 1 300px; | ||
| 第188行: | 第132行: | ||
overflow-wrap: break-word; | overflow-wrap: break-word; | ||
} | } | ||
.hp-page .hp-welcome-text h2 { | .hp-page .hp-welcome-text h2 { | ||
margin: 0 0 12px; | margin: 0 0 12px; | ||
padding: 0; | padding: 0; | ||
font-family: inherit; | font-family: inherit; | ||
font-size: 1.4rem; | font-size: 1.4rem; | ||
font-weight: 500; | font-weight: 500; | ||
color: #1c1f26; | |||
color: # | } | ||
.citizen-dark .hp-page .hp-welcome-text h2 { | |||
color: #e8ecf0; | |||
} | } | ||
.hp-page .hp-welcome-text h2 span { | .hp-page .hp-welcome-text h2 span { | ||
margin-right: 4px; | margin-right: 4px; | ||
} | } | ||
.hp-page .hp-welcome-text p { | .hp-page .hp-welcome-text p { | ||
margin: 0 0 8px; | margin: 0 0 8px; | ||
color: # | color: #3d434e; | ||
font-size: 0.95rem; | font-size: 0.95rem; | ||
} | } | ||
.citizen-dark .hp-page .hp-welcome-text p { | |||
color: #c8d0d8; | |||
} | |||
.hp-page .hp-welcome-list { | .hp-page .hp-welcome-list { | ||
margin: 0; | margin: 0; | ||
padding: 0 0 0 1.4em; | padding: 0 0 0 1.4em; | ||
list-style: disc; | list-style: disc; | ||
color: # | color: #3d434e; | ||
font-size: 0.95rem; | font-size: 0.95rem; | ||
} | } | ||
.citizen-dark .hp-page .hp-welcome-list { | |||
color: #c8d0d8; | |||
} | |||
.hp-page .hp-welcome-list li { | .hp-page .hp-welcome-list li { | ||
margin: 6px 0; | margin: 6px 0; | ||
} | } | ||
.hp-page .hp-welcome-actions { | .hp-page .hp-welcome-actions { | ||
display: flex; | display: flex; | ||
| 第229行: | 第174行: | ||
max-width: 100%; | max-width: 100%; | ||
} | } | ||
.hp-page .hp-btn { | .hp-page .hp-btn { | ||
display: inline-block; | display: inline-block; | ||
padding: 8px 26px; | padding: 8px 26px; | ||
border-radius: 60px; | border-radius: 60px; | ||
background: # | background: #b8860b; | ||
color: #1c1f26; | color: #1c1f26; | ||
font: inherit; | font: inherit; | ||
| 第242行: | 第185行: | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
.hp-page .hp-btn:hover { | .hp-page .hp-btn:hover { | ||
background: # | background: #d4a017; | ||
} | |||
.citizen-dark .hp-page .hp-btn { | |||
background: #dbbd94; | |||
color: #1c1f26; | color: #1c1f26; | ||
} | } | ||
.citizen-dark .hp-page .hp-btn:hover { | |||
.hp-page .hp-btn | background: #eedcc5; | ||
} | } | ||
.hp-page .hp-welcome-actions label { | .hp-page .hp-welcome-actions label { | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: 6px; | gap: 6px; | ||
color: # | color: #6a7280; | ||
font-size: 0.85rem; | font-size: 0.85rem; | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
.citizen-dark .hp-page .hp-welcome-actions label { | |||
color: #88909c; | |||
} | |||
.hp-page .hp-welcome-actions input[type="checkbox"] { | .hp-page .hp-welcome-actions input[type="checkbox"] { | ||
width: 16px; | width: 16px; | ||
| 第266行: | 第211行: | ||
margin: 0; | margin: 0; | ||
} | } | ||
.hp-page .hp-search-wrapper { | |||
width: 100%; | |||
max-width: 600px; | |||
margin: 6px auto 10px; | |||
padding: 0 4px; | |||
} | |||
.hp-page .hp-search-form { | |||
display: flex; | |||
align-items: center; | |||
gap: 0; | |||
width: 100%; | |||
background: rgba(255, 255, 255, 0.85); | |||
border-radius: 60px; | |||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); | |||
overflow: hidden; | |||
} | |||
.citizen-dark .hp-page .hp-search-form { | |||
background: rgba(30, 34, 42, 0.90); | |||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); | |||
} | |||
.hp-page .hp-search-input { | |||
flex: 1; | |||
min-width: 0; | |||
padding: 14px 20px; | |||
border: none; | |||
background: transparent; | |||
color: #1c1f26; | |||
font-size: 1rem; | |||
font-family: inherit; | |||
outline: none; | |||
} | |||
.citizen-dark .hp-page .hp-search-input { | |||
color: #e8ecf0; | |||
} | |||
.hp-page .hp-search-input::placeholder { | |||
color: #6a7280; | |||
opacity: 0.7; | |||
} | |||
.citizen-dark .hp-page .hp-search-input::placeholder { | |||
color: #88909c; | |||
} | |||
.hp-page .hp-search-btn { | |||
flex-shrink: 0; | |||
padding: 14px 22px; | |||
border: none; | |||
background: transparent; | |||
color: #b8860b; | |||
font-size: 1.2rem; | |||
cursor: pointer; | |||
} | |||
.hp-page .hp-search-btn:hover { | |||
color: #d4a017; | |||
} | |||
.citizen-dark .hp-page .hp-search-btn { | |||
color: #dbbd94; | |||
} | |||
.citizen-dark .hp-page .hp-search-btn:hover { | |||
color: #eedcc5; | |||
} | |||
.hp-page .hp-grid { | .hp-page .hp-grid { | ||
display: grid; | display: grid; | ||
| 第277行: | 第279行: | ||
margin: 6px 0 10px; | margin: 6px 0 10px; | ||
} | } | ||
.hp-page .hp-card { | .hp-page .hp-card { | ||
position: relative; | position: relative; | ||
| 第284行: | 第285行: | ||
min-width: 0; | min-width: 0; | ||
padding: 28px 24px 24px; | padding: 28px 24px 24px; | ||
border-radius: 28px; | border-radius: 28px; | ||
background: rgba( | background: rgba(255, 255, 255, 0.85); | ||
color: # | color: #1c1f26; | ||
overflow-wrap: break-word; | overflow-wrap: break-word; | ||
box-shadow: 0 | box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); | ||
} | |||
.citizen-dark .hp-page .hp-card { | |||
background: rgba(30, 34, 42, 0.90); | |||
color: #e8ecf0; | |||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); | |||
} | } | ||
.hp-page .hp-card:hover { | .hp-page .hp-card:hover { | ||
background: rgba( | background: rgba(255, 255, 255, 0.95); | ||
box-shadow: 0 | box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14); | ||
transform: translateY(-2px); | transform: translateY(-2px); | ||
} | } | ||
.citizen-dark .hp-page .hp-card:hover { | |||
background: rgba(40, 44, 54, 0.95); | |||
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6); | |||
} | |||
.hp-page .hp-card h3 { | .hp-page .hp-card h3 { | ||
display: flex; | display: flex; | ||
| 第307行: | 第311行: | ||
margin: 0 0 12px; | margin: 0 0 12px; | ||
padding: 0 0 10px; | padding: 0 0 10px; | ||
border-bottom: 2px solid rgba(0, 0, 0, 0.08); | |||
border-bottom: 2px solid rgba( | |||
font-family: inherit; | font-family: inherit; | ||
font-size: 1.3rem; | font-size: 1.3rem; | ||
| 第314行: | 第317行: | ||
line-height: 1.5; | line-height: 1.5; | ||
letter-spacing: 0.5px; | letter-spacing: 0.5px; | ||
color: # | color: #1c1f26; | ||
overflow-wrap: break-word; | overflow-wrap: break-word; | ||
} | } | ||
.citizen-dark .hp-page .hp-card h3 { | |||
border-bottom: 2px solid rgba(255, 255, 255, 0.06); | |||
color: #e8ecf0; | |||
} | |||
.hp-page .hp-icon { | .hp-page .hp-icon { | ||
flex-shrink: 0; | flex-shrink: 0; | ||
font-size: 1.4rem; | font-size: 1.4rem; | ||
} | } | ||
.hp-page .hp-card p { | .hp-page .hp-card p { | ||
margin: 0 0 8px; | margin: 0 0 8px; | ||
font-size: 0.98rem; | font-size: 0.98rem; | ||
line-height: 1.7; | line-height: 1.7; | ||
color: # | color: #3d434e; | ||
} | |||
.citizen-dark .hp-page .hp-card p { | |||
color: #c8d0d8; | |||
} | } | ||
.hp-page .hp-stats { | .hp-page .hp-stats { | ||
display: block; | display: block; | ||
margin: 8px 0 6px; | margin: 8px 0 6px; | ||
font-size: 0.95rem; | font-size: 0.95rem; | ||
color: # | color: #3d434e; | ||
} | |||
.citizen-dark .hp-page .hp-stats { | |||
color: #c8d0d8; | |||
} | } | ||
.hp-page .hp-stats strong { | .hp-page .hp-stats strong { | ||
color: # | color: #b8860b; | ||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
.citizen-dark .hp-page .hp-stats strong { | |||
color: #dbbd94; | |||
.hp-page .hp- | } | ||
.hp-page .hp-badge-list | .hp-page .hp-badge-list { | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: 8px 12px; | gap: 8px 12px; | ||
margin-top: 8px; | margin-top: 8px; | ||
} | } | ||
.hp-page .hp-badge-list span { | .hp-page .hp-badge-list span { | ||
max-width: 100%; | max-width: 100%; | ||
padding: 4px 16px; | padding: 4px 16px; | ||
border-radius: 40px; | border-radius: 40px; | ||
background: rgba( | background: rgba(0, 0, 0, 0.05); | ||
color: # | border: 1px solid rgba(0, 0, 0, 0.08); | ||
color: #3d434e; | |||
font-size: 0.82rem; | font-size: 0.82rem; | ||
} | } | ||
.citizen-dark .hp-page .hp-badge-list span { | |||
background: rgba(255, 255, 255, 0.06); | |||
.hp-page .hp- | border: 1px solid rgba(255, 255, 255, 0.06); | ||
.hp-page .hp-link-list | color: #c8d0d8; | ||
} | |||
.hp-page .hp-link-list { | |||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
align-items: flex-start; | align-items: flex-start; | ||
gap: | gap: 4px; | ||
margin: 4px 0 6px; | margin: 4px 0 6px; | ||
} | } | ||
.hp-page .hp-link-list a { | .hp-page .hp-link-list a { | ||
display: inline-block; | display: inline-block; | ||
max-width: 100%; | max-width: 100%; | ||
padding: 3px 0; | padding: 3px 0; | ||
font-size: 0.95rem; | font-size: 0.95rem; | ||
white-space: normal; | white-space: normal; | ||
} | } | ||
.hp-page .hp-link-list a:hover { | .hp-page .hp-link-list a:hover { | ||
padding-left: 4px; | |||
} | } | ||
.hp-page .hp-more-link { | .hp-page .hp-more-link { | ||
margin-top: 12px; | margin-top: 12px; | ||
font-size: 0.88rem; | font-size: 0.88rem; | ||
} | } | ||
.hp-page .hp-recent-list { | .hp-page .hp-recent-list { | ||
margin: 4px 0 10px; | margin: 4px 0 10px; | ||
| 第419行: | 第399行: | ||
list-style: none; | list-style: none; | ||
} | } | ||
.hp-page .hp-recent-list li { | .hp-page .hp-recent-list li { | ||
display: flex; | display: flex; | ||
| 第427行: | 第406行: | ||
margin: 0; | margin: 0; | ||
padding: 6px 0; | padding: 6px 0; | ||
border-bottom: 1px solid rgba( | border-bottom: 1px solid rgba(0, 0, 0, 0.08); | ||
font-size: 0.92rem; | font-size: 0.92rem; | ||
line-height: 1.5; | line-height: 1.5; | ||
color: # | color: #3d434e; | ||
} | |||
.citizen-dark .hp-page .hp-recent-list li { | |||
border-bottom: 1px solid rgba(255, 255, 255, 0.06); | |||
color: #c8d0d8; | |||
} | } | ||
.hp-page .hp-recent-list li:last-child { | .hp-page .hp-recent-list li:last-child { | ||
border-bottom: | border-bottom: none; | ||
} | } | ||
.hp-page .hp-rc-title { | .hp-page .hp-rc-title { | ||
min-width: 0; | min-width: 0; | ||
font-weight: 500; | font-weight: 500; | ||
color: # | color: #1c1f26; | ||
} | |||
.citizen-dark .hp-page .hp-rc-title { | |||
color: #e8ecf0; | |||
} | } | ||
.hp-page .hp-rc-user { | .hp-page .hp-rc-user { | ||
color: # | color: #6a7280; | ||
font-size: 0.82rem; | font-size: 0.82rem; | ||
} | } | ||
.citizen-dark .hp-page .hp-rc-user { | |||
color: #88909c; | |||
} | |||
.hp-page .hp-rc-time { | .hp-page .hp-rc-time { | ||
margin-left: auto; | margin-left: auto; | ||
white-space: nowrap; | white-space: nowrap; | ||
color: # | color: #6a7280; | ||
font-size: 0.75rem; | font-size: 0.75rem; | ||
} | } | ||
.citizen-dark .hp-page .hp-rc-time { | |||
color: #88909c; | |||
} | |||
.hp-page .hp-rc-comment { | .hp-page .hp-rc-comment { | ||
width: 100%; | width: 100%; | ||
padding-left: 4px; | padding-left: 4px; | ||
color: # | color: #6a7280; | ||
font-size: 0.82rem; | font-size: 0.82rem; | ||
opacity: 0.8; | |||
} | |||
.citizen-dark .hp-page .hp-rc-comment { | |||
color: #88909c; | |||
} | } | ||
.hp-page .hp-recent-empty, | .hp-page .hp-recent-empty, | ||
.hp-page .hp-loading { | .hp-page .hp-loading { | ||
padding: 8px 0; | padding: 8px 0; | ||
font-size: 0.92rem; | font-size: 0.92rem; | ||
color: # | color: #6a7280; | ||
} | } | ||
.citizen-dark .hp-page .hp-recent-empty, | |||
.hp-page .hp-loading | .citizen-dark .hp-page .hp-loading { | ||
color: #88909c; | |||
} | } | ||
.hp-page .hp-card-featured { | .hp-page .hp-card-featured { | ||
position: relative; | position: relative; | ||
| 第481行: | 第469行: | ||
padding: 0; | padding: 0; | ||
overflow: hidden; | overflow: hidden; | ||
border: 0; | background: rgba(255, 255, 255, 0.85); | ||
background: | border-radius: 28px; | ||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); | |||
} | |||
.citizen-dark .hp-page .hp-card-featured { | |||
background: rgba(30, 34, 42, 0.90); | |||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); | |||
} | } | ||
.hp-page .hp-card-featured:hover { | .hp-page .hp-card-featured:hover { | ||
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14); | |||
} | |||
.citizen-dark .hp-page .hp-card-featured:hover { | |||
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6); | |||
} | } | ||
.hp-page .hp-card-featured > p { | .hp-page .hp-card-featured > p { | ||
margin: 0; | margin: 0; | ||
} | } | ||
.hp-page .hp-card-featured a { | .hp-page .hp-card-featured a { | ||
display: block; | display: block; | ||
position: relative; | position: relative; | ||
color: # | color: #1c1f26; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.citizen-dark .hp-page .hp-card-featured a { | |||
color: #e8ecf0; | |||
} | |||
.hp-page .hp-card-featured img { | .hp-page .hp-card-featured img { | ||
display: block; | display: block; | ||
| 第507行: | 第502行: | ||
object-fit: cover; | object-fit: cover; | ||
} | } | ||
.hp-page .hp-featured-overlay { | .hp-page .hp-featured-overlay { | ||
position: absolute; | position: absolute; | ||
| 第520行: | 第514行: | ||
background: rgba(0, 0, 0, 0.15); | background: rgba(0, 0, 0, 0.15); | ||
} | } | ||
.citizen-dark .hp-page .hp-featured-overlay { | |||
background: rgba(0, 0, 0, 0.30); | |||
} | |||
.hp-page .hp-featured-overlay h3 { | .hp-page .hp-featured-overlay h3 { | ||
display: flex; | display: flex; | ||
| 第530行: | 第526行: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
border: | border: none; | ||
font-size: 2.2rem; | font-size: 2.2rem; | ||
font-weight: 500; | font-weight: 500; | ||
line-height: 1.4; | line-height: 1.4; | ||
letter-spacing: 4px; | letter-spacing: 4px; | ||
color: # | color: #ffffff; | ||
text-align: center; | text-align: center; | ||
text-shadow: 0 4px 20px rgba(0, 0, 0, 0. | text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); | ||
} | } | ||
.hp-page .hp-featured-overlay h3 small { | .hp-page .hp-featured-overlay h3 small { | ||
margin: 0; | margin: 0; | ||
| 第545行: | 第540行: | ||
font-weight: 400; | font-weight: 400; | ||
letter-spacing: 2px; | letter-spacing: 2px; | ||
opacity: 0.9; | |||
} | } | ||
.hp-page .hp-footer { | .hp-page .hp-footer { | ||
width: 100%; | width: 100%; | ||
| 第553行: | 第547行: | ||
font-size: 0.85rem; | font-size: 0.85rem; | ||
letter-spacing: 3px; | letter-spacing: 3px; | ||
color: # | color: #6a7280; | ||
text-align: center; | text-align: center; | ||
} | } | ||
.citizen-dark .hp-page .hp-footer { | |||
color: #88909c; | |||
} | |||
@media (max-width: 1024px) { | @media (max-width: 1024px) { | ||
.hp-page .hp-grid { | .hp-page .hp-grid { | ||
| 第564行: | 第559行: | ||
} | } | ||
} | } | ||
@media (max-width: 820px) { | @media (max-width: 820px) { | ||
.hp-page .hp-grid { | .hp-page .hp-grid { | ||
gap: 20px; | gap: 20px; | ||
} | } | ||
.hp-page .hp-welcome { | .hp-page .hp-welcome { | ||
flex-direction: column; | flex-direction: column; | ||
| 第575行: | 第568行: | ||
padding: 20px; | padding: 20px; | ||
} | } | ||
.hp-page .hp-welcome-text { | .hp-page .hp-welcome-text { | ||
flex: 0 1 auto; | flex: 0 1 auto; | ||
width: 100%; | width: 100%; | ||
} | } | ||
.hp-page .hp-welcome-actions { | .hp-page .hp-welcome-actions { | ||
justify-content: center; | justify-content: center; | ||
} | } | ||
.hp-page .hp-card h3 { | .hp-page .hp-card h3 { | ||
font-size: 1.15rem; | font-size: 1.15rem; | ||
} | } | ||
.hp-page .hp-featured-overlay h3 { | .hp-page .hp-featured-overlay h3 { | ||
font-size: 1.6rem; | font-size: 1.6rem; | ||
} | |||
.hp-page .hp-search-wrapper { | |||
max-width: 100%; | |||
} | } | ||
} | } | ||
@media (max-width: 560px) { | @media (max-width: 560px) { | ||
.hp-page .hp-container { | .hp-page .hp-container { | ||
| 第600行: | 第590行: | ||
padding: 16px 12px 40px; | padding: 16px 12px 40px; | ||
} | } | ||
.hp-page .hp-grid { | .hp-page .hp-grid { | ||
grid-template-columns: minmax(0, 1fr); | grid-template-columns: minmax(0, 1fr); | ||
gap: 16px; | gap: 16px; | ||
} | } | ||
.hp-page .hp-header-logo { | .hp-page .hp-header-logo { | ||
width: 90%; | width: 90%; | ||
max-width: 300px; | max-width: 300px; | ||
} | } | ||
.hp-page .hp-header-sub { | .hp-page .hp-header-sub { | ||
font-size: 0.82rem; | font-size: 0.82rem; | ||
letter-spacing: 3px; | letter-spacing: 3px; | ||
} | } | ||
.hp-page .hp-welcome { | .hp-page .hp-welcome { | ||
padding: 20px 18px; | padding: 20px 18px; | ||
border-radius: 22px; | border-radius: 22px; | ||
} | } | ||
.hp-page .hp-welcome-text h2 { | .hp-page .hp-welcome-text h2 { | ||
font-size: 1.15rem; | font-size: 1.15rem; | ||
} | } | ||
.hp-page .hp-welcome-list { | .hp-page .hp-welcome-list { | ||
font-size: 0.9rem; | font-size: 0.9rem; | ||
} | } | ||
.hp-page .hp-card { | .hp-page .hp-card { | ||
padding: 22px 18px 18px; | padding: 22px 18px 18px; | ||
border-radius: 22px; | border-radius: 22px; | ||
} | } | ||
.hp-page .hp-card h3 { | .hp-page .hp-card h3 { | ||
font-size: 1.1rem; | font-size: 1.1rem; | ||
} | } | ||
.hp-page .hp-card p { | .hp-page .hp-card p { | ||
font-size: 0.92rem; | font-size: 0.92rem; | ||
} | } | ||
.hp-page .hp-recent-list li { | .hp-page .hp-recent-list li { | ||
font-size: 0.85rem; | font-size: 0.85rem; | ||
} | } | ||
.hp-page .hp-rc-time { | .hp-page .hp-rc-time { | ||
width: 100%; | width: 100%; | ||
margin-left: 0; | margin-left: 0; | ||
} | } | ||
.hp-page .hp-card-featured { | .hp-page .hp-card-featured { | ||
padding: 0; | padding: 0; | ||
} | } | ||
.hp-page .hp-card-featured img { | .hp-page .hp-card-featured img { | ||
height: | height: 160px; | ||
} | } | ||
.hp-page .hp-featured-overlay { | .hp-page .hp-featured-overlay { | ||
padding: 12px; | padding: 12px; | ||
} | } | ||
.hp-page .hp-featured-overlay h3 { | .hp-page .hp-featured-overlay h3 { | ||
flex-direction: column; | flex-direction: column; | ||
| 第668行: | 第643行: | ||
letter-spacing: 2px; | letter-spacing: 2px; | ||
} | } | ||
.hp-page .hp-featured-overlay h3 small { | .hp-page .hp-featured-overlay h3 small { | ||
font-size: 0.9rem; | font-size: 0.9rem; | ||
} | } | ||
.hp-page .hp-footer { | .hp-page .hp-footer { | ||
font-size: 0.78rem; | font-size: 0.78rem; | ||
letter-spacing: 1px; | letter-spacing: 1px; | ||
} | } | ||
.hp-page .hp-search-input { | |||
padding: 12px 16px; | |||
font-size: 0.95rem; | |||
.hp-page .hp- | |||
} | } | ||
.hp-page .hp-search-btn { | |||
padding: 12px 16px; | |||
.hp-page .hp- | |||
} | } | ||
} | } | ||
2026年9月9日 (三) 21:10的版本
.hp-page {
position: relative;
z-index: 0;
width: 100%;
min-width: 0;
overflow: hidden;
background: #f0f2f5;
color: #1c1f26;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
line-height: 1.7;
}
.citizen-dark .hp-page {
background: #16181d;
color: #e8ecf0;
}
.hp-page .hp-bg {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 0;
overflow: hidden;
}
.hp-page .hp-bg img {
display: block;
width: 100%;
height: 100%;
max-width: none;
object-fit: cover;
object-position: center;
}
.hp-page .hp-bg::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 50%;
background: linear-gradient(to bottom, transparent 0%, #f0f2f5 100%);
z-index: 1;
}
.citizen-dark .hp-page .hp-bg::after {
background: linear-gradient(to bottom, transparent 0%, #16181d 100%);
}
.hp-page a {
color: #b8860b;
text-decoration: none;
overflow-wrap: break-word;
}
.hp-page a:visited {
color: #b8860b;
}
.hp-page a:hover {
color: #d4a017;
}
.hp-page a.new {
color: #cc5555;
}
.hp-page a.new:visited {
color: #cc5555;
}
.citizen-dark .hp-page a {
color: #dbbd94;
}
.citizen-dark .hp-page a:visited {
color: #dbbd94;
}
.citizen-dark .hp-page a:hover {
color: #eedcc5;
}
.citizen-dark .hp-page a.new {
color: #ff7b7b;
}
.citizen-dark .hp-page a.new:visited {
color: #ff7b7b;
}
.hp-page .hp-header {
width: 100%;
padding: 6px 0 10px;
text-align: center;
}
.hp-page .hp-header-logo {
display: block;
width: 80%;
max-width: 340px;
margin: 0 auto 10px;
overflow: hidden;
border-radius: 18px;
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}
.hp-page .hp-header-logo img {
display: block;
width: 100%;
max-width: 100%;
height: auto;
}
.hp-page .hp-header-sub {
margin-top: 2px;
font-size: 0.95rem;
font-weight: 400;
letter-spacing: 6px;
color: #b8860b;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.citizen-dark .hp-page .hp-header-sub {
color: #dbbd94;
}
.hp-page .hp-welcome {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 16px 20px;
width: 100%;
max-width: 820px;
padding: 24px 30px;
border-radius: 28px;
background: rgba(255, 255, 255, 0.88);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.citizen-dark .hp-page .hp-welcome {
background: rgba(30, 34, 42, 0.92);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.hp-page .hp-welcome.hidden {
display: none;
}
.hp-page .hp-welcome-text {
flex: 1 1 300px;
min-width: 0;
overflow-wrap: break-word;
}
.hp-page .hp-welcome-text h2 {
margin: 0 0 12px;
padding: 0;
font-family: inherit;
font-size: 1.4rem;
font-weight: 500;
color: #1c1f26;
}
.citizen-dark .hp-page .hp-welcome-text h2 {
color: #e8ecf0;
}
.hp-page .hp-welcome-text h2 span {
margin-right: 4px;
}
.hp-page .hp-welcome-text p {
margin: 0 0 8px;
color: #3d434e;
font-size: 0.95rem;
}
.citizen-dark .hp-page .hp-welcome-text p {
color: #c8d0d8;
}
.hp-page .hp-welcome-list {
margin: 0;
padding: 0 0 0 1.4em;
list-style: disc;
color: #3d434e;
font-size: 0.95rem;
}
.citizen-dark .hp-page .hp-welcome-list {
color: #c8d0d8;
}
.hp-page .hp-welcome-list li {
margin: 6px 0;
}
.hp-page .hp-welcome-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px;
max-width: 100%;
}
.hp-page .hp-btn {
display: inline-block;
padding: 8px 26px;
border-radius: 60px;
background: #b8860b;
color: #1c1f26;
font: inherit;
font-size: 0.95rem;
font-weight: 600;
cursor: pointer;
}
.hp-page .hp-btn:hover {
background: #d4a017;
}
.citizen-dark .hp-page .hp-btn {
background: #dbbd94;
color: #1c1f26;
}
.citizen-dark .hp-page .hp-btn:hover {
background: #eedcc5;
}
.hp-page .hp-welcome-actions label {
display: flex;
align-items: center;
gap: 6px;
color: #6a7280;
font-size: 0.85rem;
cursor: pointer;
}
.citizen-dark .hp-page .hp-welcome-actions label {
color: #88909c;
}
.hp-page .hp-welcome-actions input[type="checkbox"] {
width: 16px;
height: 16px;
margin: 0;
}
.hp-page .hp-search-wrapper {
width: 100%;
max-width: 600px;
margin: 6px auto 10px;
padding: 0 4px;
}
.hp-page .hp-search-form {
display: flex;
align-items: center;
gap: 0;
width: 100%;
background: rgba(255, 255, 255, 0.85);
border-radius: 60px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
overflow: hidden;
}
.citizen-dark .hp-page .hp-search-form {
background: rgba(30, 34, 42, 0.90);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.hp-page .hp-search-input {
flex: 1;
min-width: 0;
padding: 14px 20px;
border: none;
background: transparent;
color: #1c1f26;
font-size: 1rem;
font-family: inherit;
outline: none;
}
.citizen-dark .hp-page .hp-search-input {
color: #e8ecf0;
}
.hp-page .hp-search-input::placeholder {
color: #6a7280;
opacity: 0.7;
}
.citizen-dark .hp-page .hp-search-input::placeholder {
color: #88909c;
}
.hp-page .hp-search-btn {
flex-shrink: 0;
padding: 14px 22px;
border: none;
background: transparent;
color: #b8860b;
font-size: 1.2rem;
cursor: pointer;
}
.hp-page .hp-search-btn:hover {
color: #d4a017;
}
.citizen-dark .hp-page .hp-search-btn {
color: #dbbd94;
}
.citizen-dark .hp-page .hp-search-btn:hover {
color: #eedcc5;
}
.hp-page .hp-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 28px;
align-items: stretch;
width: 100%;
max-width: 1200px;
margin: 6px 0 10px;
}
.hp-page .hp-card {
position: relative;
display: flex;
flex-direction: column;
min-width: 0;
padding: 28px 24px 24px;
border-radius: 28px;
background: rgba(255, 255, 255, 0.85);
color: #1c1f26;
overflow-wrap: break-word;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.citizen-dark .hp-page .hp-card {
background: rgba(30, 34, 42, 0.90);
color: #e8ecf0;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.hp-page .hp-card:hover {
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
transform: translateY(-2px);
}
.citizen-dark .hp-page .hp-card:hover {
background: rgba(40, 44, 54, 0.95);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}
.hp-page .hp-card h3 {
display: flex;
align-items: center;
gap: 10px;
margin: 0 0 12px;
padding: 0 0 10px;
border-bottom: 2px solid rgba(0, 0, 0, 0.08);
font-family: inherit;
font-size: 1.3rem;
font-weight: 600;
line-height: 1.5;
letter-spacing: 0.5px;
color: #1c1f26;
overflow-wrap: break-word;
}
.citizen-dark .hp-page .hp-card h3 {
border-bottom: 2px solid rgba(255, 255, 255, 0.06);
color: #e8ecf0;
}
.hp-page .hp-icon {
flex-shrink: 0;
font-size: 1.4rem;
}
.hp-page .hp-card p {
margin: 0 0 8px;
font-size: 0.98rem;
line-height: 1.7;
color: #3d434e;
}
.citizen-dark .hp-page .hp-card p {
color: #c8d0d8;
}
.hp-page .hp-stats {
display: block;
margin: 8px 0 6px;
font-size: 0.95rem;
color: #3d434e;
}
.citizen-dark .hp-page .hp-stats {
color: #c8d0d8;
}
.hp-page .hp-stats strong {
color: #b8860b;
font-weight: 600;
}
.citizen-dark .hp-page .hp-stats strong {
color: #dbbd94;
}
.hp-page .hp-badge-list {
display: flex;
flex-wrap: wrap;
gap: 8px 12px;
margin-top: 8px;
}
.hp-page .hp-badge-list span {
max-width: 100%;
padding: 4px 16px;
border-radius: 40px;
background: rgba(0, 0, 0, 0.05);
border: 1px solid rgba(0, 0, 0, 0.08);
color: #3d434e;
font-size: 0.82rem;
}
.citizen-dark .hp-page .hp-badge-list span {
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.06);
color: #c8d0d8;
}
.hp-page .hp-link-list {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 4px;
margin: 4px 0 6px;
}
.hp-page .hp-link-list a {
display: inline-block;
max-width: 100%;
padding: 3px 0;
font-size: 0.95rem;
white-space: normal;
}
.hp-page .hp-link-list a:hover {
padding-left: 4px;
}
.hp-page .hp-more-link {
margin-top: 12px;
font-size: 0.88rem;
}
.hp-page .hp-recent-list {
margin: 4px 0 10px;
padding: 0;
list-style: none;
}
.hp-page .hp-recent-list li {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 4px 10px;
margin: 0;
padding: 6px 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
font-size: 0.92rem;
line-height: 1.5;
color: #3d434e;
}
.citizen-dark .hp-page .hp-recent-list li {
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
color: #c8d0d8;
}
.hp-page .hp-recent-list li:last-child {
border-bottom: none;
}
.hp-page .hp-rc-title {
min-width: 0;
font-weight: 500;
color: #1c1f26;
}
.citizen-dark .hp-page .hp-rc-title {
color: #e8ecf0;
}
.hp-page .hp-rc-user {
color: #6a7280;
font-size: 0.82rem;
}
.citizen-dark .hp-page .hp-rc-user {
color: #88909c;
}
.hp-page .hp-rc-time {
margin-left: auto;
white-space: nowrap;
color: #6a7280;
font-size: 0.75rem;
}
.citizen-dark .hp-page .hp-rc-time {
color: #88909c;
}
.hp-page .hp-rc-comment {
width: 100%;
padding-left: 4px;
color: #6a7280;
font-size: 0.82rem;
opacity: 0.8;
}
.citizen-dark .hp-page .hp-rc-comment {
color: #88909c;
}
.hp-page .hp-recent-empty,
.hp-page .hp-loading {
padding: 8px 0;
font-size: 0.92rem;
color: #6a7280;
}
.citizen-dark .hp-page .hp-recent-empty,
.citizen-dark .hp-page .hp-loading {
color: #88909c;
}
.hp-page .hp-card-featured {
position: relative;
display: block;
grid-column: 1 / -1;
min-height: 160px;
padding: 0;
overflow: hidden;
background: rgba(255, 255, 255, 0.85);
border-radius: 28px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.citizen-dark .hp-page .hp-card-featured {
background: rgba(30, 34, 42, 0.90);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.hp-page .hp-card-featured:hover {
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
}
.citizen-dark .hp-page .hp-card-featured:hover {
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}
.hp-page .hp-card-featured > p {
margin: 0;
}
.hp-page .hp-card-featured a {
display: block;
position: relative;
color: #1c1f26;
text-decoration: none;
}
.citizen-dark .hp-page .hp-card-featured a {
color: #e8ecf0;
}
.hp-page .hp-card-featured img {
display: block;
width: 100%;
max-width: 100%;
height: 200px;
object-fit: cover;
}
.hp-page .hp-featured-overlay {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
background: rgba(0, 0, 0, 0.15);
}
.citizen-dark .hp-page .hp-featured-overlay {
background: rgba(0, 0, 0, 0.30);
}
.hp-page .hp-featured-overlay h3 {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 8px 16px;
max-width: 100%;
margin: 0;
padding: 0;
border: none;
font-size: 2.2rem;
font-weight: 500;
line-height: 1.4;
letter-spacing: 4px;
color: #ffffff;
text-align: center;
text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}
.hp-page .hp-featured-overlay h3 small {
margin: 0;
font-size: 1rem;
font-weight: 400;
letter-spacing: 2px;
opacity: 0.9;
}
.hp-page .hp-footer {
width: 100%;
margin: 20px 0 6px;
font-size: 0.85rem;
letter-spacing: 3px;
color: #6a7280;
text-align: center;
}
.citizen-dark .hp-page .hp-footer {
color: #88909c;
}
@media (max-width: 1024px) {
.hp-page .hp-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 24px;
}
}
@media (max-width: 820px) {
.hp-page .hp-grid {
gap: 20px;
}
.hp-page .hp-welcome {
flex-direction: column;
align-items: stretch;
padding: 20px;
}
.hp-page .hp-welcome-text {
flex: 0 1 auto;
width: 100%;
}
.hp-page .hp-welcome-actions {
justify-content: center;
}
.hp-page .hp-card h3 {
font-size: 1.15rem;
}
.hp-page .hp-featured-overlay h3 {
font-size: 1.6rem;
}
.hp-page .hp-search-wrapper {
max-width: 100%;
}
}
@media (max-width: 560px) {
.hp-page .hp-container {
gap: 20px;
padding: 16px 12px 40px;
}
.hp-page .hp-grid {
grid-template-columns: minmax(0, 1fr);
gap: 16px;
}
.hp-page .hp-header-logo {
width: 90%;
max-width: 300px;
}
.hp-page .hp-header-sub {
font-size: 0.82rem;
letter-spacing: 3px;
}
.hp-page .hp-welcome {
padding: 20px 18px;
border-radius: 22px;
}
.hp-page .hp-welcome-text h2 {
font-size: 1.15rem;
}
.hp-page .hp-welcome-list {
font-size: 0.9rem;
}
.hp-page .hp-card {
padding: 22px 18px 18px;
border-radius: 22px;
}
.hp-page .hp-card h3 {
font-size: 1.1rem;
}
.hp-page .hp-card p {
font-size: 0.92rem;
}
.hp-page .hp-recent-list li {
font-size: 0.85rem;
}
.hp-page .hp-rc-time {
width: 100%;
margin-left: 0;
}
.hp-page .hp-card-featured {
padding: 0;
}
.hp-page .hp-card-featured img {
height: 160px;
}
.hp-page .hp-featured-overlay {
padding: 12px;
}
.hp-page .hp-featured-overlay h3 {
flex-direction: column;
font-size: 1.3rem;
letter-spacing: 2px;
}
.hp-page .hp-featured-overlay h3 small {
font-size: 0.9rem;
}
.hp-page .hp-footer {
font-size: 0.78rem;
letter-spacing: 1px;
}
.hp-page .hp-search-input {
padding: 12px 16px;
font-size: 0.95rem;
}
.hp-page .hp-search-btn {
padding: 12px 16px;
}
}