fix: 去图标 + 状态栏加返回主站链接
This commit is contained in:
@@ -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-hf"><span class="status-dot"></span> HuggingFace <span class="status-ms" id="ms-hf">—</span></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>
|
||||
`;
|
||||
document.body.appendChild(bar);
|
||||
|
||||
@@ -11,10 +11,7 @@
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<a href="https://spdis.space" class="home-link" title="返回主站 spdis.space">
|
||||
<img src="/favicon.png" alt="" class="header-icon">
|
||||
</a>
|
||||
<h1><img src="/favicon.png" alt="" class="title-icon"> LLM 论文图书馆</h1>
|
||||
<h1>🧠 LLM 论文图书馆</h1>
|
||||
</div>
|
||||
|
||||
<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-hf"><span class="status-dot"></span> HuggingFace <span class="status-ms" id="ms-hf">—</span></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>
|
||||
`;
|
||||
document.body.appendChild(bar);
|
||||
|
||||
@@ -11,10 +11,7 @@
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<a href="https://spdis.space" class="home-link" title="返回主站 spdis.space">
|
||||
<img src="/favicon.png" alt="" class="header-icon">
|
||||
</a>
|
||||
<h1><img src="/favicon.png" alt="" class="title-icon"> LLM 论文图书馆</h1>
|
||||
<h1>🧠 LLM 论文图书馆</h1>
|
||||
</div>
|
||||
|
||||
<div class="search-wrap">
|
||||
|
||||
@@ -26,16 +26,9 @@ body {
|
||||
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 .home-link { display: inline-flex; align-items: center; }
|
||||
.header .header-icon { width: 22px; height: 22px; border-radius: 4px; cursor: pointer; }
|
||||
.header { text-align: center; margin-bottom: 32px; }
|
||||
.header h1 {
|
||||
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; }
|
||||
|
||||
.grid {
|
||||
@@ -298,6 +291,8 @@ body {
|
||||
}
|
||||
|
||||
.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 strong { color: var(--cyan); }
|
||||
.trans-en, .trans-zh {
|
||||
@@ -321,5 +316,7 @@ body {
|
||||
}
|
||||
|
||||
.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 strong { color: var(--cyan); }
|
||||
|
||||
Reference in New Issue
Block a user