fix: restyle pager chips and restore theme ad slots
Build and Deploy / verify (push) Successful in 37s
Build and Deploy / deploy (push) Successful in 38s

Replace the loose page-count label with a SaBlog-style 6 / 316 chip, wire inject/stylevar HTML into list and post views, and flush page cache when ads are saved.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
gouki
2026-09-18 21:48:24 +00:00
co-authored by Cursor
parent ae47447062
commit 36c4ffc5b4
41 changed files with 936 additions and 81 deletions
+38 -9
View File
@@ -370,34 +370,63 @@ a:hover {
width: 100%;
max-width: 100%;
min-width: 0;
margin: 12px 0;
margin: 14px 0;
clear: both;
}
.pagination-links {
display: flex;
gap: 4px;
gap: 1px;
flex-wrap: wrap;
align-items: center;
max-width: 100%;
margin: 12px 0;
margin: 0;
}
.pagination-info {
color: #888;
background: #f5fbff;
border: 1px solid #86b9d6;
color: #336;
font-size: 12px;
margin-right: 6px;
padding: 2px 6px;
margin-right: 4px;
white-space: nowrap;
}
.pagination-links a,
.pagination-links .current,
.pagination-links .disabled {
padding: 2px 7px;
border: 1px solid #d8dfe6;
padding: 2px 6px;
border: 1px solid #dedeb8;
background: #fff;
font-size: 12px;
line-height: 1.4;
min-width: 1.6em;
text-align: center;
text-decoration: none;
}
.pagination-links a:hover {
background: #f5fbff;
border-color: #86b9d6;
}
.pagination-links .current {
background: #1c62b0;
color: #fff;
background: #ffffd9;
color: #92a05a;
font-weight: 700;
border-color: #dedeb8;
}
.pagination-links .disabled {
color: #999;
}
.theme-inject {
margin: 8px 0;
max-width: 100%;
overflow: hidden;
}
.theme-inject:empty {
display: none;
}
.theme-inject img,
.theme-inject iframe {
max-width: 100%;
height: auto;
}
#footer {