Spaces:
Running
Running
Update index.html
Browse files- index.html +91 -14
index.html
CHANGED
|
@@ -1,14 +1,91 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<title>My Hugging Face Heatmaps</title>
|
| 6 |
+
<!-- Google Fonts: Inter -->
|
| 7 |
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@700;800&display=swap" rel="stylesheet">
|
| 8 |
+
<style>
|
| 9 |
+
body {
|
| 10 |
+
background: #111;
|
| 11 |
+
color: #fff;
|
| 12 |
+
font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
|
| 13 |
+
margin: 0;
|
| 14 |
+
padding: 0;
|
| 15 |
+
}
|
| 16 |
+
.container {
|
| 17 |
+
max-width: 1100px;
|
| 18 |
+
margin: 0 auto;
|
| 19 |
+
padding: 32px 20px 64px 20px;
|
| 20 |
+
}
|
| 21 |
+
.modern-title {
|
| 22 |
+
font-weight: 800;
|
| 23 |
+
font-size: 2.8rem;
|
| 24 |
+
background: linear-gradient(90deg, #ffb347 0%, #ffcc33 50%, #00c3ff 100%);
|
| 25 |
+
-webkit-background-clip: text;
|
| 26 |
+
-webkit-text-fill-color: transparent;
|
| 27 |
+
background-clip: text;
|
| 28 |
+
text-fill-color: transparent;
|
| 29 |
+
margin-bottom: 40px;
|
| 30 |
+
display: flex;
|
| 31 |
+
align-items: center;
|
| 32 |
+
gap: 18px;
|
| 33 |
+
letter-spacing: -1px;
|
| 34 |
+
}
|
| 35 |
+
.modern-title img {
|
| 36 |
+
height: 2.7rem;
|
| 37 |
+
border-radius: 50%;
|
| 38 |
+
box-shadow: 0 2px 12px #0005;
|
| 39 |
+
background: #fff;
|
| 40 |
+
padding: 2px;
|
| 41 |
+
}
|
| 42 |
+
.heatmap-block {
|
| 43 |
+
background: #181818;
|
| 44 |
+
border-radius: 18px;
|
| 45 |
+
padding: 18px 18px 8px 18px;
|
| 46 |
+
margin-bottom: 32px;
|
| 47 |
+
box-shadow: 0 2px 24px #0003;
|
| 48 |
+
border: 1.5px solid #222;
|
| 49 |
+
}
|
| 50 |
+
.heatmap-label {
|
| 51 |
+
display: flex;
|
| 52 |
+
align-items: center;
|
| 53 |
+
gap: 12px;
|
| 54 |
+
font-size: 1.25rem;
|
| 55 |
+
font-weight: 700;
|
| 56 |
+
margin-bottom: 12px;
|
| 57 |
+
margin-left: 4px;
|
| 58 |
+
}
|
| 59 |
+
.heatmap-label img {
|
| 60 |
+
height: 2.1rem;
|
| 61 |
+
border-radius: 50%;
|
| 62 |
+
background: #fff;
|
| 63 |
+
padding: 2px;
|
| 64 |
+
box-shadow: 0 1px 8px #0004;
|
| 65 |
+
}
|
| 66 |
+
iframe {
|
| 67 |
+
width: 100%;
|
| 68 |
+
height: 300px;
|
| 69 |
+
border-radius: 10px;
|
| 70 |
+
border: none;
|
| 71 |
+
background: #222;
|
| 72 |
+
margin-bottom: 0;
|
| 73 |
+
}
|
| 74 |
+
@media (max-width: 700px) {
|
| 75 |
+
.modern-title {
|
| 76 |
+
font-size: 1.5rem;
|
| 77 |
+
}
|
| 78 |
+
.heatmap-label {
|
| 79 |
+
font-size: 1.05rem;
|
| 80 |
+
}
|
| 81 |
+
.container {
|
| 82 |
+
padding: 12px 4px 32px 4px;
|
| 83 |
+
}
|
| 84 |
+
iframe {
|
| 85 |
+
height: 210px;
|
| 86 |
+
}
|
| 87 |
+
}
|
| 88 |
+
</style>
|
| 89 |
+
</head>
|
| 90 |
+
<body>
|
| 91 |
+
<div class="container
|