مدیاویکی:Common.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)); gap: 8px 16px; margin: 0 !importa...' برچسب: جایگزین شد |
بدون خلاصۀ ویرایش |
||
| خط ۱: | خط ۱: | ||
```css | |||
.wd-references { | .wd-references { | ||
direction: rtl; | direction: rtl; | ||
| خط ۱۰: | خط ۷: | ||
color: #52615e; | color: #52615e; | ||
} | } | ||
.wd-references ol { | .wd-references ol { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(2, minmax(0, 1fr)); | grid-template-columns: repeat(2, minmax(0, 1fr)); | ||
gap: | column-gap: 28px; | ||
row-gap: 2px; | |||
margin: 0 !important; | margin: 0 !important; | ||
| خط ۲۵: | خط ۲۰: | ||
counter-reset: wd-reference; | counter-reset: wd-reference; | ||
} | } | ||
.wd-references li { | .wd-references li { | ||
position: relative; | position: relative; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: | padding: 4px 27px 4px 0 !important; | ||
background: | background: transparent !important; | ||
border: 0 !important; | |||
border-radius: 0 !important; | |||
line-height: 1.9; | |||
min-height: 0; | |||
line-height: | |||
min-height: | |||
counter-increment: wd-reference; | counter-increment: wd-reference; | ||
} | } | ||
.wd-references li::before { | .wd-references li::before { | ||
| خط ۵۷: | خط ۴۲: | ||
position: absolute; | position: absolute; | ||
right: 0; | |||
right: | |||
top: 50%; | top: 50%; | ||
transform: translateY(-50%); | transform: translateY(-50%); | ||
color: #168477; | |||
color: # | |||
font-size: 11px; | font-size: 11px; | ||
font-weight: 800; | font-weight: 800; | ||
} | } | ||
.wd-references a { | .wd-references a { | ||
| خط ۹۱: | خط ۶۲: | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
.wd-references .mw-cite-backlink { | .wd-references .mw-cite-backlink { | ||
margin-right: | margin-right: 4px; | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
| خط ۱۰۴: | خط ۷۲: | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
@media (max-width: 700px) { | @media (max-width: 700px) { | ||
| خط ۱۱۴: | خط ۷۷: | ||
.wd-references ol { | .wd-references ol { | ||
grid-template-columns: 1fr; | grid-template-columns: 1fr; | ||
column-gap: 0; | |||
} | } | ||
} | } | ||
``` | |||
نسخهٔ ۱۱ سپتامبر ۲۰۲۶، ساعت ۱۹:۳۰
```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;
}
}
```