Spaces:
Running
Running
Update index.html
Browse files- index.html +24 -7
index.html
CHANGED
|
@@ -251,6 +251,7 @@
|
|
| 251 |
.image-card:nth-child(4) { animation-delay: 0.3s; }
|
| 252 |
.image-card:nth-child(5) { animation-delay: 0.4s; }
|
| 253 |
.image-card:nth-child(6) { animation-delay: 0.5s; }
|
|
|
|
| 254 |
|
| 255 |
@keyframes fadeInUp {
|
| 256 |
to {
|
|
@@ -328,17 +329,20 @@
|
|
| 328 |
border-color: var(--text-muted);
|
| 329 |
}
|
| 330 |
|
| 331 |
-
/* Compare Grid -
|
| 332 |
.compare-grid {
|
| 333 |
-
display:
|
| 334 |
-
|
|
|
|
| 335 |
gap: 1.5rem;
|
| 336 |
-
max-width:
|
| 337 |
margin: 0 auto;
|
| 338 |
}
|
| 339 |
|
| 340 |
.compare-grid .image-card {
|
| 341 |
max-width: none;
|
|
|
|
|
|
|
| 342 |
}
|
| 343 |
|
| 344 |
.compare-grid .image-card img {
|
|
@@ -478,9 +482,18 @@
|
|
| 478 |
}
|
| 479 |
|
| 480 |
/* Responsive */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 481 |
@media (max-width: 900px) {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 482 |
.compare-grid {
|
| 483 |
-
grid-template-columns: repeat(2, 1fr);
|
| 484 |
gap: 1rem;
|
| 485 |
}
|
| 486 |
|
|
@@ -612,8 +625,11 @@
|
|
| 612 |
}
|
| 613 |
|
| 614 |
@media (max-width: 500px) {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 615 |
.compare-grid {
|
| 616 |
-
grid-template-columns: repeat(2, 1fr);
|
| 617 |
gap: 0.75rem;
|
| 618 |
}
|
| 619 |
|
|
@@ -698,8 +714,9 @@
|
|
| 698 |
{ id: 'sd15', name: 'SD 1.5', year: '2022', folder: 'sd1.5', link: 'https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5' },
|
| 699 |
{ id: 'sdxl', name: 'SDXL', year: '2023', folder: 'sdxl', link: 'https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0' },
|
| 700 |
{ id: 'flux1', name: 'FLUX.1 Dev', year: '2024', folder: 'flux1_dev', link: 'https://huggingface.co/spaces/black-forest-labs/FLUX.1-dev' },
|
|
|
|
|
|
|
| 701 |
{ id: 'flux2', name: 'FLUX.2 Dev Turbo', year: '2025', folder: 'flux2_turbo', link: 'https://huggingface.co/spaces/multimodalart/FLUX.2-dev-turbo' },
|
| 702 |
-
{ id: 'qwen', name: 'Qwen-Image 2512', year: '2025', folder: 'qwen_image', link: 'https://huggingface.co/spaces/Qwen/Qwen-Image-2512' },
|
| 703 |
];
|
| 704 |
|
| 705 |
const prompts = [
|
|
|
|
| 251 |
.image-card:nth-child(4) { animation-delay: 0.3s; }
|
| 252 |
.image-card:nth-child(5) { animation-delay: 0.4s; }
|
| 253 |
.image-card:nth-child(6) { animation-delay: 0.5s; }
|
| 254 |
+
.image-card:nth-child(7) { animation-delay: 0.6s; }
|
| 255 |
|
| 256 |
@keyframes fadeInUp {
|
| 257 |
to {
|
|
|
|
| 329 |
border-color: var(--text-muted);
|
| 330 |
}
|
| 331 |
|
| 332 |
+
/* Compare Grid - 4 columns for 7 models (4+3 layout, centered) */
|
| 333 |
.compare-grid {
|
| 334 |
+
display: flex;
|
| 335 |
+
flex-wrap: wrap;
|
| 336 |
+
justify-content: center;
|
| 337 |
gap: 1.5rem;
|
| 338 |
+
max-width: 1300px;
|
| 339 |
margin: 0 auto;
|
| 340 |
}
|
| 341 |
|
| 342 |
.compare-grid .image-card {
|
| 343 |
max-width: none;
|
| 344 |
+
width: calc(25% - 1.2rem);
|
| 345 |
+
flex-shrink: 0;
|
| 346 |
}
|
| 347 |
|
| 348 |
.compare-grid .image-card img {
|
|
|
|
| 482 |
}
|
| 483 |
|
| 484 |
/* Responsive */
|
| 485 |
+
@media (max-width: 1100px) {
|
| 486 |
+
.compare-grid .image-card {
|
| 487 |
+
width: calc(33.333% - 1rem);
|
| 488 |
+
}
|
| 489 |
+
}
|
| 490 |
+
|
| 491 |
@media (max-width: 900px) {
|
| 492 |
+
.compare-grid .image-card {
|
| 493 |
+
width: calc(50% - 0.75rem);
|
| 494 |
+
}
|
| 495 |
+
|
| 496 |
.compare-grid {
|
|
|
|
| 497 |
gap: 1rem;
|
| 498 |
}
|
| 499 |
|
|
|
|
| 625 |
}
|
| 626 |
|
| 627 |
@media (max-width: 500px) {
|
| 628 |
+
.compare-grid .image-card {
|
| 629 |
+
width: calc(50% - 0.5rem);
|
| 630 |
+
}
|
| 631 |
+
|
| 632 |
.compare-grid {
|
|
|
|
| 633 |
gap: 0.75rem;
|
| 634 |
}
|
| 635 |
|
|
|
|
| 714 |
{ id: 'sd15', name: 'SD 1.5', year: '2022', folder: 'sd1.5', link: 'https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5' },
|
| 715 |
{ id: 'sdxl', name: 'SDXL', year: '2023', folder: 'sdxl', link: 'https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0' },
|
| 716 |
{ id: 'flux1', name: 'FLUX.1 Dev', year: '2024', folder: 'flux1_dev', link: 'https://huggingface.co/spaces/black-forest-labs/FLUX.1-dev' },
|
| 717 |
+
{ id: 'zimage', name: 'Z-Image Turbo', year: '2025', folder: 'z_image', link: 'https://huggingface.co/spaces/Tongyi-MAI/Z-Image-Turbo' },
|
| 718 |
+
{ id: 'qwen', name: 'Qwen-Image', year: '2025', folder: 'qwen_image', link: 'https://huggingface.co/spaces/Qwen/Qwen-Image-2512' },
|
| 719 |
{ id: 'flux2', name: 'FLUX.2 Dev Turbo', year: '2025', folder: 'flux2_turbo', link: 'https://huggingface.co/spaces/multimodalart/FLUX.2-dev-turbo' },
|
|
|
|
| 720 |
];
|
| 721 |
|
| 722 |
const prompts = [
|