مدیاویکی:Common.css: تفاوت میان نسخهها
Esfandiari (بحث | مشارکتها) بدون خلاصۀ ویرایش |
Esfandiari (بحث | مشارکتها) بدون خلاصۀ ویرایش |
||
| (یک نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) | |||
| خط ۱٬۰۳۶: | خط ۱٬۰۳۶: | ||
border-radius: 5px; | border-radius: 5px; | ||
cursor: pointer; | cursor: pointer; | ||
} | |||
.modern-city-grid { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); | |||
gap: 15px; | |||
padding: 20px; | |||
background: #f8fafc; | |||
border-radius: 20px; | |||
} | |||
.city-link { | |||
background: #ffffff; | |||
padding: 15px; | |||
border-radius: 12px; | |||
text-align: center; | |||
text-decoration: none !important; | |||
color: #334155 !important; | |||
font-weight: 500; | |||
border: 1px solid #e2e8f0; | |||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |||
box-shadow: 0 2px 4px rgba(0,0,0,0.02); | |||
} | |||
.city-link:hover { | |||
background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%); | |||
color: #ffffff !important; | |||
transform: translateY(-3px); | |||
box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3); | |||
border-color: transparent; | |||
} | } | ||