الفرق بين المراجعتين لصفحة: «ميدياويكي:Common.css»
لا ملخص تعديل |
لا ملخص تعديل |
||
(٢٣ مراجعات متوسطة بواسطة نفس المستخدم غير معروضة) | |||
سطر ١: | سطر ١: | ||
@ | @font-face { | ||
font-family: 'Amiri'; | |||
font-style: normal; | |||
font-weight: 400; | |||
src: local('Amiri Regular'), local('Amiri-Regular'), url(https://fonts.gstatic.com/s/amiri/v13/J7aRnpd8CGxBHpUrtLMA7w.woff2) format('woff2'); | |||
unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC; | |||
} | |||
/* Logo */ | /* Logo */ | ||
/* هنگامی که لوگوی مناسبتی را بارگذاری کردید این کد را فعال کنید */ | /* هنگامی که لوگوی مناسبتی را بارگذاری کردید این کد را فعال کنید */ | ||
سطر ١٥: | سطر ٢١: | ||
} | } | ||
.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, | ||
سطر ١٬٦٨٨: | سطر ١٬٦٩٤: | ||
/* طراحی صفحه اول */ | /* طراحی صفحه اول */ | ||
.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%; | ||
سطر ١٬٧٥٣: | سطر ١٬٧٥٩: | ||
.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: 17px; | font-size: 17px; | ||
سطر ١٬٨٤٠: | سطر ١٬٨١٢: | ||
max-width: 100%; | max-width: 100%; | ||
height: auto !important; | height: auto !important; | ||
clip: rect(auto, auto, auto, auto) !important; | |||
} | } | ||
سطر ١٬٨٨٩: | سطر ١٬٨٦٢: | ||
.mw-body-content { | .mw-body-content { | ||
line-height: 1.8; | 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; | |||
} | } |