Spaces:
Running
Running
Update public/index.html
Browse files- public/index.html +20 -37
public/index.html
CHANGED
|
@@ -35,15 +35,8 @@
|
|
| 35 |
|
| 36 |
a { text-decoration: none; transition: 0.2s; }
|
| 37 |
|
| 38 |
-
/* --- WIDTH CONTROLLER (80%) --- */
|
| 39 |
-
.layout-width { width: 80%; max-width: 1600px; margin: 0 auto; }
|
| 40 |
-
|
| 41 |
/* --- NAVBAR --- */
|
| 42 |
-
.navbar {
|
| 43 |
-
padding: 20px 0; /* Vertical padding only, width handled by layout-width */
|
| 44 |
-
display: flex; justify-content: space-between; align-items: center;
|
| 45 |
-
position: relative; z-index: 100;
|
| 46 |
-
}
|
| 47 |
.nav-logo { color: white; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 22px; display: flex; align-items: center; gap: 12px; }
|
| 48 |
.nav-logo img { height: 40px; }
|
| 49 |
.nav-text { display: flex; flex-direction: column; line-height: 1.1; }
|
|
@@ -52,42 +45,42 @@
|
|
| 52 |
.nav-link { color: #e2e8f0; font-size: 15px; font-weight: 500; }
|
| 53 |
.nav-link:hover { color: var(--text-yellow); }
|
| 54 |
.btn-submit { background: var(--grad-blue); color: white !important; padding: 10px 24px; border-radius: 30px; font-weight: 600; font-size: 14px; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4); }
|
|
|
|
| 55 |
|
| 56 |
/* --- HERO --- */
|
| 57 |
.hero {
|
| 58 |
-
|
| 59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
}
|
| 61 |
-
.hero-content { flex: 1; z-index: 2; }
|
| 62 |
.conf-badge { background: white; color: black; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 8px; margin-bottom: 30px; font-weight: 700; font-size: 14px; }
|
| 63 |
.conf-badge i { color: #cc0000; font-size: 18px; }
|
| 64 |
.hero h1 { font-family: 'Rubik', sans-serif; font-size: 64px; font-weight: 800; margin: 0; line-height: 1.1; }
|
| 65 |
.hero h2 { font-family: 'Rubik', sans-serif; font-size: 32px; color: var(--text-yellow); margin: 15px 0 30px; font-weight: 700; }
|
| 66 |
-
.hero p { color: #cbd5e1; font-size: 18px; line-height: 1.6; max-width:
|
| 67 |
-
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }
|
| 68 |
.action-btn { display: flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 30px; color: white; font-weight: 600; font-size: 15px; transition: transform 0.2s; }
|
| 69 |
.action-btn:hover { transform: translateY(-3px); color: white; }
|
|
|
|
| 70 |
|
| 71 |
-
|
| 72 |
-
.bg-orange { background: var(--grad-orange); } .bg-blue { background: var(--grad-blue); } .bg-green { background: var(--grad-green); }
|
| 73 |
-
|
| 74 |
-
/* Audio Wave Visual */
|
| 75 |
-
.hero-visual { flex: 1; display: flex; justify-content: flex-end; position: relative; height: 300px; align-items: center; }
|
| 76 |
-
.audio-wave {
|
| 77 |
-
height: 150px; display: flex; align-items: center; justify-content: center; gap: 6px;
|
| 78 |
-
mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
|
| 79 |
-
}
|
| 80 |
-
.bar { width: 6px; background: #ffffff; border-radius: 99px; animation: bounce 1.2s ease-in-out infinite; }
|
| 81 |
-
.bar:nth-child(odd) { animation-duration: 1.5s; } .bar:nth-child(2n) { animation-duration: 1.1s; }
|
| 82 |
-
@keyframes bounce { 0%, 100% { height: 20px; } 50% { height: 120px; } }
|
| 83 |
-
|
| 84 |
-
/* Wave Background */
|
| 85 |
.wave-bg {
|
| 86 |
position: absolute; top: -50px; left: -50%; width: 200%; height: 100%;
|
| 87 |
background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 70%);
|
| 88 |
z-index: 0; pointer-events: none;
|
| 89 |
}
|
| 90 |
|
|
|
|
|
|
|
|
|
|
| 91 |
/* --- MAIN BOARD --- */
|
| 92 |
.main-card { background: white; border-radius: 24px; padding: 40px; color: #0f172a; min-height: 600px; position: relative; z-index: 10; margin-bottom: 60px; }
|
| 93 |
|
|
@@ -100,7 +93,6 @@
|
|
| 100 |
|
| 101 |
.controls { background: #f8fafc; padding: 20px; border-radius: 12px; display: flex; gap: 20px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
|
| 102 |
select { padding: 10px; border-radius: 8px; border: 1px solid #cbd5e1; font-size: 14px; min-width: 250px; cursor:pointer; }
|
| 103 |
-
|
| 104 |
.rank-info { font-size: 13px; color: #64748b; margin-top: 5px; font-style: italic; }
|
| 105 |
.score-desc { font-size: 14px; color: #475569; background: #fff7ed; border-left: 4px solid #f97316; padding: 10px 15px; margin-bottom: 20px; border-radius: 4px; }
|
| 106 |
|
|
@@ -138,8 +130,6 @@
|
|
| 138 |
</a>
|
| 139 |
<div class="nav-links">
|
| 140 |
<a href="https://aclanthology.org/2025.emnlp-main.559" target="_blank" class="nav-link">Paper</a>
|
| 141 |
-
<a href="https://huggingface.co/datasets/UBC-NLP/simba/#datasets" target="_blank" class="nav-link">Dataset</a>
|
| 142 |
-
<a href="https://africa.dlnlp.ai/simba/#models" target="_blank" class="nav-link">Models</a>
|
| 143 |
<a href="https://africa.dlnlp.ai/simba/" target="_blank" class="btn-submit">Submit New Results</a>
|
| 144 |
</div>
|
| 145 |
</nav>
|
|
@@ -154,13 +144,6 @@
|
|
| 154 |
<div class="hero-actions">
|
| 155 |
<a href="https://aclanthology.org/2025.emnlp-main.559" target="_blank" class="action-btn bg-red"><i class="fa-regular fa-file-pdf"></i> Read Paper</a>
|
| 156 |
<a href="https://africa.dlnlp.ai/simba" target="_blank" class="action-btn bg-purple"><i class="fa-solid fa-code-branch"></i> Official Website</a>
|
| 157 |
-
<a href="https://africa.dlnlp.ai/simba/#dataset" target="_blank" class="action-btn bg-orange"><i class="fa-solid fa-database"></i> Dataset</a>
|
| 158 |
-
<a href="https://africa.dlnlp.ai/simba/#models" target="_blank" class="action-btn bg-blue"><i class="fa-solid fa-bolt"></i> Simba Models</a>
|
| 159 |
-
</div>
|
| 160 |
-
</div>
|
| 161 |
-
<div class="hero-visual">
|
| 162 |
-
<div class="audio-wave">
|
| 163 |
-
<div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div><div class="bar"></div>
|
| 164 |
</div>
|
| 165 |
</div>
|
| 166 |
</div>
|
|
|
|
| 35 |
|
| 36 |
a { text-decoration: none; transition: 0.2s; }
|
| 37 |
|
|
|
|
|
|
|
|
|
|
| 38 |
/* --- NAVBAR --- */
|
| 39 |
+
.navbar { padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 100; }
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
.nav-logo { color: white; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 22px; display: flex; align-items: center; gap: 12px; }
|
| 41 |
.nav-logo img { height: 40px; }
|
| 42 |
.nav-text { display: flex; flex-direction: column; line-height: 1.1; }
|
|
|
|
| 45 |
.nav-link { color: #e2e8f0; font-size: 15px; font-weight: 500; }
|
| 46 |
.nav-link:hover { color: var(--text-yellow); }
|
| 47 |
.btn-submit { background: var(--grad-blue); color: white !important; padding: 10px 24px; border-radius: 30px; font-weight: 600; font-size: 14px; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4); }
|
| 48 |
+
.btn-login { background: var(--text-yellow); color: var(--bg-deep) !important; padding: 10px 24px; border-radius: 30px; font-weight: 700; font-size: 14px; box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4); }
|
| 49 |
|
| 50 |
/* --- HERO --- */
|
| 51 |
.hero {
|
| 52 |
+
max-width: 1000px;
|
| 53 |
+
margin: 60px auto 100px;
|
| 54 |
+
padding: 0 40px;
|
| 55 |
+
position: relative;
|
| 56 |
+
text-align: center;
|
| 57 |
+
}
|
| 58 |
+
.hero-content {
|
| 59 |
+
z-index: 2;
|
| 60 |
+
display: flex;
|
| 61 |
+
flex-direction: column;
|
| 62 |
+
align-items: center;
|
| 63 |
}
|
|
|
|
| 64 |
.conf-badge { background: white; color: black; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 8px; margin-bottom: 30px; font-weight: 700; font-size: 14px; }
|
| 65 |
.conf-badge i { color: #cc0000; font-size: 18px; }
|
| 66 |
.hero h1 { font-family: 'Rubik', sans-serif; font-size: 64px; font-weight: 800; margin: 0; line-height: 1.1; }
|
| 67 |
.hero h2 { font-family: 'Rubik', sans-serif; font-size: 32px; color: var(--text-yellow); margin: 15px 0 30px; font-weight: 700; }
|
| 68 |
+
.hero p { color: #cbd5e1; font-size: 18px; line-height: 1.6; max-width: 700px; margin-bottom: 50px; }
|
| 69 |
+
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; }
|
| 70 |
.action-btn { display: flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 30px; color: white; font-weight: 600; font-size: 15px; transition: transform 0.2s; }
|
| 71 |
.action-btn:hover { transform: translateY(-3px); color: white; }
|
| 72 |
+
.bg-red { background: var(--grad-red); } .bg-purple { background: var(--grad-purple); }
|
| 73 |
|
| 74 |
+
/* Wave Background (Subtle Gradient only) */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
.wave-bg {
|
| 76 |
position: absolute; top: -50px; left: -50%; width: 200%; height: 100%;
|
| 77 |
background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 70%);
|
| 78 |
z-index: 0; pointer-events: none;
|
| 79 |
}
|
| 80 |
|
| 81 |
+
/* --- WIDTH CONTROLLER --- */
|
| 82 |
+
.content-container { width: 80%; max-width: 1600px; margin: 0 auto; }
|
| 83 |
+
|
| 84 |
/* --- MAIN BOARD --- */
|
| 85 |
.main-card { background: white; border-radius: 24px; padding: 40px; color: #0f172a; min-height: 600px; position: relative; z-index: 10; margin-bottom: 60px; }
|
| 86 |
|
|
|
|
| 93 |
|
| 94 |
.controls { background: #f8fafc; padding: 20px; border-radius: 12px; display: flex; gap: 20px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
|
| 95 |
select { padding: 10px; border-radius: 8px; border: 1px solid #cbd5e1; font-size: 14px; min-width: 250px; cursor:pointer; }
|
|
|
|
| 96 |
.rank-info { font-size: 13px; color: #64748b; margin-top: 5px; font-style: italic; }
|
| 97 |
.score-desc { font-size: 14px; color: #475569; background: #fff7ed; border-left: 4px solid #f97316; padding: 10px 15px; margin-bottom: 20px; border-radius: 4px; }
|
| 98 |
|
|
|
|
| 130 |
</a>
|
| 131 |
<div class="nav-links">
|
| 132 |
<a href="https://aclanthology.org/2025.emnlp-main.559" target="_blank" class="nav-link">Paper</a>
|
|
|
|
|
|
|
| 133 |
<a href="https://africa.dlnlp.ai/simba/" target="_blank" class="btn-submit">Submit New Results</a>
|
| 134 |
</div>
|
| 135 |
</nav>
|
|
|
|
| 144 |
<div class="hero-actions">
|
| 145 |
<a href="https://aclanthology.org/2025.emnlp-main.559" target="_blank" class="action-btn bg-red"><i class="fa-regular fa-file-pdf"></i> Read Paper</a>
|
| 146 |
<a href="https://africa.dlnlp.ai/simba" target="_blank" class="action-btn bg-purple"><i class="fa-solid fa-code-branch"></i> Official Website</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 147 |
</div>
|
| 148 |
</div>
|
| 149 |
</div>
|