الفرق بين المراجعتين لصفحة: «ميدياويكي:Common.css»
لا ملخص تعديل |
لا ملخص تعديل |
||
(٣٣ مراجعات متوسطة بواسطة نفس المستخدم غير معروضة) | |||
سطر ٢١: | سطر ٢١: | ||
} | } | ||
.mw-body h1, .mw-body-content h1, .mw-body-content h2, .mw-body-content #firstHeading, | |||
.mw-body-content .mw-editsection, .mw-body .mw-editsection-like, .vector-sticky-header-context-bar-primary, | |||
.mw-body-content #toc h2, .mw-body-content .toc h2, | |||
#template-documentation, #documentation-meta-data { | #template-documentation, #documentation-meta-data { | ||
/* generally a serif font should be here but Arial is not acceptable for Persian */ | /* generally a serif font should be here but Arial is not acceptable for Persian */ | ||
سطر ٣٧: | سطر ٣٧: | ||
/* Similarly, Safari 10.1/11 hack to use a better font and avoid Yeh diacrictic issue with CoreText and replace it with '.Arabic UI Display', their brand new font https://stackoverflow.com/a/25975282 */ | /* Similarly, Safari 10.1/11 hack to use a better font and avoid Yeh diacrictic issue with CoreText and replace it with '.Arabic UI Display', their brand new font https://stackoverflow.com/a/25975282 */ | ||
@media not all and (min-resolution:.001dpcm) { @media { | @media not all and (min-resolution:.001dpcm) { @media { | ||
body, | body, .mw-body-content h1, .mw-body-content h2, .mw-body-content #firstHeading, .mw-body-content .mw-editsection, .mw-body .mw-editsection-like, .mw-body-content #toc h2, .mw-body-content .toc h2, #template-documentation, #documentation-meta-data { | ||
font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif; | font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif; | ||
} | } | ||
سطر ٥٩٢: | سطر ٥٩٢: | ||
/* Change the external link icon to an Adobe icon for all PDF files | /* Change the external link icon to an Adobe icon for all PDF files | ||
in browsers that support these CSS selectors, like Mozilla and Opera */ | in browsers that support these CSS selectors, like Mozilla and Opera */ | ||
.mw-body-content a[href$=".pdf"].external, | |||
.mw-body-content a[href*=".pdf?"].external, | |||
.mw-body-content a[href*=".pdf#"].external, | |||
.mw-body-content a[href$=".PDF"].external, | |||
.mw-body-content a[href*=".PDF?"].external, | |||
.mw-body-content a[href*=".PDF#"].external, | |||
div#mw_content a[href$=".pdf"].external, | div#mw_content a[href$=".pdf"].external, | ||
div#mw_content a[href*=".pdf?"].external, | div#mw_content a[href*=".pdf?"].external, | ||
سطر ١٬٤٩٧: | سطر ١٬٤٩٧: | ||
On narrow and mobile screens, let them collapse into a single column */ | On narrow and mobile screens, let them collapse into a single column */ | ||
.portal-column-left { | .portal-column-left { | ||
float: | float: left; | ||
width: 50%; | width: 50%; | ||
} | } | ||
.portal-column-right { | .portal-column-right { | ||
float: | float: right; | ||
width: 49%; | width: 49%; | ||
} | } | ||
.portal-column-right-wide { | .portal-column-right-wide { | ||
float: | float: right; | ||
width: 60%; | width: 60%; | ||
} | } | ||
.portal-column-left-narrow { | .portal-column-left-narrow { | ||
float: | float: left; | ||
width: calc(40% - 16px); | width: calc(40% - 16px); | ||
} | } | ||
.portal-column-left-extra-wide { | .portal-column-left-extra-wide { | ||
float: | float: left; | ||
width: 70%; | width: 70%; | ||
} | } | ||
.portal-column-right-extra-narrow { | .portal-column-right-extra-narrow { | ||
float: | float: right; | ||
width: 29%; | width: 29%; | ||
} | } | ||
سطر ١٬٦٩٤: | سطر ١٬٦٩٤: | ||
/* طراحی صفحه اول */ | /* طراحی صفحه اول */ | ||
.mainpage-top { | .mainpage-top { | ||
background-image: url('/images/ | background-image: url('/images/9/9e/Kaba_new.jpg'); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-size: 100%; | background-size: 100%; | ||
سطر ١٬٧١٢: | سطر ١٬٧١٢: | ||
/* راست چین کردن جستجوی صفحه اول */ | /* راست چین کردن جستجوی صفحه اول */ | ||
#mainpage-search { | #mainpage-search { | ||
text-align: | text-align: right !important | ||
} | } | ||
/* فیدبک */ | /* فیدبک */ | ||
سطر ١٬٧٥٩: | سطر ١٬٧٥٩: | ||
.navbox { | .navbox { | ||
width: auto !important | width: auto !important | ||
} | } | ||
سطر ١٬٨٠٧: | سطر ١٬٨٠٣: | ||
.nv-talk { | .nv-talk { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* font-sizes */ | /* font-sizes */ | ||
.mw-editfont-monospace{ | .mw-editfont-monospace{ | ||
font-size: | font-size: 17px; | ||
} | } | ||
img { | img { | ||
max-width: 100%; | max-width: 100%; | ||
height: auto !important; | height: auto !important; | ||
clip: rect(auto, auto, auto, auto) !important; | |||
} | } | ||
سطر ١٬٨٨٩: | سطر ١٬٨٥٦: | ||
.tmulti .tsingle { | .tmulti .tsingle { | ||
margin: 0 !important; | margin: 0 !important; | ||
} | |||
#searchInput { | |||
padding: 0.2em 0.4em; | |||
} | |||
.mw-body-content { | |||
line-height: 1.8; | |||
} | |||
/* vector 2022 */ | |||
.mw-content-container, .mw-article-toolbar-container { | |||
max -width: none; | |||
} | |||
.mw-sidebar-action { | |||
display: none; | |||
} | |||
#p-lang-btn.mw-portlet-empty { | |||
display: block; | |||
} | |||
#p-lang-btn { | |||
float: left; | |||
} | |||
/* comment section */ | |||
.cs-comments, .cs-title-edit-field, .cs-body-edit-field { | |||
font-family: vazir !important; | |||
} | |||
.cs-header .oo-ui-buttonElement-button[tabindex="0"] { | |||
position: fixed; | |||
top: 4em; | |||
left: 1em; | |||
} | |||
.cs-header .oo-ui-buttonElement-button[title="إلغاء"], .cs-header .oo-ui-buttonElement-button[title="إرسال"] { | |||
position: relative; | |||
top: unset; | |||
left: unset; | |||
} | |||
/* maps */ | |||
.leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-tile-container, .leaflet-pane > svg, .leaflet-pane > canvas, .leaflet-zoom-box, .leaflet-image-layer, .leaflet-layer { | |||
left: 0; | |||
right: auto; | |||
} | |||
.leaflet-grab { | |||
cursor: -webkit-pointer; | |||
cursor: -moz-pointer; | |||
cursor: pointer; | |||
} | |||
.leaflet-interactive { | |||
cursor: auto; | |||
} | } |