پرش به محتوا

مدیاویکی:Common.css

از ویکی داد
نسخهٔ تاریخ ۱۱ سپتامبر ۲۰۲۶، ساعت ۱۹:۳۰ توسط Rasool (بحث | مشارکت‌ها)

نکته: پس از انتشار ممکن است برای دیدن تغییرات نیاز باشد که حافظهٔ نهانی مرورگر خود را پاک کنید.

  • فایرفاکس / سافاری: کلید Shift را نگه دارید و روی دکمهٔ Reload کلیک کنید، یا کلید‌های Ctrl-F5 یا Ctrl-R را با هم فشار دهید (در رایانه‌های اپل مکینتاش کلید‌های ⌘-R)
  • گوگل کروم: کلیدهای Ctrl+Shift+R را با هم فشار دهید (در رایانه‌های اپل مکینتاش کلید‌های ⌘-Shift-R)
  • Edge: کلید Ctrl را نگه‌دارید و روی دکمهٔ Refresh کلیک کنید، یا کلید‌های Ctrl-F5 را با هم فشار دهید
```css
.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));
    column-gap: 28px;
    row-gap: 2px;

    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: 4px 27px 4px 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;

    line-height: 1.9;
    min-height: 0;

    counter-increment: wd-reference;
}

.wd-references li::before {
    content: counter(wd-reference);

    position: absolute;
    right: 0;
    top: 50%;

    transform: translateY(-50%);

    color: #168477;

    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: 4px;
    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;
        column-gap: 0;
    }

}
```