مدیاویکی:Common.css: تفاوت میان نسخهها
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
| خط ۸۲: | خط ۸۲: | ||
} | } | ||
``` | ``` | ||
/* ========================================= | |||
WikiDad — Breadcrumb | |||
========================================= */ | |||
.wd-breadcrumb { | |||
direction: rtl; | |||
display: flex; | |||
align-items: center; | |||
flex-wrap: wrap; | |||
gap: 8px; | |||
margin: 12px 0 24px; | |||
padding: 6px 0; | |||
font-family: "Vazirmatn", "IRANSans", Tahoma, Arial, sans-serif; | |||
font-size: 13px; | |||
line-height: 1.9; | |||
color: #667773; | |||
} | |||
.wd-breadcrumb-item { | |||
display: inline-flex; | |||
align-items: center; | |||
} | |||
.wd-breadcrumb-item a { | |||
color: #176c88; | |||
text-decoration: none; | |||
font-weight: 600; | |||
transition: color 0.15s ease; | |||
} | |||
.wd-breadcrumb-item a:hover { | |||
color: #11695f; | |||
text-decoration: underline; | |||
} | |||
.wd-breadcrumb-arrow { | |||
display: inline-flex; | |||
align-items: center; | |||
color: #a5b3af; | |||
font-size: 13px; | |||
user-select: none; | |||
} | |||
.wd-breadcrumb-current { | |||
display: inline-flex; | |||
align-items: center; | |||
color: #405b56; | |||
font-weight: 800; | |||
} | |||
/* موبایل */ | |||
@media (max-width: 700px) { | |||
.wd-breadcrumb { | |||
gap: 5px; | |||
margin: 8px 0 18px; | |||
padding: 4px 0; | |||
font-size: 12px; | |||
line-height: 1.8; | |||
} | |||
.wd-breadcrumb-arrow { | |||
font-size: 11px; | |||
} | |||
} | |||
نسخهٔ ۱۱ سپتامبر ۲۰۲۶، ساعت ۱۹:۵۸
```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;
}
}
```
/* =========================================
WikiDad — Breadcrumb
========================================= */
.wd-breadcrumb {
direction: rtl;
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
margin: 12px 0 24px;
padding: 6px 0;
font-family: "Vazirmatn", "IRANSans", Tahoma, Arial, sans-serif;
font-size: 13px;
line-height: 1.9;
color: #667773;
}
.wd-breadcrumb-item {
display: inline-flex;
align-items: center;
}
.wd-breadcrumb-item a {
color: #176c88;
text-decoration: none;
font-weight: 600;
transition: color 0.15s ease;
}
.wd-breadcrumb-item a:hover {
color: #11695f;
text-decoration: underline;
}
.wd-breadcrumb-arrow {
display: inline-flex;
align-items: center;
color: #a5b3af;
font-size: 13px;
user-select: none;
}
.wd-breadcrumb-current {
display: inline-flex;
align-items: center;
color: #405b56;
font-weight: 800;
}
/* موبایل */
@media (max-width: 700px) {
.wd-breadcrumb {
gap: 5px;
margin: 8px 0 18px;
padding: 4px 0;
font-size: 12px;
line-height: 1.8;
}
.wd-breadcrumb-arrow {
font-size: 11px;
}
}