Spaces:
Running
Running
Update index.html
Browse files- index.html +46 -11
index.html
CHANGED
|
@@ -1,4 +1,39 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
<html dir="rtl" lang="fa">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
|
@@ -452,35 +487,35 @@
|
|
| 452 |
}
|
| 453 |
|
| 454 |
p, li, .instruction-list li, .form-label, .result-item span:first-child {
|
| 455 |
-
font-size: 0.
|
| 456 |
}
|
| 457 |
|
| 458 |
.info-title {
|
| 459 |
font-weight: 700;
|
| 460 |
-
margin:
|
| 461 |
color: var(--text-primary);
|
| 462 |
-
font-size:
|
| 463 |
position: relative;
|
| 464 |
}
|
| 465 |
|
| 466 |
.step-title {
|
| 467 |
margin-top: 0;
|
| 468 |
-
margin-bottom:
|
| 469 |
color: var(--primary-color);
|
| 470 |
-
font-size:
|
| 471 |
font-weight: 700;
|
| 472 |
}
|
| 473 |
|
| 474 |
.calculator h3 {
|
| 475 |
margin-top: 0;
|
| 476 |
color: var(--primary-color);
|
| 477 |
-
padding-bottom:
|
| 478 |
border-bottom: 1px solid rgba(0,0,0,0.08);
|
| 479 |
display: flex;
|
| 480 |
align-items: center;
|
| 481 |
-
gap:
|
| 482 |
font-weight: 700;
|
| 483 |
-
font-size: 1.
|
| 484 |
position: relative;
|
| 485 |
}
|
| 486 |
|
|
@@ -488,9 +523,9 @@
|
|
| 488 |
margin-top: 0;
|
| 489 |
color: var(--primary-color);
|
| 490 |
border-bottom: 1px solid rgba(74, 99, 255, 0.15);
|
| 491 |
-
padding-bottom:
|
| 492 |
font-weight: 700;
|
| 493 |
-
font-size:
|
| 494 |
position: relative;
|
| 495 |
z-index: 1;
|
| 496 |
}
|
|
|
|
| 1 |
+
<script>
|
| 2 |
+
// اسکریپت برای مخفی کردن رابط هاگینگ فیس
|
| 3 |
+
window.addEventListener('load', function() {
|
| 4 |
+
// مخفی کردن عناصر رابط هاگینگ فیس
|
| 5 |
+
const hideHuggingFaceElements = function() {
|
| 6 |
+
const elementsToHide = document.querySelectorAll('.spaces-page, .hf-container, .hf-header, .hf-main-navigation, .hf-space-title, .hf-space-tabs-container, .hf-space-elements, .hf-space-subtitle, .hf-space-apps, [data-testid="site-header"], .hf-space, .border-b');
|
| 7 |
+
|
| 8 |
+
elementsToHide.forEach(function(element) {
|
| 9 |
+
if (element) {
|
| 10 |
+
element.style.display = 'none';
|
| 11 |
+
element.style.visibility = 'hidden';
|
| 12 |
+
element.style.height = '0';
|
| 13 |
+
element.style.opacity = '0';
|
| 14 |
+
element.style.pointerEvents = 'none';
|
| 15 |
+
}
|
| 16 |
+
});
|
| 17 |
+
|
| 18 |
+
// اطمینان از اینکه محتوای ما 100% عرض صفحه را دارد
|
| 19 |
+
const content = document.querySelector('.container');
|
| 20 |
+
if (content) {
|
| 21 |
+
content.style.width = '100%';
|
| 22 |
+
content.style.maxWidth = '1000px';
|
| 23 |
+
content.style.padding = '15px';
|
| 24 |
+
content.style.margin = '0 auto';
|
| 25 |
+
}
|
| 26 |
+
};
|
| 27 |
+
|
| 28 |
+
// اجرای اولیه
|
| 29 |
+
hideHuggingFaceElements();
|
| 30 |
+
|
| 31 |
+
// اجرای مجدد با تأخیر برای اطمینان از تأثیرگذاری
|
| 32 |
+
setTimeout(hideHuggingFaceElements, 500);
|
| 33 |
+
setTimeout(hideHuggingFaceElements, 1000);
|
| 34 |
+
setTimeout(hideHuggingFaceElements, 2000);
|
| 35 |
+
});
|
| 36 |
+
</script><!DOCTYPE html>
|
| 37 |
<html dir="rtl" lang="fa">
|
| 38 |
<head>
|
| 39 |
<meta charset="UTF-8">
|
|
|
|
| 487 |
}
|
| 488 |
|
| 489 |
p, li, .instruction-list li, .form-label, .result-item span:first-child {
|
| 490 |
+
font-size: 0.8rem;
|
| 491 |
}
|
| 492 |
|
| 493 |
.info-title {
|
| 494 |
font-weight: 700;
|
| 495 |
+
margin: 12px 0;
|
| 496 |
color: var(--text-primary);
|
| 497 |
+
font-size: 0.95rem;
|
| 498 |
position: relative;
|
| 499 |
}
|
| 500 |
|
| 501 |
.step-title {
|
| 502 |
margin-top: 0;
|
| 503 |
+
margin-bottom: 12px;
|
| 504 |
color: var(--primary-color);
|
| 505 |
+
font-size: 1rem;
|
| 506 |
font-weight: 700;
|
| 507 |
}
|
| 508 |
|
| 509 |
.calculator h3 {
|
| 510 |
margin-top: 0;
|
| 511 |
color: var(--primary-color);
|
| 512 |
+
padding-bottom: 12px;
|
| 513 |
border-bottom: 1px solid rgba(0,0,0,0.08);
|
| 514 |
display: flex;
|
| 515 |
align-items: center;
|
| 516 |
+
gap: 12px;
|
| 517 |
font-weight: 700;
|
| 518 |
+
font-size: 1.1rem;
|
| 519 |
position: relative;
|
| 520 |
}
|
| 521 |
|
|
|
|
| 523 |
margin-top: 0;
|
| 524 |
color: var(--primary-color);
|
| 525 |
border-bottom: 1px solid rgba(74, 99, 255, 0.15);
|
| 526 |
+
padding-bottom: 10px;
|
| 527 |
font-weight: 700;
|
| 528 |
+
font-size: 0.9rem;
|
| 529 |
position: relative;
|
| 530 |
z-index: 1;
|
| 531 |
}
|