|
|
| (۵۱ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) |
| خط ۱: |
خط ۱: |
| <noinclude>
| | <div class="plainlinks metadeta" style="margin: 10px 0;"> |
| {{توضیحات الگو | الگویی برای نمایش اطلاعات کتاب به صورت ریسپانسیو }}
| | |
| </noinclude>
| | <div style="font-size: 18px; font-weight: bold; border-bottom: 2px solid #36c; padding-bottom: 5px;"> |
| <includeonly>
| | {{{نام|نام کتاب}}} |
| <div class="book-template-container" style="display: flex; flex-direction: row; direction: rtl; margin: 10px 0; border: 1px solid #ddd; padding: 15px; background: white; border-radius: 5px; flex-wrap: wrap;"> | | </div> |
|
| | |
| <!-- بخش عکس کتاب - در موبایل اول نمایش داده میشود -->
| | <div style="margin: 10px 0;"> |
| <div class="book-cover-mobile" style="width: 100%; display: none; text-align: center; margin-bottom: 15px;">
| | '''مشخصات کتاب:''' |
| <div style="text-align: center;">
| | <ul> |
| [[پرونده:{{{عکس|}}}|250px|فریم|پیوند={{{لینک_عکس|}}}|alt=جلد کتاب]]
| | <li><b>نویسنده:</b> {{{نویسنده|}}}</li> |
| </div>
| | <li><b>ناشر:</b> {{{ناشر|}}}</li> |
| </div>
| | <li><b>تعداد صفحات:</b> {{{صفحات|}}}</li> |
|
| | <li><b>سال انتشار:</b> {{{سال|}}}</li> |
| <!-- بخش عکس کتاب در دسکتاپ -->
| | <li><b>شابک:</b> {{{شابک|}}}</li> |
| <div class="book-cover-desktop" style="margin-left: 15px; flex: 0 0 auto;">
| | </ul> |
| <div style="text-align: center;">
| | </div> |
| [[پرونده:{{{عکس|}}}|200px|فریم|پیوند={{{لینک_عکس|}}}|alt=جلد کتاب]]
| | |
| </div>
| | <div style="text-align: center; margin-top: 1px;"> |
| </div>
| | <span class="plainlinks">[{{{لینک|#}}} <span style="c |
|
| | color: #ffffff; |
| <!-- بخش مشخصات کتاب -->
| | background: #e0e0e0;border-top-right-radius: 20px;border-bottom-left-radius: 20px;padding: 5px 25% 5px 25%;font-weight: bold;">مطالعه کتاب رایگان</span>]</span> |
| <div class="book-details" style="flex: 1; min-width: 250px;">
| |
| <h2 style="margin-top: 0; color: #2c3e50;">{{{عنوان|}}}</h2>
| |
|
| |
| <div style="margin-bottom: 10px;">
| |
| <strong>نویسنده:</strong> {{{نویسنده|}}}<br>
| |
| <strong>ناشر:</strong> {{{ناشر|}}}<br>
| |
| <strong>سال انتشار:</strong> {{{سال|}}}<br>
| |
| <strong>تعداد صفحات:</strong> {{{صفحات|}}}
| |
| </div>
| |
|
| |
| <!-- کادر آبی برای دانلود و مطالعه -->
| |
| <div style="background: #e8f4fd; padding: 12px; border-radius: 5px; border-right: 4px solid #3498db; margin-top: 15px; text-align: center;">
| |
| [{{{لینک_دانلود|}}} <strong style="color: #2980b9;">دانلود و مطالعه کتاب</strong>]
| |
| </div>
| |
| </div>
| |
| </div> | | </div> |
|
| |
|
| <style> | | </div> |
| /* استایل برای صفحهنمایش کوچک (موبایل) */ | |
| @media only screen and (max-width: 768px) {
| |
| .book-template-container {
| |
| flex-direction: column;
| |
| }
| |
| .book-cover-desktop {
| |
| display: none !important;
| |
| }
| |
| .book-cover-mobile {
| |
| display: block !important;
| |
| }
| |
| .book-details {
| |
| width: 100%;
| |
| }
| |
| }
| |
| </style>
| |
| </includeonly>
| |