مدیاویکی:Common.css: تفاوت میان نسخه‌ها

پرش به ناوبری پرش به جستجو
۲٬۳۵۴ بایت حذف‌شده ،  ‏۲۵ ژوئن ۲۰۲۳
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
برچسب: واگردانی دستی
بدون خلاصۀ ویرایش
برچسب: برگردانده‌شده
خط ۱: خط ۱:
/* --------------------- Begin Font Style ----------------- */
/* --------------------- Begin Font Style ----------------- */
@font-face {
@font-face {
     font-family: 'Samim';
     font-family: 'Samim';
    src: url('/w/resources/fonts/Samim.eot');
font-style: normal;
    src: url('/w/resources/fonts/Samim.eot?#iefix') format('embedded-opentype'),
font-weight: 400;
url('/w/resources/fonts/Samim.woff') format('woff'),
font-display: swap;
url('/w/resources/fonts/Samim.ttf') format('truetype');
src: url('/w/resources/fonts/Samim-FD.woff2') format('woff2'),
    font-weight: normal;
url('/w/resources/fonts/Samim-FD.woff') format('woff');
}
}


@font-face {
body {
  font-family: 'me_quran';
font-family: Samim, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important;
  src: url('/w/resources/fonts/me_quran.eot') format('embedded-opentype');
}
  src: url('/w/resources/fonts/me_quran.woff') format('woff'),  
 
  url('/w/resources/fonts/me_quran.ttf') format('truetype'),
#content.mw-body  h1, #content.mw-body  h2, #content.mw-body  #firstHeading,
  url('/w/resources/fonts/me_quran.svg#me_quran') format('svg');
#content.mw-body .mw-editsection, .mw-body .mw-editsection-like,
  font-weight: normal;
#content.mw-body  #toc h2, #content.mw-body  .toc h2, .vector-sticky-header-context-bar-primary,
  font-style: normal;
#template-documentation, #documentation-meta-data{
font-family: Samim, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important;
line-height: 1.6;
}
}


@font-face {
textarea {
  font-family: 'KFGQPCUthmanTahaNaskh';
font-family: Samim, 'Courier New', monospace;
  src: url('/w/resources/fonts/KFGQPCUthmanTahaNaskh.eot') format('embedded-opentype');
  src: url('/w/resources/fonts/KFGQPCUthmanTahaNaskh.woff') format('woff'),  
  url('/w/resources/fonts/KFGQPCUthmanTahaNaskh.ttf')  format('truetype'),
  url('/w/resources/fonts/KFGQPCUthmanTahaNaskh.svg#KFGQPCUthmanTahaNaskh') format('svg');
  font-weight: normal;
  font-style: normal;
}
}


.mw-body-content {
.mw-body-content {
line-height: 2;
font-kerning: auto;
font-size: 0.93em;
font-size: 15px;
line-height: 2.4;
}
}


html, body {  
/* Ace editor now supports RTL editing but a monospace font with Arabic should be set for correct functionality */
font-family:Samim;
.ace_editor { font-family: 'Courier New', monospace!important; }
}


.arabic {
/* force these to use inherited font configuration */
/*font-family: "uthmanic-hafs";*/
.ui-widget, .ui-widget *, button, input, select, optgroup {
font-family:me_quran,Scheherazade,mry_KacstQurn,Tahoma;
font-family: inherit;
font-size: 1.02em;
    color: #000000c0;
}
}
/* end */


.ayaFlag {
dfn {
    font-family: "Traditional Arabic","Times New Roman";
font-style: inherit; /* Reset default styling for <dfn> */
    color: #215e21;
}
}
 
sup, sub {
.ayaText {
line-height: 1em;     /* Reduce line-height for <sup> and <sub> */
color: #215e21;
}
}
/* --------------------- End Font Style ----------------- */


.arabicText {
/* --------------------- Begin Custom Style ----------------- */
     font-family: KFGQPCUthmanTahaNaskh;
#siteSub {
     font-size: 1.15em;
     display: block;
    font-style: oblique;
     font-size: 0.8125rem;
    font-synthesis: style;
    font-weight: 500;
}
}


.hadithText {
.mw-redirectedfrom {
     font-family: KFGQPCUthmanTahaNaskh;
     display: none;
    font-size: 1.15em;
    font-style: oblique;
    font-synthesis: style;
    color: #215e21;
}
}


.hadithText .arabic .ayaText {
.hatnote {
    font-size: 0.86em;
padding: 5px 7px;
    font-style: normal;
color: #54595d;
font-size: 0.8125rem;
overflow: hidden;
}
}


.hadithText .arabic .ayaFlag {
.mw-parser-output .hatnote {
      font-style: normal;
font-style: normal;
}
}


/* If is IE Edge/Windows 10, Arabic diacritics are broken so use Segoe UI as default font instead */
/* Min dist for h2 header with Samim font أ */
_:-ms-lang(x), _:-webkit-full-screen, body { font-family: 'Samim', Tahoma, 'Iranian Sans',
.mw-body-content h2 {
'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; }
padding: 0.2em 0 0 0;
 
#content h1, #content h2, #content #firstHeading,
#content .mw-editsection, .mw-body .mw-editsection-like,
#content #toc h2, #content .toc h2,
#template-documentation, #documentation-meta-data {
  /* generally a serif font should be here but Arial is not acceptable for Persian */
  font-family: Samim, Tahoma, 'Iranian Serif', 'Noto Kufi Arabic', 'Droid Arabic Naskh', 'Iranian Sans', 'DejaVu Sans', serif;
}
}


/* force these to use inherited font configuration */
.vector-menu-portal .vector-menu-heading, .vector-menu-portal .vector-menu-content li {
.ui-widget, button, input, select, optgroup {
  line-height: 1.3;
   font-family: inherit;
   font-size: 0.85em;
}
}
/* --------------------- End Font Style ----------------- */


dfn {
/* --------------------- End Custom Style ----------------- */
    font-style: inherit;  /* Reset default styling for <dfn> */
}
sup, sub {
    line-height: 1em;    /* Reduce line-height for <sup> and <sub> */
}


/* --------------------- Begin Main Page Style ----------------- */
/* --------------------- Begin Main Page Style ----------------- */
خط ۲۰۴: خط ۱۸۰:


/* --------------------- End Main Page Style ----------------- */
/* --------------------- End Main Page Style ----------------- */
/* --------------------- Begin Custom Style ----------------- */
.readmore .collapseButton {
float:none
}
/* تغییر اندازه جعبه جستجو با قلم فارسی */
#simpleSearch {
height: 1.7em;
margin-top: 0.55em;
}
/* اصلاحات پوسته تایملس */
#p-logo-text a {
    padding: 0 1em;
    font-family: Samim;
}
/* اصلاح اندازه جعبه جستجو */
#searchInput {
    padding: 0.2em 0.4em 0.2em 1.84615385em;
}
/* جعبه پاسخ */
/* === Collapsible elements. Toggle-link moved to left. ===
/* Margin around it adjusted.
/* https://community.fandom.com/wiki/Thread:1104268
/* https://community.wikia.com/wiki/Thread:499656
/* https://community.wikia.com/wiki/Help:Collapsing
/* https://cannabis.wikia.com/wiki/MediaWiki:Wikia.css */
.mw-collapsible span.mw-collapsible-toggle {
    float:left;
    margin-left:0;
    margin-right:1em;
}
.mw-collapsible-content {
display: flex;
}
.im-answer-title {
padding: 10px 5px;
border: none;
}
.im-answer-content {
display: flex;
border: solid 1px #a2a9b1;
padding: 10px 8px;
background-color: #f8f9fa;
}
.im-answer-content div:nth-child(1) {
  flex-grow: 1;
}
.im-answer-content div:nth-child(2) {
  flex-grow: 3;
}
.im-personal-title, .im-personal-content{
font-family: Samim;
font-size: 16px;
}
.related-article-list{
margin: 0;
}
.related-article-item {
display: inline-block;
padding-left: 3px;
}
#siteSub {
    display: block;
}
/* --------------------- End Custom Style ----------------- */


/* --------------------- Begin Persian Wikipedia Style----------------- */
/* --------------------- Begin Persian Wikipedia Style----------------- */
خط ۴۰۱: خط ۲۹۹:
.hlist dd:after,
.hlist dd:after,
.hlist li:after {
.hlist li:after {
content: " •";
content: " • ";
/*font-weight: bold;*/
font-family: Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;
}
}
.hlist dd:last-child:after,
.hlist dd:last-child:after,
خط ۶۹۹: خط ۵۹۷:
font-weight: bold;
font-weight: bold;
text-align: center;
text-align: center;
padding: 5px 0;
}
}


خط ۱٬۴۴۴: خط ۱٬۳۴۳:
}
}


/* Für <nowiki><hiero>…</hiero></nowiki> */  
/* Für <hiero>…</hiero> */  
.mw-hierotable, .hierotable-mw,  
.mw-hierotable, .hierotable-mw,  
.mw-hierotable  th, .hierotable mw-th,  
.mw-hierotable  th, .hierotable mw-th,  

منوی ناوبری