پرش به محتوا

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

بدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۳۹ نسخهٔ میانی ویرایش شده توسط ۲ کاربر نشان داده نشد)
خط ۴: خط ۴:
font-style: normal;
font-style: normal;
font-weight: 400;
font-weight: 400;
font-display: swap;
font-display: swap;
     src: url('/static/fonts/Samim.woff') format('woff');
src: url('/static/fonts/Samim-FD.woff2') format('woff2'),
url('/static/fonts/Samim-FD.woff') format('woff');
}
@font-face {
     font-family: 'Samim';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('/static/fonts/Samim-Medium-FD.woff2') format('woff2'),
url('/static/fonts/Samim-Medium-FD.woff') format('woff');
}
@font-face {
    font-family: 'Samim';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('/static/fonts/Samim-Bold-FD.woff2') format('woff2'),
url('/static/fonts/Samim-Bold-FD.woff') format('woff');
}
}


@font-face {
@font-face {
font-family: 'me_quran';
font-family: 'Quran';
font-style: normal;
font-style: normal;
font-weight: 400;
font-weight: 400;
font-display: swap;
font-display: swap;
src: url('/static/fonts/me_quran.woff') format('woff');
src: url('/static/fonts/me_quran.woff2') format('woff2');
}
}


خط ۲۱: خط ۳۸:
font-weight: 400;
font-weight: 400;
font-display: swap;
font-display: swap;
src: url('/static/fonts/KFGQPCUthmanTahaNaskh.woff') format('woff');
src: url('/static/fonts/KFGQPCUthmanTahaNaskh.woff2') format('woff2');
}
}


body {
.alaem-a {
  font-family: Samim, 'Iranian Sans', Tahoma, 'DejaVu Sans' !important;
font-family: 'Alaem';
font-size: 2.25em;
line-height: .9rem;
}
.alaem-s {
font-family: 'Alaem';
font-size: 1.63em;
line-height: .9rem;
}
}


#bodyContent {
body {
    line-height: 2;
font-family: Samim, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important;
    font-size: 0.93em;
}
}


خط ۳۷: خط ۶۰:
#content.mw-body  #toc h2, #content.mw-body  .toc h2, .vector-sticky-header-context-bar-primary,
#content.mw-body  #toc h2, #content.mw-body  .toc h2, .vector-sticky-header-context-bar-primary,
#template-documentation, #documentation-meta-data{
#template-documentation, #documentation-meta-data{
  font-family: Samim, 'Iranian Serif', 'Iranian Sans', Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important;
font-family: Samim, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important;
line-height: 1.6;
}
}


textarea {
textarea {
  font-family: Samim, 'Courier New', monospace;
font-family: Samim, 'Courier New', monospace;
}
}


.arabic {
.mw-body-content {
/*font-family: "uthmanic-hafs";*/
font-kerning: auto;
font-family:me_quran,Scheherazade,mry_KacstQurn,Tahoma;  
line-height: 2.4;
font-size: 1.02em;
    color: #000000c0;
}
}


.ayaFlag {
.quran-text {
    font-family: "Traditional Arabic","Times New Roman";
font-size: 18px;
    color: #215e21;
}
}


.ayaText {
.quran-text span:nth-child(1) {
color: #215e21;
    padding: 0 0 0 2px;
}
}


.arabicText {
.quran-text span:nth-child(2) {
    font-family: KFGQPCUthmanTahaNaskh;
font-family: Quran, Tahoma,'DejaVu Sans';
    font-size: 1.15em;
word-spacing: 3px;
    font-style: oblique;
color: #215e21;
    font-synthesis: inherit;
font-size: 18px;
    font-weight: 500;
line-height: normal;
}
}


.hadithText {
.quran-text span:nth-child(3) {
    font-family: KFGQPCUthmanTahaNaskh;
     padding: 0 2px 0 0;
    font-size: 1.15em;
    font-style: oblique;
    font-synthesis: inherit;
    font-weight: 500;
     color: #215e21;
}
}


/* force these to use inherited font configuration */
.arabic-text {
.ui-widget, .ui-widget *, button, input, select, optgroup {
font-family: 'KFGQPCUthmanTahaNaskh';
  font-family: inherit;
color: #202122;
font-size: 1.37em;
line-height: 1.9;
}
}
/* end */


dfn {
.hadith-text {
    font-style: inherit; /* Reset default styling for <dfn> */
font-family: 'KFGQPCUthmanTahaNaskh';
color: #215e21;
font-size: 1.37em;
line-height: 1.9;
}
}


sup, sub {
.references-small .quran-text {
     line-height: 1em;     /* Reduce line-height for <sup> and <sub> */
     font-size: 17px;
}
}
/* --------------------- End Font Style ----------------- */


/* --------------------- Begin Main Page Style ----------------- */
.references-small .arabic-text, .references-small .hadith-text {
.mainPage {
     font-size: 17px;
     display: flex;
    flex-direction: row;
}
}


.mainRight {  
/* Ace editor now supports RTL editing but a monospace font with Arabic should be set for correct functionality */
display: flex;
.ace_editor { font-family: 'Courier New', monospace!important; }
flex-direction: column;
flex: 75%;
margin: 6px 4px;
}


.mainLeft {
/* force these to use inherited font configuration */
box-shadow: 0 0 0.3rem #999;
.ui-widget, .ui-widget *, button, input, select, optgroup {
border-radius: 0.2rem;
font-family: inherit;
padding: 1.2rem;
flex: 25%;
margin: 6px 4px;
}
}
/* end */


.selectedArticle, .selectedWork, .selectedQuestion {  
dfn {
box-shadow: 0 0 0.3rem #999;
font-style: inherit; /* Reset default styling for <dfn> */
border-radius: 0.2rem;
padding: 1.2rem;
margin: 4px 0px;
}
}
 
sup, sub {
.helpBox{
line-height: 1em;     /* Reduce line-height for <sup> and <sub> */
line-height: 2em;
box-shadow: 0 0 0.3rem #999;
border-radius: 0.2rem;
padding: 1.2rem;
margin-bottom: 1.6rem;
}
}
 
/* --------------------- End Font Style ----------------- */
.boxHeader {
padding: 10px;
border-radius: 2px;
margin: 0 0 20px 0;
box-shadow: 0 0 0.3rem #999;
}
 
.boxHeader span {
padding-right: 45px;
font: 1.03em samim;
position: relative;
}
 
.boxTitle {
    padding: 5px;
    border-radius: 2px;
    margin: 15px 0 20px 0;
border-bottom: solid 0.2rem #bdd8fb;
}
 
.selectedArticle .boxHeader span:before,.boxHeader span:before,
.selectedWork .boxHeader span:before,.boxHeader span:before,
.selectedQuestion .boxHeader span:before,.boxHeader span:before,
.topArticles .boxHeader span:before, .boxHeader span:before {
    width: 43px;
    height: 43px;
    position: absolute;
    right: -1px;
    top: -9px;
    content: " ";
}
 
.selectedArticle .boxHeader span:before,
.selectedWork .boxHeader span:before {
    background: url('/static/images/project-logos/favorite.png') no-repeat center center;
}
 
.selectedQuestion .boxHeader span:before {
    background: url('/static/images/project-logos/help.png') no-repeat center center;
}
 
.topArticles .boxHeader span:before {
    background: url('/static/images/project-logos/top.png') no-repeat center center;
}
 
.topArticles {
width: 100%;
height: auto;
margin-bottom: 10px;
}
 
.readmoreButton {
box-shadow: 0 0 0.3rem #999;
display: inline-block;
min-width: 4em;
max-width: 28.75em;
padding: 0.546875em 1em;
line-height: 1.286;
box-sizing: border-box;
vertical-align: middle;
text-align: center;
font-weight: bold;
cursor: pointer;
border-radius: 0.2rem;
margin: 5px 0 0 0;
font-family: inherit;
font-size: 1em;
}
/* --------------------- End Main Page Style ----------------- */
 
/* --------------------- Begin Custom Style ----------------- */
/* --------------------- Begin Custom Style ----------------- */
/* === Collapsible elements. Toggle-link moved to left. ===
.mw-redirectedfrom {
/* Margin around it adjusted.
     display: none;
/* 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;
}
 
.im-answer-title {
border: none;
}
 
.im-answer-content {
padding:4px;
display: block;
background: #fcfcfc;
box-shadow: 0 0 0.3rem rgba(0,0,0,0.08);
border-radius: 0.1rem;
border: 1px solid rgba(0,0,0,0.08);
padding: 0.5rem;
}
 
.im-personal-title, .im-personal-content{
font-family: Lotus;
font-size: 16px;
}
 
.related-article-list{
margin: 0;
}
 
.related-article-item {
display: inline-block;
padding-left: 3px;
}
}


خط ۲۴۸: خط ۱۴۴:
   margin-bottom: 1px;
   margin-bottom: 1px;
   overflow: hidden;
   overflow: hidden;
}
.im-hatnote {
text-align:center;
font-size: 85%;
font-weight: normal;
}
.im-hatnote-topic {
background-color: #fcfce9;
text-align:center;
font-size: 85%;
font-weight: normal;
display: flow-root;
position: relative;
padding: 1px;
border-bottom: 1px Solid #FFF;
}
.im-hatnote-entry {
background-color: rgb(255, 245, 227);
text-align:center;
font-size: 85%;
font-weight: normal;
display: flow-root;
position: relative;
padding: 1px;
border-bottom: 1px Solid #FFF;
}
.im-hatnote-question {
background-color: #fcfce9;
text-align:center;
font-size: 85%;
font-weight: normal;
display: flow-root;
position: relative;
padding: 1px;
border-bottom: 1px Solid #FFF;
}
}


خط ۳۰۱: خط ۱۵۹:
.user-show {
.user-show {
display: none;
display: none;
}
.mw-parser-output .hatnote {
font-style: normal;
}
/* Show red links only for uesrs */
a.new, h2 a, h3 a {
  color: unset;
}
/* References list */
.im-references {
max-height: 300px;
overflow: auto;
padding: 5px 0 5px 5px;
background: #f8f9fa;
}
}
/* --------------------- End Custom Style ----------------- */
/* --------------------- End Custom Style ----------------- */
خط ۴۷۱: خط ۳۴۶:
#bodyContent .hlist dd:after,
#bodyContent .hlist dd:after,
#bodyContent .hlist li:after {
#bodyContent .hlist li:after {
     content: " ·";
     content: " ";
     font-weight: bold;
     font-family: Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;
}
}
#content .hlist dd:last-child:after,
#content .hlist dd:last-child:after,
۲۴٬۴۶۴

ویرایش