کتاب مقدس آنلاین: تفاوت میان نسخهها
ظاهر
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
| (۶۷ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) | |||
| خط ۲۸: | خط ۲۸: | ||
line-height: 1.6; | line-height: 1.6; | ||
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.05"><path fill="%238B4513" d="M20,20 L80,20 L80,80 L20,80 Z" stroke="%238B4513" stroke-width="2"/></svg>'); | background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.05"><path fill="%238B4513" d="M20,20 L80,20 L80,80 L20,80 Z" stroke="%238B4513" stroke-width="2"/></svg>'); | ||
padding: 0; | |||
margin: 0; | |||
} | |||
/* مخفی کردن هدرهای اضافی ویکی */ | |||
body > header:first-child, | |||
.wiki-header, | |||
.mw-header, | |||
#mw-header, | |||
#header, | |||
.header { | |||
display: none !important; | |||
} | } | ||
| خط ۳۴: | خط ۴۵: | ||
max-width: 1200px; | max-width: 1200px; | ||
margin: 0 auto; | margin: 0 auto; | ||
padding: | padding: 5px 15px; | ||
} | } | ||
header { | .app-header { | ||
text-align: center; | text-align: center; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
padding: 15px | padding: 15px 20px; | ||
border-bottom: 2px solid var(--border-color); | border-bottom: 2px solid var(--border-color); | ||
background: linear-gradient(to bottom, #f9f6f2, #f0e6d6); | background: linear-gradient(to bottom, #f9f6f2, #f0e6d6); | ||
border-radius: 8px; | border-radius: 8px; | ||
box-shadow: 0 2px 8px rgba(0,0,0,0.1); | box-shadow: 0 2px 8px rgba(0,0,0,0.1); | ||
position: relative; | |||
} | } | ||
| خط ۵۳: | خط ۶۵: | ||
gap: 8px; | gap: 8px; | ||
margin-bottom: 12px; | margin-bottom: 12px; | ||
font-size: | font-size: 1.1rem; | ||
color: var(--dark-color); | color: var(--dark-color); | ||
direction: rtl; | |||
} | } | ||
| خط ۶۱: | خط ۷۴: | ||
text-decoration: none; | text-decoration: none; | ||
transition: color 0.3s; | transition: color 0.3s; | ||
font-weight: 500; | |||
} | } | ||
| خط ۷۰: | خط ۸۴: | ||
.breadcrumb-separator { | .breadcrumb-separator { | ||
color: var(--border-color); | color: var(--border-color); | ||
font-weight: 300; | |||
} | } | ||
| خط ۷۷: | خط ۹۲: | ||
} | } | ||
h1 { | .app-header h1 { | ||
color: var(--primary-color); | color: var(--primary-color); | ||
margin-bottom: 8px; | margin-bottom: 8px; | ||
font-size: 1.8rem; | font-size: 1.8rem; | ||
text-shadow: 1px 1px 2px rgba(0,0,0,0.1); | text-shadow: 1px 1px 2px rgba(0,0,0,0.1); | ||
font-weight: 700; | |||
text-align: center; | |||
} | } | ||
.description { | .description { | ||
color: | color:#808080; | ||
font-size: | font-size:1rem; | ||
font-style: italic; | font-style: italic; | ||
margin-top: 5px; | |||
text-align: center; | |||
} | } | ||
| خط ۹۴: | خط ۱۱۳: | ||
grid-template-columns: 1fr 1fr; | grid-template-columns: 1fr 1fr; | ||
gap: 15px; | gap: 15px; | ||
margin-bottom: | margin-bottom: 20px; | ||
background: white; | background: white; | ||
padding: | padding: 15px; | ||
border-radius: 8px; | border-radius: 8px; | ||
box-shadow: 0 4px 8px rgba(0,0,0,0.08); | box-shadow: 0 4px 8px rgba(0,0,0,0.08); | ||
border: 1px solid var(--border-color); | border: 1px solid var(--border-color); | ||
direction: rtl; | |||
text-align: right; | |||
} | } | ||
| خط ۱۴۷: | خط ۱۶۸: | ||
border: 1px solid var(--border-color); | border: 1px solid var(--border-color); | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
direction: rtl; | |||
text-align: right; | |||
} | } | ||
| خط ۱۷۳: | خط ۱۹۶: | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: 10px; | gap: 10px; | ||
direction: rtl; | |||
} | } | ||
| خط ۲۱۰: | خط ۲۳۴: | ||
gap: 8px; | gap: 8px; | ||
padding: 12px 20px; | padding: 12px 20px; | ||
background-color: | background-color: #87CEEB; | ||
color: | color: #000000; | ||
text-decoration: none; | text-decoration: none; | ||
border-radius: 6px; | border-radius: 6px; | ||
| خط ۲۵۱: | خط ۲۷۵: | ||
margin-bottom: 15px; | margin-bottom: 15px; | ||
font-size: 1.5rem; | font-size: 1.5rem; | ||
} | |||
.info-message { | |||
text-align: center; | |||
padding: 10px; | |||
background: #e7f3ff; | |||
border-radius: 5px; | |||
margin-top: 10px; | |||
font-size: 0.9rem; | |||
color: #0066cc; | |||
} | } | ||
| خط ۲۵۹: | خط ۲۹۳: | ||
} | } | ||
header { | .app-header { | ||
margin-bottom: 15px; | margin-bottom: 15px; | ||
padding: 12px | padding: 12px 15px; | ||
} | } | ||
| خط ۲۶۹: | خط ۳۰۳: | ||
} | } | ||
h1 { | .app-header h1 { | ||
font-size: 1.5rem; | font-size: 1.5rem; | ||
margin-bottom: 6px; | margin-bottom: 6px; | ||
| خط ۳۲۳: | خط ۳۵۷: | ||
padding: 30px 15px; | padding: 30px 15px; | ||
font-size: 1rem; | font-size: 1rem; | ||
} | |||
.app-header { | |||
padding: 10px 12px; | |||
} | |||
.app-header h1 { | |||
font-size: 1.3rem; | |||
} | } | ||
} | } | ||
| خط ۳۵۲: | خط ۳۹۴: | ||
<body> | <body> | ||
<div class="container"> | <div class="container"> | ||
<header> | <div class="app-header"> | ||
<nav class="breadcrumb"> | <nav class="breadcrumb"> | ||
<a href="https://www.pediabible.com" class="breadcrumb-home">خانه</a> | <a href="https://www.pediabible.com" class="breadcrumb-home">خانه</a> | ||
| خط ۳۵۸: | خط ۴۰۰: | ||
<span class="breadcrumb-current">کتاب مقدس</span> | <span class="breadcrumb-current">کتاب مقدس</span> | ||
</nav> | </nav> | ||
<h1>کتاب مقدس</h1> | <h1>کتاب مقدس آنلاین</h1> | ||
<p class="description">مطالعه | <p class="description">مطالعه ترجمههای مختلف بصورت کاربردی با واژه نامه تخصصی<br> | ||
</ | ترجمهٔ هزارهٔ نو و مژده هماکنون قابل مطالعهاند و عهد جدید کامل شده است. واژهنامهها بهصورت روزانه و با دقت در حال اتصال و بهروزرسانی هستند تا خدمتی ماندگار برای نسل حال و آیندگان در خداوند بهجا بگذاریم.</p> | ||
</div> | |||
<div id="content-wrapper"> | <div id="content-wrapper"> | ||
| خط ۵۵۶: | خط ۵۹۹: | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | |||
<div class="info-message"> | |||
<i class="fas fa-info-circle"></i> | |||
واژه ها در همین پنجره نمایش داده میشوند. برای تجربه بهتر مطالعه واژه در تب جدید: راست کلیک → Open in new tab | |||
</div> | </div> | ||
| خط ۵۸۲: | خط ۶۳۰: | ||
name: 'ترجمه قدیم', | name: 'ترجمه قدیم', | ||
baseUrl: 'https://www.pediabible.com/index.php?title=', | baseUrl: 'https://www.pediabible.com/index.php?title=', | ||
getPageTitle: function(bookDisplayName, chapter) { | getPageTitle: function(bookDisplayName, chapter) { | ||
return `${bookDisplayName} فصل ${chapter}`; | return `${bookDisplayName} فصل ${chapter}`; | ||
| خط ۵۹۰: | خط ۶۳۷: | ||
name: 'هزاره نو', | name: 'هزاره نو', | ||
baseUrl: 'https://www.pediabible.com/index.php?title=', | baseUrl: 'https://www.pediabible.com/index.php?title=', | ||
getPageTitle: function(bookDisplayName, chapter) { | getPageTitle: function(bookDisplayName, chapter) { | ||
return `${bookDisplayName} هزاره نو فصل ${chapter}`; | return `${bookDisplayName} هزاره نو فصل ${chapter}`; | ||
| خط ۷۲۱: | خط ۷۶۷: | ||
chapterTitle.textContent = `${translationName} - ${bookName} - فصل ${currentChapter}`; | chapterTitle.textContent = `${translationName} - ${bookName} - فصل ${currentChapter}`; | ||
const pageTitle = translations[currentTranslation].getPageTitle(bookDisplayName, currentChapter); | const pageTitle = translations[currentTranslation].getPageTitle(bookDisplayName, currentChapter); | ||
const contentUrl = `${translations[currentTranslation].baseUrl}${encodeURIComponent(pageTitle)}&action=render`; | const contentUrl = `${translations[currentTranslation].baseUrl}${encodeURIComponent(pageTitle)}&action=render`; | ||
| خط ۷۳۴: | خط ۷۷۷: | ||
frameborder="0" | frameborder="0" | ||
loading="lazy" | loading="lazy" | ||
sandbox="allow-scripts allow-same-origin allow-forms allow-popups" | |||
allowfullscreen> | allowfullscreen> | ||
</iframe> | </iframe> | ||
`; | `; | ||
// | // اضافه کردن sandbox به iframe برای امنیت بیشتر | ||
const iframe = document.getElementById('content-iframe'); | |||
wikiPageLink.href = `${translations[currentTranslation].baseUrl}${encodeURIComponent(pageTitle)}`; | wikiPageLink.href = `${translations[currentTranslation].baseUrl}${encodeURIComponent(pageTitle)}`; | ||
wikiPageLink.style.display = 'flex'; | wikiPageLink.style.display = 'flex'; | ||
نسخهٔ کنونی تا ۱۱ اکتبر ۲۰۲۵، ساعت ۲۲:۰۹
کتاب مقدس آنلاین
مطالعه ترجمههای مختلف بصورت کاربردی با واژه نامه تخصصی
ترجمهٔ هزارهٔ نو و مژده هماکنون قابل مطالعهاند و عهد جدید کامل شده است. واژهنامهها بهصورت روزانه و با دقت در حال اتصال و بهروزرسانی هستند تا خدمتی ماندگار برای نسل حال و آیندگان در خداوند بهجا بگذاریم.