Skip to content

Commit ccc52af

Browse files
author
Mingyue-Cheng
committed
Sync publications nav and footer
1 parent 2c9a6d6 commit ccc52af

1 file changed

Lines changed: 14 additions & 117 deletions

File tree

papers/index.html

Lines changed: 14 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,13 @@
8181
width: 100%;
8282
padding: 10px 0;
8383
}
84-
.nav-links a,
85-
.nav-dropdown-toggle {
84+
.nav-links a {
8685
flex-shrink: 0;
8786
padding: 8px 14px;
8887
border-radius: 999px;
8988
border: 1px solid transparent;
9089
font-size: 0.84rem;
91-
font-weight: 500;
90+
font-weight: 600;
9291
color: #555;
9392
transition: color .18s, background .18s, border-color .18s, transform .18s;
9493
}
@@ -97,72 +96,21 @@
9796
background: var(--accent);
9897
border-color: var(--accent);
9998
box-shadow: 0 6px 14px rgba(192, 57, 43, 0.16);
100-
font-weight: 700;
101-
}
102-
.nav-dropdown {
103-
position: relative;
104-
flex-shrink: 0;
105-
}
106-
.nav-dropdown-toggle {
107-
appearance: none;
108-
background: transparent;
109-
cursor: pointer;
110-
font-family: inherit;
111-
line-height: 1.2;
112-
}
113-
.nav-dropdown-toggle::after {
114-
content: "";
115-
display: inline-block;
116-
margin-left: 7px;
117-
vertical-align: middle;
118-
border-left: 4px solid transparent;
119-
border-right: 4px solid transparent;
120-
border-top: 5px solid currentColor;
121-
transition: transform .18s ease;
122-
}
123-
.nav-dropdown.open .nav-dropdown-toggle::after {
124-
transform: rotate(180deg);
125-
}
126-
.nav-dropdown-menu {
127-
position: absolute;
128-
top: calc(100% + 8px);
129-
left: 0;
130-
min-width: 220px;
131-
padding: 8px;
132-
border-radius: 16px;
133-
border: 1px solid #f1d2ce;
134-
background: rgba(255, 255, 255, 0.98);
135-
box-shadow: 0 12px 28px rgba(192, 57, 43, 0.10);
136-
display: none;
137-
gap: 4px;
138-
z-index: 30;
139-
}
140-
.nav-dropdown.open .nav-dropdown-menu {
141-
display: grid;
142-
}
143-
.nav-dropdown-menu a {
144-
padding: 10px 12px;
145-
border-radius: 12px;
146-
border: 1px solid transparent;
147-
font-size: 0.84rem;
148-
font-weight: 600;
149-
color: #555;
150-
line-height: 1.4;
15199
}
152100
.nav-links a:hover,
153101
.nav-links a:active,
154-
.nav-dropdown-toggle:hover,
155-
.nav-dropdown-toggle:active,
156-
.nav-dropdown.open .nav-dropdown-toggle,
157-
.nav-dropdown-menu a:hover,
158-
.nav-dropdown-menu a:active {
102+
.nav-links a.nav-primary:hover {
159103
color: var(--accent);
160104
background: var(--accent-light);
161105
border-color: #f1d2ce;
162-
font-weight: 700;
163106
text-decoration: none;
164107
transform: translateY(-1px);
165108
}
109+
.nav-links a.nav-primary:hover {
110+
color: #fff;
111+
background: var(--accent-dark);
112+
border-color: var(--accent-dark);
113+
}
166114

167115
header {
168116
background: linear-gradient(160deg, #ffffff 50%, #fff5f4 100%);
@@ -320,10 +268,6 @@
320268
padding: 7px 12px;
321269
font-size: 0.81rem;
322270
}
323-
.nav-dropdown-menu {
324-
left: 0;
325-
min-width: 200px;
326-
}
327271
.publication-header,
328272
.publication-body {
329273
padding-left: 18px;
@@ -344,18 +288,11 @@
344288
<div class="container">
345289
<a class="nav-brand" href="../index.html#hero-header">USTC-AGI <span>Agentic AI</span></a>
346290
<div class="nav-links">
347-
<a href="../index.html#hero-header">首页</a>
348-
<div class="nav-dropdown">
349-
<button class="nav-dropdown-toggle" type="button" aria-expanded="false">研究方向</button>
350-
<div class="nav-dropdown-menu" role="menu">
351-
<a href="../agent-training/" role="menuitem">Agent 训练框架</a>
352-
<a href="../agent-runtime/" role="menuitem">Agent运行框架设计</a>
353-
<a href="../agentic-rag/" role="menuitem">Agentic RAG</a>
354-
<a href="../agent-apps/" role="menuitem">领域应用研究</a>
355-
</div>
356-
</div>
291+
<a href="../index.html#hero-header" class="nav-primary">首页</a>
292+
<a href="../index.html#research-tracks">研究方向</a>
293+
<a href="../papers/">论文发表</a>
294+
<a href="../index.html#application-systems">应用系统</a>
357295
<a href="../index.html#team-members">团队成员</a>
358-
<a href="./" class="nav-primary">论文发表</a>
359296
<a href="https://github.com/AgentR1" target="_blank" rel="noopener">GitHub</a>
360297
</div>
361298
</div>
@@ -420,53 +357,13 @@ <h3 class="pub-year-heading">📘 Survey</h3>
420357
<footer>
421358
<div class="container">
422359
<p>
423-
&copy; 2025–2026 Agentic AI Team &middot;
424-
<a href="https://ustcagi.github.io/" target="_blank" rel="noopener">USTC-AGI 研究组</a>
425-
&middot; State Key Laboratory of Cognitive Intelligence, USTC
360+
&copy; 2025–2026 Agentic AI Team &middot; <a href="https://ustcagi.github.io/" target="_blank" rel="noopener">USTC-AGI组</a> · State Key Laboratory of Cognitive Intelligence, USTC
426361
</p>
427362
<p class="footer-funding">
428-
本页面为 LLMs and Agentic AI 方向论文入口页,用于聚合当前展示研究成果对应的代表性论文。
363+
本项目研究资助来源:国家自然科学基金委、国家科技重大攻关专项
429364
</p>
430365
</div>
431366
</footer>
432367

433-
<script>
434-
(() => {
435-
const dropdowns = document.querySelectorAll('.nav-dropdown');
436-
const closeAll = () => {
437-
dropdowns.forEach((dropdown) => {
438-
dropdown.classList.remove('open');
439-
const toggle = dropdown.querySelector('.nav-dropdown-toggle');
440-
if (toggle) toggle.setAttribute('aria-expanded', 'false');
441-
});
442-
};
443-
444-
dropdowns.forEach((dropdown) => {
445-
const toggle = dropdown.querySelector('.nav-dropdown-toggle');
446-
const menuLinks = dropdown.querySelectorAll('.nav-dropdown-menu a');
447-
if (!toggle) return;
448-
449-
toggle.addEventListener('click', (event) => {
450-
event.stopPropagation();
451-
const willOpen = !dropdown.classList.contains('open');
452-
closeAll();
453-
dropdown.classList.toggle('open', willOpen);
454-
toggle.setAttribute('aria-expanded', willOpen ? 'true' : 'false');
455-
});
456-
457-
menuLinks.forEach((link) => {
458-
link.addEventListener('click', () => {
459-
closeAll();
460-
});
461-
});
462-
});
463-
464-
document.addEventListener('click', closeAll);
465-
document.addEventListener('keydown', (event) => {
466-
if (event.key === 'Escape') closeAll();
467-
});
468-
})();
469-
</script>
470-
471368
</body>
472369
</html>

0 commit comments

Comments
 (0)