update gallery

This commit is contained in:
Wei Cheng
2026-02-28 12:18:05 +00:00
parent c6360345c1
commit cd6a8e6f44
+8 -4
View File
@@ -189,8 +189,8 @@
border-radius: 999px; border-radius: 999px;
background: var(--button-bg); background: var(--button-bg);
color: var(--btn-text); color: var(--btn-text);
padding: 8px 16px; padding: 8px 12px;
font-size: 0.86rem; font-size: 1.1rem;
font-weight: 800; font-weight: 800;
cursor: pointer; cursor: pointer;
transition: transform 0.2s ease, filter 0.2s ease; transition: transform 0.2s ease, filter 0.2s ease;
@@ -568,7 +568,7 @@
<span class="tag" style="font-size:1.20em; display:inline-flex; align-items:center; gap:0.28em;"> <span class="tag" style="font-size:1.20em; display:inline-flex; align-items:center; gap:0.28em;">
<span style="font-weight:800;">CVPR 2026</span> <span style="font-weight:800;">CVPR 2026</span>
</span> </span>
<button id="themeToggle" class="theme-toggle" type="button" style="margin-left:auto;">Bright Mode</button> <button id="themeToggle" class="theme-toggle" type="button" style="margin-left:auto;" aria-label="Bright Mode"><i class="fa-solid fa-sun"></i></button>
</div> </div>
<h1 class="hero-title">OmniLottie: Generating Vector Animations via Parameterized Lottie Tokens</h1> <h1 class="hero-title">OmniLottie: Generating Vector Animations via Parameterized Lottie Tokens</h1>
@@ -716,7 +716,11 @@
localStorage.setItem(THEME_KEY, mode); localStorage.setItem(THEME_KEY, mode);
const btn = document.getElementById('themeToggle'); const btn = document.getElementById('themeToggle');
if (btn) { if (btn) {
btn.textContent = mode === 'dark' ? 'Bright Mode' : 'Dark Mode'; const icon = btn.querySelector('i');
if (icon) {
icon.className = mode === 'dark' ? 'fa-solid fa-sun' : 'fa-solid fa-moon';
}
btn.setAttribute('aria-label', mode === 'dark' ? 'Bright Mode' : 'Dark Mode');
} }
} }