Spaces:
Running
Running
Upload 3 files
Browse files- everywhere.css +2 -1
- index.html +21 -3
everywhere.css
CHANGED
|
@@ -18,7 +18,7 @@
|
|
| 18 |
--accent: #c8960c;
|
| 19 |
--accent-bright: #ffd633;
|
| 20 |
--accent-muted: #8b6508;
|
| 21 |
-
--gold-gradient: linear-gradient(135deg, #
|
| 22 |
--grid-line: rgba(255, 255, 255, 0.03);
|
| 23 |
--grid-line-major: rgba(255, 255, 255, 0.06);
|
| 24 |
--container-max: none;
|
|
@@ -157,6 +157,7 @@ body::after {
|
|
| 157 |
-webkit-background-clip: text;
|
| 158 |
-webkit-text-fill-color: transparent;
|
| 159 |
background-clip: text;
|
|
|
|
| 160 |
}
|
| 161 |
|
| 162 |
.site-subtitle {
|
|
|
|
| 18 |
--accent: #c8960c;
|
| 19 |
--accent-bright: #ffd633;
|
| 20 |
--accent-muted: #8b6508;
|
| 21 |
+
--gold-gradient: linear-gradient(135deg, #fff8dc 0%, #ffd633 20%, #c8960c 45%, #b8860b 55%, #ffd633 75%, #fff8dc 100%);
|
| 22 |
--grid-line: rgba(255, 255, 255, 0.03);
|
| 23 |
--grid-line-major: rgba(255, 255, 255, 0.06);
|
| 24 |
--container-max: none;
|
|
|
|
| 157 |
-webkit-background-clip: text;
|
| 158 |
-webkit-text-fill-color: transparent;
|
| 159 |
background-clip: text;
|
| 160 |
+
filter: drop-shadow(0 0 30px rgba(200, 150, 12, 0.18)) drop-shadow(0 0 80px rgba(200, 150, 12, 0.08));
|
| 161 |
}
|
| 162 |
|
| 163 |
.site-subtitle {
|
index.html
CHANGED
|
@@ -68,7 +68,7 @@
|
|
| 68 |
author: "CompactAI",
|
| 69 |
tags: ["architecture", "neurons", "math", "experimental"],
|
| 70 |
proved: false,
|
| 71 |
-
featured:
|
| 72 |
},
|
| 73 |
{
|
| 74 |
id: "STM_paper-md",
|
|
@@ -249,7 +249,7 @@
|
|
| 249 |
|
| 250 |
card.addEventListener('click', function(e) {
|
| 251 |
e.preventDefault();
|
| 252 |
-
|
| 253 |
});
|
| 254 |
|
| 255 |
li.appendChild(card);
|
|
@@ -316,6 +316,22 @@
|
|
| 316 |
});
|
| 317 |
|
| 318 |
iframe.addEventListener('load', function() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 319 |
announce('Opened paper viewer: ' + paper.title);
|
| 320 |
});
|
| 321 |
|
|
@@ -329,7 +345,7 @@
|
|
| 329 |
document.removeEventListener('keydown', handler);
|
| 330 |
}
|
| 331 |
if (e.key === 'Tab') {
|
| 332 |
-
var focusable = viewerContainer.querySelectorAll('button, a
|
| 333 |
var first = focusable[0];
|
| 334 |
var last = focusable[focusable.length - 1];
|
| 335 |
if (e.shiftKey && document.activeElement === first) {
|
|
@@ -385,7 +401,9 @@
|
|
| 385 |
var initialPaper = getPaperById(initialPaperId);
|
| 386 |
if (initialPaper) openPaper(initialPaper, null, false);
|
| 387 |
}
|
|
|
|
| 388 |
})();
|
| 389 |
</script>
|
|
|
|
| 390 |
</body>
|
| 391 |
</html>
|
|
|
|
| 68 |
author: "CompactAI",
|
| 69 |
tags: ["architecture", "neurons", "math", "experimental"],
|
| 70 |
proved: false,
|
| 71 |
+
featured: false
|
| 72 |
},
|
| 73 |
{
|
| 74 |
id: "STM_paper-md",
|
|
|
|
| 249 |
|
| 250 |
card.addEventListener('click', function(e) {
|
| 251 |
e.preventDefault();
|
| 252 |
+
window.open('Papers/' + paper.id + '.html', '_blank');
|
| 253 |
});
|
| 254 |
|
| 255 |
li.appendChild(card);
|
|
|
|
| 316 |
});
|
| 317 |
|
| 318 |
iframe.addEventListener('load', function() {
|
| 319 |
+
try {
|
| 320 |
+
var doc = iframe.contentDocument;
|
| 321 |
+
var shell = doc.querySelector('.paper-page-shell');
|
| 322 |
+
if (shell) {
|
| 323 |
+
var titleEl = shell.querySelector('.paper-page-title');
|
| 324 |
+
var metaEl = shell.querySelector('.paper-page-meta');
|
| 325 |
+
if (titleEl) titleEl.style.display = 'none';
|
| 326 |
+
if (metaEl) metaEl.style.display = 'none';
|
| 327 |
+
}
|
| 328 |
+
var body = doc.body;
|
| 329 |
+
var html = doc.documentElement;
|
| 330 |
+
if (body) {
|
| 331 |
+
iframe.style.height = Math.max(body.scrollHeight, html.scrollHeight) + 'px';
|
| 332 |
+
iframe.style.overflow = 'hidden';
|
| 333 |
+
}
|
| 334 |
+
} catch(e) {}
|
| 335 |
announce('Opened paper viewer: ' + paper.title);
|
| 336 |
});
|
| 337 |
|
|
|
|
| 345 |
document.removeEventListener('keydown', handler);
|
| 346 |
}
|
| 347 |
if (e.key === 'Tab') {
|
| 348 |
+
var focusable = viewerContainer.querySelectorAll('button, a');
|
| 349 |
var first = focusable[0];
|
| 350 |
var last = focusable[focusable.length - 1];
|
| 351 |
if (e.shiftKey && document.activeElement === first) {
|
|
|
|
| 401 |
var initialPaper = getPaperById(initialPaperId);
|
| 402 |
if (initialPaper) openPaper(initialPaper, null, false);
|
| 403 |
}
|
| 404 |
+
|
| 405 |
})();
|
| 406 |
</script>
|
| 407 |
+
|
| 408 |
</body>
|
| 409 |
</html>
|