الفرق بين المراجعتين لصفحة: «ميدياويكي:Common.css»

لا ملخص تعديل
لا ملخص تعديل
 
(٣٥ مراجعات متوسطة بواسطة نفس المستخدم غير معروضة)
سطر ٢١: سطر ٢١:
}
}


div#content h1, div#content h2, div#content #firstHeading,
.mw-body h1, .mw-body-content h1, .mw-body-content h2, .mw-body-content #firstHeading,
div#content .mw-editsection, .mw-body .mw-editsection-like,
.mw-body-content .mw-editsection, .mw-body .mw-editsection-like, .vector-sticky-header-context-bar-primary,
div#content #toc h2, div#content .toc h2,
.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, div#content h1, div#content h2, div#content #firstHeading, div#content .mw-editsection, .mw-body .mw-editsection-like, div#content #toc h2, div#content .toc h2, #template-documentation, #documentation-meta-data {
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 */
div#content a[href$=".pdf"].external,
.mw-body-content a[href$=".pdf"].external,
div#content a[href*=".pdf?"].external,
.mw-body-content a[href*=".pdf?"].external,
div#content a[href*=".pdf#"].external,
.mw-body-content a[href*=".pdf#"].external,
div#content a[href$=".PDF"].external,
.mw-body-content a[href$=".PDF"].external,
div#content a[href*=".PDF?"].external,
.mw-body-content a[href*=".PDF?"].external,
div#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/2/23/Pilgrims-flock-to-Mecca-each-year-for-Hajj-cropped.jpg');
     background-image: url('/images/9/9e/Kaba_new.jpg');
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-size: 100%;
     background-size: 100%;
سطر ١٬٧٠٣: سطر ١٬٧٠٣:
     color: white !important  
     color: white !important  
}
}
.mainpage-top h2 {
margin: 0;
}
/* حذف دکمه اضافه از جستجوی صفحه اول */
/* حذف دکمه اضافه از جستجوی صفحه اول */
  [name=go] {
  [name=go] {
سطر ١٬٧٠٩: سطر ١٬٧١٢:
/* راست چین کردن جستجوی صفحه اول */
/* راست چین کردن جستجوی صفحه اول */
  #mainpage-search {
  #mainpage-search {
     text-align: left
     text-align: right !important
}
}
/* فیدبک */
/* فیدبک */
سطر ١٬٧٥٦: سطر ١٬٧٥٩:
.navbox {
.navbox {
     width: auto !important
     width: auto !important
}
/* side bar */
#mw-panel{
position: fixed;
}
}


سطر ١٬٨٠٤: سطر ١٬٨٠٣:
.nv-talk {
.nv-talk {
display: none !important;
display: none !important;
}
/* new colors */
body {
    background-color: #fffdf9;
}
.mw-body {
    border: 1px solid #c3a068;
}
#mw-page-base {
    background-color: #fffdf9;
    background-image: -webkit-linear-gradient(top,#ffffff 50%,#fffdf9 100%);
    background-image: -moz-linear-gradient(top,#fff 50%,#fffdf9 100%);
    background-image: linear-gradient(#fff 50%,#fffdf9 100%);
}
div.vectorTabs ul li{
background-image: none;
}
div.vectorTabs span, div.vectorTabs, div#mw-head div.vectorMenu h3 {
    background-image: url(/design/div.vectorTabs-span.png);
}
.catlinks {
    border: 1px solid #c3a068;
    background-color: #fffefc;
}
.toc, .mw-warning, .toccolours {
    border-color: #c3a068;
    background-color: #fffefd;
}
}


/* font-sizes */
/* font-sizes */
.mw-body-content{
font-size: 16px;
}
.mw-editfont-monospace{
.mw-editfont-monospace{
font-size: 15px;
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;
}
}