الگو:بخش اطلاعات تماس/عطاری حافظ: تفاوت میان نسخهها
Esfandiari (بحث | مشارکتها) بدون خلاصۀ ویرایش |
Esfandiari (بحث | مشارکتها) بدون خلاصۀ ویرایش |
||
| خط ۳: | خط ۳: | ||
.deniz-contact-card { | .deniz-contact-card { | ||
width: 100%; | width: 100%; | ||
max-width: | max-width: 800px; /* این مقدار را طبق نیاز خود تغییر دهید، نسبت حفظ خواهد شد */ | ||
margin: 20px auto; | margin: 20px auto; | ||
padding: | |||
/* تنظیم نسبت ابعاد دقیق تصویر: 1008 / 1561 = 0.645 */ | |||
aspect-ratio: 1561 / 1008; | |||
padding: 15% 8% 8% 8%; /* استفاده از درصد برای حفظ فاصله از لبهها در همه ابعاد */ | |||
direction: rtl; | direction: rtl; | ||
text-align: right; | text-align: right; | ||
/* تنظیمات | /* تنظیمات پسزمینه */ | ||
background-image: url('https://dl.faraghaib.ir/m/105/12.png'); | background-image: url('https://dl.faraghaib.ir/m/105/12.png'); | ||
background-size: | background-size: 100% 100%; /* اجبار به پر کردن دقیق */ | ||
background-position: center; | background-position: center; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
color: #3e2723 | color: #3e2723; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
font-family: 'IRANSans', sans-serif | font-family: 'Tahoma', 'IRANSans', sans-serif; | ||
} | } | ||
/* استایل متن اصلی */ | /* استایل متن اصلی */ | ||
.wiki-list-item { | .wiki-list-item { | ||
margin-bottom: | margin-bottom: 2%; /* استفاده از درصد برای ریسپانسیو بودن */ | ||
line-height: 1. | line-height: 1.6; | ||
font-size: | font-size: 1em; | ||
} | } | ||
/* رنگ متمایز برای تیتر و متن مهم */ | /* رنگ متمایز برای تیتر و متن مهم */ | ||
.wiki-custom-body b { | .wiki-custom-body b { | ||
color: #2e4633; | color: #2e4633; | ||
} | } | ||
/* استایل لینکها */ | /* استایل لینکها */ | ||
.deniz-contact-card a { | .deniz-contact-card a { | ||
color: #a67c00 !important; | color: #a67c00 !important; | ||
text-decoration: none; | text-decoration: none; | ||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
| خط ۴۶: | خط ۴۸: | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
</style> | |||
<div class="deniz-contact-card"> | <div class="deniz-contact-card"> | ||