Spaces:
Running
Running
Replace blocked PDF iframe with static preview
Browse files- .gitattributes +1 -0
- index.html +18 -11
- mpp-i-paper-preview.png +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
mpp-i-paper-preview.png filter=lfs diff=lfs merge=lfs -text
|
index.html
CHANGED
|
@@ -198,16 +198,23 @@
|
|
| 198 |
}
|
| 199 |
|
| 200 |
.preview {
|
| 201 |
-
min-height: 720px;
|
| 202 |
border: 1px solid var(--line);
|
| 203 |
background: var(--soft);
|
| 204 |
}
|
| 205 |
|
| 206 |
-
.preview
|
| 207 |
display: block;
|
| 208 |
width: 100%;
|
| 209 |
-
|
| 210 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 211 |
background: #ffffff;
|
| 212 |
}
|
| 213 |
|
|
@@ -240,9 +247,8 @@
|
|
| 240 |
grid-template-columns: 1fr;
|
| 241 |
}
|
| 242 |
|
| 243 |
-
.preview
|
| 244 |
-
|
| 245 |
-
min-height: 520px;
|
| 246 |
}
|
| 247 |
}
|
| 248 |
|
|
@@ -326,11 +332,12 @@
|
|
| 326 |
</section>
|
| 327 |
</div>
|
| 328 |
|
| 329 |
-
<section class="preview" aria-label="
|
| 330 |
-
<
|
| 331 |
-
|
|
|
|
| 332 |
<div class="fallback">
|
| 333 |
-
|
| 334 |
<a href="https://ando-oss.github.io/mpp-i/mpp-i-paper-v1.0.pdf">ando-oss.github.io/mpp-i/mpp-i-paper-v1.0.pdf</a>.
|
| 335 |
</div>
|
| 336 |
</section>
|
|
|
|
| 198 |
}
|
| 199 |
|
| 200 |
.preview {
|
|
|
|
| 201 |
border: 1px solid var(--line);
|
| 202 |
background: var(--soft);
|
| 203 |
}
|
| 204 |
|
| 205 |
+
.paper-preview {
|
| 206 |
display: block;
|
| 207 |
width: 100%;
|
| 208 |
+
padding: 16px;
|
| 209 |
+
background: var(--soft);
|
| 210 |
+
}
|
| 211 |
+
|
| 212 |
+
.paper-preview img {
|
| 213 |
+
display: block;
|
| 214 |
+
width: 100%;
|
| 215 |
+
max-height: 720px;
|
| 216 |
+
object-fit: contain;
|
| 217 |
+
border: 1px solid var(--line);
|
| 218 |
background: #ffffff;
|
| 219 |
}
|
| 220 |
|
|
|
|
| 247 |
grid-template-columns: 1fr;
|
| 248 |
}
|
| 249 |
|
| 250 |
+
.paper-preview img {
|
| 251 |
+
max-height: 520px;
|
|
|
|
| 252 |
}
|
| 253 |
}
|
| 254 |
|
|
|
|
| 332 |
</section>
|
| 333 |
</div>
|
| 334 |
|
| 335 |
+
<section class="preview" aria-label="Paper preview">
|
| 336 |
+
<a class="paper-preview" href="https://ando-oss.github.io/mpp-i/mpp-i-paper-v1.0.pdf" aria-label="Open the MPP-I paper PDF">
|
| 337 |
+
<img src="mpp-i-paper-preview.png" alt="First page preview of the MPP-I paper">
|
| 338 |
+
</a>
|
| 339 |
<div class="fallback">
|
| 340 |
+
Open the full 67-page paper directly at
|
| 341 |
<a href="https://ando-oss.github.io/mpp-i/mpp-i-paper-v1.0.pdf">ando-oss.github.io/mpp-i/mpp-i-paper-v1.0.pdf</a>.
|
| 342 |
</div>
|
| 343 |
</section>
|
mpp-i-paper-preview.png
ADDED
|
Git LFS Details
|