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

ط
لا يوجد ملخص تحرير
طلا ملخص تعديل
طلا ملخص تعديل
 
(٩ مراجعات متوسطة بواسطة نفس المستخدم غير معروضة)
سطر ١: سطر ١:
/* ------------------------------ Font ------------------------------ */
/* ------------------------------ Font ------------------------------ */
@font-face {
@font-face {
     font-family: 'IRANSans';
     font-family: 'Noto Sans Arabic';
font-style: normal;
font-style: normal;
font-weight: 300;
font-weight: 400;
font-display: swap;
font-display: swap;
src: url('/static/fonts/IRANSansWeb(FaNum)_Light.woff2') format('woff2'),
src: url('/static/fonts/NotoSansArabic-Regular.woff2') format('woff2')
url('/static/fonts/IRANSansWeb(FaNum)_Light.woff') format('woff');
}
}
@font-face {
@font-face {
     font-family: 'IRANSans';
     font-family: 'Noto Sans Arabic';
font-style: normal;
font-style: normal;
font-weight: 400;
font-weight: 500;
font-display: swap;
font-display: swap;
src: url('/static/fonts/IRANSansWeb(FaNum).woff2') format('woff2'),
src: url('/static/fonts/NotoSansArabic-Medium.woff2') format('woff2')
url('/static/fonts/IRANSansWeb(FaNum).woff') format('woff');
}
}
@font-face {
@font-face {
     font-family: 'IRANSans';
     font-family: 'Noto Sans Arabic';
font-style: normal;
font-style: normal;
font-weight: 500;
font-weight: 600;
font-display: swap;
font-display: swap;
src: url('/static/fonts/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'),
src: url('/static/fonts/NotoSansArabic-SemiBold.woff2') format('woff2')
url('/static/fonts/IRANSansWeb(FaNum)_Medium.woff') format('woff');
}
}
@font-face {
@font-face {
     font-family: 'IRANSans';
     font-family: 'Noto Sans Arabic';
font-style: normal;
font-style: normal;
font-weight: 700;
font-weight: 700;
font-display: swap;
font-display: swap;
src: url('/static/fonts/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'),
src: url('/static/fonts/NotoSansArabic-Bold.woff2') format('woff2')
url('/static/fonts/IRANSansWeb(FaNum)_Bold.woff') format('woff');
}
}


body {
body {
/* generally a sans-serif font should be here */
/* generally a sans-serif font should be here */
font-family: IRANSans,'Iranian Serif','Iranian Sans',Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;  
font-family: 'Noto Sans Arabic', serif !important;
}
}


سطر ٤٣: سطر ٣٩:
#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 */
font-family: IRANSans,'Iranian Serif','Iranian Sans',Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;
font-family: 'Noto Sans Arabic', serif !important;
line-height: 1.6;
line-height: 1.6;
}
}


.mw-body-content {
.mw-body-content {
line-height: 2;
font-kerning: auto;
line-height: 2.1;
text-align: justify;
}
}


#mw-panel {
#mw-panel {
font-size: 17px;
font-size: 16px;
}
}


سطر ٧١: سطر ٦٩:
}
}


/* ------------------------------ Main page Template ----------------------------*/
/* ------------------------------ Other ----------------------------*/
.headTitle {
.wn-qurantext {
text-align: center;
font-weight: bold;
width: 90%;
color: green;
margin: 0 auto;
word-spacing: 1px;
margin-bottom: 40px;
display: inline;
}
}


.fTitle p, .sTitle p {  
.mw-redirectedfrom {
margin: 0;
    display: none;
display: inline-block;
padding: 0 5px;
}
}


.fTitle {
#mp-article .mp-h2 span:before {
font-size: 31px;
    background: url('/w/resources/assets/favorite.png') no-repeat center center;
color: #999;
}
}
 
.fTitle .wikiNoorTitle, .sTitle .colored a {  
#mp-new .mp-h2 span:before {
color: #0181A7 !important;  
    background: url('/w/resources/assets/new.png') no-repeat center center;
}
}
 
.sTitle {
#mp-top .mp-h2 span:before, #mp-badge .mp-h2 span:before {
font-size: 16px;
    background: url('/w/resources/assets/top.png') no-repeat center center;
color: #666;
margin-bottom: 5px;
border-bottom: 1px solid #e0e0e0;
padding: 5px 0 10px 0;
}
}


.fTitle p {
#mp-help .mp-h2 span:before {
border-bottom: 3px solid #e0e0e0;
    background: url('/w/resources/assets/help.png') no-repeat center center;
}
}


#p-logo {
.vector-menu-portal .vector-menu-content li {
margin-top: 10px;
  line-height: 1.3;
  font-size: 0.85em;
}
}


.fTitle .wellcome {
/* ----- wikiInfo ----- */
display: inline-block;
.wikiInfo {
border-bottom: 3px solid #e0e0e0;
font-size: 90%;
}
position: relative;
 
border: 1px solid #a2a9b1;
.fTitle h1, .sTitle h2 {
display: inline;
font-size: 1em;
border:  none;
color: #666;
}
 
.headMenus {
border-bottom: 1px solid #e0e0e0;
}
 
.headMenus .headMenu {
display: inline-block;
font-size: 14px;
margin: 0 4px;
}
 
.headMenus .headMenu a {
color: #0181a7 !important;
}
 
#mp-right .mp-bar { background: linear-gradient(to left, #C6DEFE, white, white)!important; }
/* responsive styles for Main Page */
@media(max-width: 1200px) {
  #mp-right, #mp-left { width: 100%!important; padding: 0!important; border: 0!important; background: transparent!important; }
  .mp-bar, #mp-right .mp-bar { background: #C6DEFE!important; }
}
/* دستورات این بخش همهٔ کاربران را تحت تاثیر قرار می‌دهند. */
 
div.clear { clear: both; }
.mainRight { width: 73%; float: right; margin-left: 2%; }
.mainLeft {
    width: 25%; float: right;
}
.mainLeft .item-box {
    box-sizing: border-box;
    background: #f5faff none repeat scroll 0 0;
    border: 1px solid #a7d7f9;
    border-radius: 0.5em;
    padding: 0 1em 1em;
    margin-bottom: 1em;
    text-align: right !important;
}
.selectedArticle { width: 100%; height: auto; text-align: justify !important; margin-bottom: 20px; line-height: 2em;}
.helpBox{line-height: 2em;}
.boxHeader { padding: 10px; border-radius: 6px; background: #c6defe none repeat scroll 0 0; margin: 15px 0 20px 0; }
.mainRight .boxHeader {
    background: #c6defe none repeat scroll 0 0;
    margin-top: 0;
}
.boxHeader span { padding-right: 45px; font: 15px IRANSans,'Iranian Serif','Iranian Sans',Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif; position: relative; }
.boxTitle {
    background: rgba(0,0,0,0) linear-gradient(to left,#c6defe,#f9f9f9,white) repeat scroll 0 0 !important;
    padding: 5px;
    border-radius: 6px;
    margin: 15px 0 20px 0;
}
.selectedArticle .boxHeader span:before, .newestArticles .boxHeader span:before, .topArticles .boxHeader span:before, .helpBox  .boxHeader span:before, .telegram .boxHeader span:before {
    width: 43px;
    height: 43px;
    position: absolute;
    right: -1px;
    top: -9px;
    content: " ";
}
 
.selectedArticle .boxHeader span:before {
    background: url('/w/resources/assets/favorite.png') no-repeat center center;
}
.newestArticles .boxHeader span:before {
    background: url('/w/resources/assets/new.png') no-repeat center center;
}
.topArticles .boxHeader span:before {
    background: url('/w/resources/assets/top.png') no-repeat center center;
}
.helpBox .boxHeader span:before {
    background: url('/w/resources/assets/help.png') no-repeat center center;
}
.telegram .boxHeader span:before {
    background: url('/w/resources/assets/telegram.png') no-repeat center center;
}
.samandehi {
  text-align: center;
}
.newestArticles, .topArticles { width: 100%; height: auto; margin-bottom: 10px;}
.newestArticles ol { margin: 10px 10px 0 0; padding: 0; text-align: right !important;}
.newestArticles ol li { list-style: none; }
.newestArticles ol li:before {
    content: "";
    line-height: 1em;
    width: 5px;
    height: 5px;
    background-color: #00528C;
    float: right;
    margin: 7px 0 0 7px;
    border-radius: 50%;
}
 
/* ------------------------------ Other ----------------------------*/
.mw-redirectedfrom {
    display: none;
}
 
/* ----- wikiInfo ----- */
.wikiInfo {
font-size: 90%;
position: relative;
border: 1px solid #eaecf0;
background-color: #f8f9fa;
background-color: #f8f9fa;
display: flex;
display: flex;
سطر ٢٥٧: سطر ١٤١:
.wikiInfo .wikitable {
.wikiInfo .wikitable {
flex: 1;
flex: 1;
border: none;
border: none;
margin: 0;
}
}


سطر ٢٧٨: سطر ١٦٣:
.wikiInfo .wikitable tr th:nth-child(1) {
.wikiInfo .wikitable tr th:nth-child(1) {
font-weight: bold;
font-weight: bold;
white-space: nowrap;
/* background: #ecf0f5; */
background: #eaecf0;
}
}


سطر ٢٩٢: سطر ١٧٦:
.wikiInfo .wikitable tr td:nth-child(1) {
.wikiInfo .wikitable tr td:nth-child(1) {
font-weight: bold;
font-weight: bold;
vertical-align: top;
white-space: nowrap;
white-space: nowrap;
background: #eaecf0;
/* background: #ecf0f5; */
}
}


سطر ٣٠٤: سطر ١٨٩:
}
}


.beyt {
/* Hide Auto Code */
  white-space: nowrap;
.infobox tbody tr:nth-last-child(2) {
}
display: none;
 
.nastaliq {
  line-height: 200%;
  font-size: 150%;
  font-family: IranNastaliq, 'Urdu Emad Nastaleeq', 'Noto Nastaliq Urdu', 'Urdu Typesetting', 'Jameel Noori Nastaleeq', 'Nafees Nastaleeq', 'Nafees Nastaleeq v1.01', Nafees, 'Pak Nastaleeq', 'PDMS_Jauhar', sans-serif;
  text-justify: inter-word;
  font-weight: normal;
}
.nastaliq .b { text-justify: inter-word; }
 
/* Display Quran Text in best of font without import external font file */
.quranText {
font-weight: bold;
}
}


.alphabet-list  .mw-ui-button {
a.new {
padding: 0 !important;
  color: #202122;
}
.alphabet-list  .mw-ui-button  a {
padding: 0.546875em 1em !important;
display: inline-block !important;
}
}


سطر ٣٣٣: سطر ٢٠١:
/* Main page fixes */
/* Main page fixes */


body.page-ویکی‌نور_صفحه_تمرین #ca-edit,
body.page-ويکي‌نور_صفحه_تمرین #ca-edit,
body.page-ویکی‌نور_آشنایی #ca-edit {
body.page-ويکي‌نور_آشنایی #ca-edit {
border: 1px dotted #36c;
border: 1px dotted #36c;
}
}
body.page-ویکی‌نور_صفحه_تمرین #ca-edit:hover,
body.page-ويکي‌نور_صفحه_تمرین #ca-edit:hover,
body.page-ویکی‌نور_آشنایی #ca-edit:hover {
body.page-ويکي‌نور_آشنایی #ca-edit:hover {
background: none repeat scroll 0 0 white;
background: none repeat scroll 0 0 white;
border-color: transparent;
border-color: transparent;
سطر ١٬٦٠٥: سطر ١٬٤٧٣:
body.ns-2[class*="_صفحه_تمرین"] #firstHeading::after {
body.ns-2[class*="_صفحه_تمرین"] #firstHeading::after {
color: #72777d;
color: #72777d;
content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در ویکی‌پدیا کاربرد دارد.";
content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در ويکي‌نور کاربرد دارد.";
float: left;
float: left;
width: 40%;
width: 40%;