fix: 去图标 + 状态栏加返回主站链接

This commit is contained in:
2026-06-02 13:33:04 +00:00
parent 8a7e8cf2b8
commit 415fa1c9d4
4 changed files with 11 additions and 16 deletions

View File

@@ -50,6 +50,8 @@ function buildStatusBar() {
<span class="status-item" id="status-arxiv"><span class="status-dot"></span> arXiv <span class="status-ms" id="ms-arxiv">—</span></span> <span class="status-item" id="status-arxiv"><span class="status-dot"></span> arXiv <span class="status-ms" id="ms-arxiv">—</span></span>
<span class="status-item" id="status-hf"><span class="status-dot"></span> HuggingFace <span class="status-ms" id="ms-hf">—</span></span> <span class="status-item" id="status-hf"><span class="status-dot"></span> HuggingFace <span class="status-ms" id="ms-hf">—</span></span>
<span class="status-spacer"></span> <span class="status-spacer"></span>
<a href="https://spdis.space" class="status-home-link">← 返回主站</a>
<span class="status-spacer"></span>
<span class="status-credit">本站由 <strong>DeepSeek-V4-Pro</strong> 每周五自动更新并维护</span> <span class="status-credit">本站由 <strong>DeepSeek-V4-Pro</strong> 每周五自动更新并维护</span>
`; `;
document.body.appendChild(bar); document.body.appendChild(bar);

View File

@@ -11,10 +11,7 @@
<body> <body>
<div class="header"> <div class="header">
<a href="https://spdis.space" class="home-link" title="返回主站 spdis.space"> <h1>🧠 LLM 论文图书馆</h1>
<img src="/favicon.png" alt="" class="header-icon">
</a>
<h1><img src="/favicon.png" alt="" class="title-icon"> LLM 论文图书馆</h1>
</div> </div>
<div class="search-wrap"> <div class="search-wrap">
@@ -87,6 +84,8 @@ function buildStatusBar() {
<span class="status-item" id="status-arxiv"><span class="status-dot"></span> arXiv <span class="status-ms" id="ms-arxiv">—</span></span> <span class="status-item" id="status-arxiv"><span class="status-dot"></span> arXiv <span class="status-ms" id="ms-arxiv">—</span></span>
<span class="status-item" id="status-hf"><span class="status-dot"></span> HuggingFace <span class="status-ms" id="ms-hf">—</span></span> <span class="status-item" id="status-hf"><span class="status-dot"></span> HuggingFace <span class="status-ms" id="ms-hf">—</span></span>
<span class="status-spacer"></span> <span class="status-spacer"></span>
<a href="https://spdis.space" class="status-home-link">← 返回主站</a>
<span class="status-spacer"></span>
<span class="status-credit">本站由 <strong>DeepSeek-V4-Pro</strong> 每周五自动更新并维护</span> <span class="status-credit">本站由 <strong>DeepSeek-V4-Pro</strong> 每周五自动更新并维护</span>
`; `;
document.body.appendChild(bar); document.body.appendChild(bar);

View File

@@ -11,10 +11,7 @@
<body> <body>
<div class="header"> <div class="header">
<a href="https://spdis.space" class="home-link" title="返回主站 spdis.space"> <h1>🧠 LLM 论文图书馆</h1>
<img src="/favicon.png" alt="" class="header-icon">
</a>
<h1><img src="/favicon.png" alt="" class="title-icon"> LLM 论文图书馆</h1>
</div> </div>
<div class="search-wrap"> <div class="search-wrap">

View File

@@ -26,16 +26,9 @@ body {
padding: 32px 24px 60px; min-height: 100vh; padding: 32px 24px 60px; min-height: 100vh;
} }
.header { text-align: center; margin-bottom: 32px; display: flex; align-items: center; justify-content: center; gap: 10px; } .header { text-align: center; margin-bottom: 32px; }
.header .home-link { display: inline-flex; align-items: center; }
.header .header-icon { width: 22px; height: 22px; border-radius: 4px; cursor: pointer; }
.header h1 { .header h1 {
font-size: 1.5em; font-size: 1.5em;
background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink));
-webkit-background-clip: text; -webkit-text-fill-color: transparent;
display: flex; align-items: center; gap: 6px;
}
.header .title-icon { width: 24px; height: 24px; border-radius: 4px; flex-shrink: 0; -webkit-background-clip: unset; -webkit-text-fill-color: unset; }
.header p { color: var(--text-dim); font-size: 0.85em; margin-top: 4px; } .header p { color: var(--text-dim); font-size: 0.85em; margin-top: 4px; }
.grid { .grid {
@@ -298,6 +291,8 @@ body {
} }
.status-spacer { flex: 1; } .status-spacer { flex: 1; }
.status-home-link { color: var(--blue); text-decoration: none; font-size: 0.85em; white-space: nowrap; }
.status-home-link:hover { text-decoration: underline; }
.status-credit { color: var(--text-dim); font-size: 0.75em; white-space: nowrap; } .status-credit { color: var(--text-dim); font-size: 0.75em; white-space: nowrap; }
.status-credit strong { color: var(--cyan); } .status-credit strong { color: var(--cyan); }
.trans-en, .trans-zh { .trans-en, .trans-zh {
@@ -321,5 +316,7 @@ body {
} }
.status-spacer { flex: 1; } .status-spacer { flex: 1; }
.status-home-link { color: var(--blue); text-decoration: none; font-size: 0.85em; white-space: nowrap; }
.status-home-link:hover { text-decoration: underline; }
.status-credit { color: var(--text-dim); font-size: 0.75em; white-space: nowrap; } .status-credit { color: var(--text-dim); font-size: 0.75em; white-space: nowrap; }
.status-credit strong { color: var(--cyan); } .status-credit strong { color: var(--cyan); }