This commit is contained in:
make
2025-04-17 23:24:49 +08:00
parent d6656219ee
commit fa678a6d0e
10 changed files with 278 additions and 71 deletions

View File

@@ -23,7 +23,8 @@ body{background:#fff;}
c{clear: both;display: none;}
.header{font-size:20px;background:#007bb1;color:#fff;height:50px;line-height:50px;text-align:center;position:relative;z-index:999;display:-webkit-box;display:-moz-box;display:box;}
.header .title{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;width:100%;height:50px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:700;}
.header .bookname{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;width:100%;height:50px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:700;}
.header .bookname{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;width:100%;height:50px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:700;font-size: 1rem; text-align: left;
text-indent: 10px;}
.header .operate{padding:0 10px;height:28px;margin:10px 10px;line-height:26px;font-size:14px;background:#65bbec;border-radius:3px;}
.header .operate a{color:#fff;}
@@ -280,10 +281,85 @@ color: #004d00;border-radius:5px;transition: all 0.3s;}
.sort_page_num>a:hover,.sort_page_num>a.page_on{background: #3F51B5;}
.novel_search_page h1{font-size: 1rem;text-align: center;margin-bottom: 1rem;}
.novel_search_page h1 span{color:red;}
.site-description {
font-size: 0.7rem;
padding: 0.5rem 0.5rem;
line-height: 1rem;
background: #ffffff;
/* margin-bottom: 0.5rem; */
}
/* 面包屑容器 -----------------------------start */
/* 面包屑容器 */
.breadcrumb {
font-family: Arial, sans-serif;
padding: 10px 15px;
background-color: #f8f9fa;
border-radius: 5px;
/* margin: 10px 0; */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
/* 有序列表样式 */
.breadcrumb ol {
list-style: none;
margin: 0;
padding: 0;
display: flex;
align-items: center;
flex-wrap: wrap;
}
/* 面包屑项 */
.breadcrumb-item {
font-size: 14px;
color: #666;
}
/* 链接样式 */
.breadcrumb-item a {
text-decoration: none;
color: #007bff;
transition: color 0.3s ease;
}
.breadcrumb-item a:hover {
color: #0056b3;
text-decoration: underline;
}
/* 分隔符 */
.breadcrumb-item + .breadcrumb-item::before {
content: ">";
margin: 0 8px;
color: #999;
font-weight: bold;
}
/* 当前页面样式 */
.breadcrumb-item.active {
color: #333;
font-weight: bold;
}
/* 响应式调整 */
@media (max-width: 768px) {
.breadcrumb {
padding: 8px 10px;
}
.breadcrumb-item {
font-size: 12px;
}
.breadcrumb-item + .breadcrumb-item::before {
margin: 0 5px;
}
}
/* 面包屑容器 -----------------------------end */

View File

@@ -196,8 +196,8 @@ function displayShujia() {
shujiaContainer.innerHTML = ''; // 清空原内容
shujia.forEach(book => {
const bookElement = document.createElement('div');
let strNovelUrl = formatNovelUrl(book.og_novel_pin_yin, book.n_id)
let strNovelChapterUrl = formatNovelChapterUrl(book.og_novel_pin_yin, book.n_id, book.c_sort_num)
let strNovelUrl = formatNovelUrl(book.n_name_pinyin, book.n_id)
let strNovelChapterUrl = formatNovelChapterUrl(book.n_name_pinyin, book.n_id, book.c_sort_num)
let strSearchUrl = formatSearchUrl(book.n_author, 1)
if (isMobile()) {
bookElement.innerHTML = `
@@ -287,8 +287,8 @@ function displayHistory() {
shujiaContainer.innerHTML = ''; // 清空原内容
shujia.forEach(book => {
const bookElement = document.createElement('div');
let strNovelUrl = formatNovelUrl(book.og_novel_pin_yin, book.n_id)
let strNovelChapterUrl = formatNovelChapterUrl(book.og_novel_pin_yin, book.n_id, book.c_sort_num)
let strNovelUrl = formatNovelUrl(book.n_name_pinyin, book.n_id)
let strNovelChapterUrl = formatNovelChapterUrl(book.n_name_pinyin, book.n_id, book.c_sort_num)
let strSearchUrl = formatSearchUrl(book.n_author, 1)
if (isMobile()) {
bookElement.innerHTML = `