مدیاویکی:Common.css: تفاوت میان نسخهها
admin>Esfandiari بدون خلاصۀ ویرایش |
admin>Esfandiari بدون خلاصۀ ویرایش |
||
| خط ۸۵۶: | خط ۸۵۶: | ||
width: 100%; | width: 100%; | ||
height: 40px; | height: 40px; | ||
font-size: | |||
/* تغییر فونت هوشمند: بین 10px تا 13px بسته به عرض صفحه */ | |||
font-size: clamp(10px, 0.8vw + 8px, 13px); | |||
/* جلوگیری از رفتن به خط بعد */ | |||
white-space: nowrap; | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
transition: all 0.2s ease-in-out; | transition: all 0.2s ease-in-out; | ||
padding: 5px | padding: 0 5px; | ||
text-align: center; | text-align: center; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
.grid-item:hover { | .grid-item:hover { | ||