الگو:کادر اطلاعاتی: تفاوت میان نسخهها
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
| خط ۱: | خط ۱: | ||
<html> | <html> | ||
<!-- شروع | |||
<div class="f- | <!-- شروع باکس خدمات نعمتی - نسخه فشرده --> | ||
<div class="f- | <div class="f-compact-wrapper"> | ||
<h2 class="f- | <div class="f-compact-content"> | ||
<p class="f- | <h2 class="f-compact-title">خدمات چاپ و تبلیغات نعمتی</h2> | ||
<p class="f-compact-text"> | |||
برای تجربه بهترین <strong>خدمات چاپ و تبلیغات نعمتی</strong>، کافیست سفارش خود را به ما بسپارید. ما با کیفیتترین خدمات <strong>چاپ بنر</strong>، <strong>چاپ سررسید اختصاصی</strong> و <strong>طراحی تراکت</strong> را با دقت بالا و قیمت مناسب ارائه میدهیم. همین حالا فایلهای خود را ارسال کنید تا در سریعترین زمان ممکن، سفارش شما را با بالاترین کیفیت آماده و تحویل دهیم. | |||
</p> | </p> | ||
</div> | </div> | ||
| خط ۱۱: | خط ۱۲: | ||
<style> | <style> | ||
/* | /* فونت ایرانسنس - فرض بر این است که در سایت شما تعریف شده است */ | ||
.f- | .f-compact-wrapper, .f-compact-wrapper * { | ||
font-family: 'IRANSans', Tahoma, sans-serif !important; | |||
} | |||
.f-compact-wrapper { | |||
position: relative; | position: relative; | ||
width: | width: 90%; | ||
max-width: | max-width: 800px; | ||
margin: | margin: 30px auto; | ||
padding-bottom: | padding-bottom: 15px; /* فضا برای سایه */ | ||
} | } | ||
.f- | .f-compact-content { | ||
position: relative; | position: relative; | ||
background: # | background: #fff; | ||
border-top: | border-top: 4px solid #b71c1c; | ||
padding: | padding: 20px 25px; /* کاهش ارتفاع با تنظیم پدینگ */ | ||
border | border: 1px solid #e0e0e0; | ||
z-index: 2; | z-index: 2; | ||
direction: rtl; | direction: rtl; | ||
text-align: right; | |||
} | } | ||
.f- | .f-compact-title { | ||
font-size: 1. | font-size: 1.3rem; | ||
font-weight: | font-weight: 800; | ||
color: #222; | color: #222; | ||
margin | margin: 0 0 15px 0; | ||
text-align: center; | text-align: center; | ||
} | } | ||
.f- | .f-compact-text { | ||
font-size: | font-size: 0.95rem; | ||
line-height: 1. | line-height: 1.7; | ||
color: #444; | color: #444; | ||
text-align: justify; | text-align: justify; | ||
margin: 0; | margin: 0; | ||
} | } | ||
.f- | .f-compact-text strong { | ||
color: # | color: #b71c1c; | ||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
/* | /* افکت سایه گوشهدار ملایم */ | ||
.f- | .f-compact-wrapper::before, | ||
.f- | .f-compact-wrapper::after { | ||
content: ""; | content: ""; | ||
position: absolute; | position: absolute; | ||
bottom: | bottom: 5px; /* نزدیکتر به باکس برای ارتفاع کمتر */ | ||
left: | left: 20px; | ||
width: | width: 40%; | ||
height: | height: 15px; | ||
background: transparent; | background: transparent; | ||
box-shadow: 0 | box-shadow: 0 12px 10px rgba(0,0,0,0.25); | ||
transform: rotate(- | transform: rotate(-2deg); | ||
z-index: 1; | z-index: 1; | ||
} | } | ||
.f- | .f-compact-wrapper::after { | ||
left: auto; | left: auto; | ||
right: | right: 20px; | ||
transform: rotate( | transform: rotate(2deg); | ||
} | } | ||
/* | /* ریسپانسیو */ | ||
@media (max-width: | @media (max-width: 600px) { | ||
.f- | .f-compact-content { padding: 15px; } | ||
} | } | ||
</style> | </style> | ||
<!-- پایان | <!-- پایان باکس --> | ||
</html> | </html> | ||