مدیاویکی:Common.css
نکته: پس از انتشار ممکن است برای دیدن تغییرات نیاز باشد که حافظهٔ نهانی مرورگر خود را پاک کنید.
- فایرفاکس / سافاری: کلید Shift را نگه دارید و روی دکمهٔ Reload کلیک کنید، یا کلیدهای Ctrl-F5 یا Ctrl-R را با هم فشار دهید (در رایانههای اپل مکینتاش کلیدهای ⌘-R)
- گوگل کروم: کلیدهای Ctrl+Shift+R را با هم فشار دهید (در رایانههای اپل مکینتاش کلیدهای ⌘-Shift-R)
- Edge: کلید Ctrl را نگهدارید و روی دکمهٔ Refresh کلیک کنید، یا کلیدهای Ctrl-F5 را با هم فشار دهید
/* ================================
ویکیداد — منابع و مآخذ
================================ */
.wd-references {
direction: rtl;
text-align: right;
font-family: "Vazirmatn", "IRANSans", Tahoma, Arial, sans-serif;
font-size: 13px;
color: #52615e;
}
/* فهرست منابع */
.wd-references ol {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px 16px;
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
counter-reset: wd-reference;
}
/* هر منبع */
.wd-references li {
position: relative;
box-sizing: border-box;
margin: 0 !important;
padding: 11px 42px 11px 13px !important;
background: #f7f9f8;
border: 1px solid #e1e8e5;
border-right: 3px solid #168477;
border-radius: 8px;
line-height: 2;
min-height: 48px;
counter-increment: wd-reference;
}
/* شماره منبع */
.wd-references li::before {
content: counter(wd-reference);
position: absolute;
right: 11px;
top: 50%;
transform: translateY(-50%);
width: 23px;
height: 23px;
display: flex;
align-items: center;
justify-content: center;
background: #e3efeb;
color: #245b55;
border-radius: 50%;
font-size: 11px;
font-weight: 800;
}
/* لینکهای منابع */
.wd-references a {
color: #176c88;
text-decoration: none;
}
.wd-references a:hover {
color: #11695f;
text-decoration: underline;
}
/* لینک برگشت از منبع به متن */
.wd-references .mw-cite-backlink {
margin-right: 5px;
white-space: nowrap;
}
.wd-references .mw-cite-backlink a {
color: #168477;
font-weight: bold;
}
/* ================================
موبایل
================================ */
@media (max-width: 700px) {
.wd-references ol {
grid-template-columns: 1fr;
}
}