الفرق بين المراجعتين لصفحة: «ميدياويكي:Common.css»
طلا ملخص تعديل |
طلا ملخص تعديل |
||
سطر ٢٣٤: | سطر ٢٣٤: | ||
} | } | ||
/* Main page fixes */ | /* Main page fixes */ | ||
#mp-right .mp-bar { background: linear-gradient(to left, # | #mp-right .mp-bar { background: linear-gradient(to left, #b3ccff, white, white); } | ||
/* responsive styles for Main Page */ | /* responsive styles for Main Page */ | ||
@media(max-width: 1200px) { | @media(max-width: 1200px) { | ||
#mp-right, #mp-left { width: 100% | #mp-right, #mp-left { width: 100%; padding: 0; border: 0; background: transparent; } | ||
.mp-bar, #mp-right .mp-bar { background: # | .mp-bar, #mp-right .mp-bar { background: #b3ccff; } | ||
} | } | ||
#interwiki-completelist { | #interwiki-completelist { | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
body.page-صالصفحة_الرئيسية #mp-topbanner { | |||
clear: both; | |||
} | |||
body.page-صالصفحة_الرئيسية #ca-delete, | |||
body.page-صالصفحة_الرئيسية #deleteconfirm, | |||
body.page-صالصفحة_الرئيسية #t-cite, | |||
body.page-صالصفحة_الرئيسية #lastmod, | |||
body.page-صالصفحة_الرئيسية #siteSub, | |||
body.page-صالصفحة_الرئيسية #contentSub, | |||
body.page-صالصفحة_الرئيسية #catlinks, | |||
body.page-صالصفحة_الرئيسية h1.firstHeading, | |||
body.page-الصفحة_الرئيسية #centralNotice, | |||
body.page-درگاه_ورودی #siteSub, | |||
body.page-درگاه_ورودی h1.firstHeading { | |||
display: none; | |||
} | |||
body.page-صالصفحة_الرئيسية #ca-history, | |||
body.page-صالصفحة_الرئيسية #pagehistory { | |||
display: none; | |||
} | } | ||
مراجعة ٢٠:٢٥، ٢٦ سبتمبر ٢٠١٩
@font-face {
font-family: 'Samim';
src: url('/w/resources/fonts/Samim.eot');
src: url('/w/resources/fonts/Samim.eot?#iefix') format('embedded-opentype'),
url('/w/resources/fonts/Samim.woff') format('woff'),
url('/w/resources/fonts/Samim.ttf') format('truetype');
font-weight: normal;
}
@font-face {
font-family: 'me_quran';
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'),
url('/w/resources/fonts/me_quran.svg#me_quran') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'KFGQPCUthmanTahaNaskh';
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;
}
.arabic {
/*font-family: "uthmanic-hafs";*/
font-family:me_quran,Scheherazade,mry_KacstQurn,Tahoma;
font-size: 1.02em;
color: #000000c0;
}
.ayaFlag {
font-family: "Traditional Arabic","Times New Roman";
color: #215e21;
}
.ayaText {
color: #215e21;
}
.arabicText {
font-family: KFGQPCUthmanTahaNaskh;
font-size: 1.15em;
font-style: oblique;
font-synthesis: inherit;
font-weight: 500;
}
.hadithText {
font-family: KFGQPCUthmanTahaNaskh;
font-size: 1.15em;
font-style: oblique;
font-synthesis: inherit;
color: #215e21;
}
/* If is IE Edge/Windows 10, Arabic diacritics are broken so use Segoe UI as default font instead */
_:-ms-lang(x), _:-webkit-full-screen, body { font-family: 'Samim', Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; }
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 {
/* 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 */
.ui-widget, .ui-widget *, button, input, select, optgroup {
font-family: inherit;
}
/* end */
dfn {
font-style: inherit; /* Reset default styling for <dfn> */
}
sup, sub {
line-height: 1em; /* Reduce line-height for <sup> and <sub> */
}
/* صفحه اصلی */
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;
}
.selectedArticle { width: 100%; height: auto; text-align: justify; 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 irsans; position: relative; }
.boxTitle {
background: rgba(0,0,0,0) linear-gradient(to left,#c6defe,#f9f9f9,white) repeat scroll 0 0;
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;
}
.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;}
.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%;
}
#h3Title { font: 1.1em Samim; font-weight: normal; }
.headTitle { font-family: Samim; text-align: center; width: 90%; margin: 0 auto; margin-bottom: 40px; }
.fTitle, .sTitle { text-align: center; }
.fTitle p, .sTitle p { margin: 0; display: inline-block; padding: 0 5px;}
.fTitle { font: 31px Samim; color: #999;}
.fTitle .wikiNoorTitle, .sTitle .colored a { color: #0181A7; font-family: Samim; }
.sTitle { font: 16px Samim; color: #666; margin-bottom: 5px; border-bottom: 1px solid #e0e0e0; padding: 5px 0 10px 0;}
.fTitle p { border-bottom: 3px solid #e0e0e0; }
#p-logo { margin-top: 10px; }
.fTitle .wellcome {
display: inline-block;
border-bottom: 3px solid #e0e0e0;
}
.fTitle h1, .sTitle h2 {
display: inline;
font-size: 1em;
border: none;
color: #666;
}
.wikiInfo {
float: left;
width: 30%;
position: relative;
margin: 0.5em 2em 2em 0;
}
.wikiInfo > .thumb {
margin-left: 0;
margin-right: 0;
width: 100%;
}
.wikiInfo > .thumb > .thumbinner {
width: 100%;
box-sizing: border-box;
}
.wikiInfo > .thumb > .thumbinner img {
width: 100%;
height: auto;
}
.wikiInfo .wikitable {
width: 100%;
}
.wikiInfo .articleCode {
display: none;
}
.headMenus {
font-family: Samim;
border-bottom: 1px solid #e0e0e0;
}
.headMenus .headMenu {
display: inline-block;
font-size: 14px;
margin: 0 4px;
}
.headMenus .headMenu a {
color: #0181a7;
}
.wikiEditor-ui-toolbar .tabs, .wikiEditor-ui-toolbar .section-main {
height: auto;
}
.mw-content-rtl {
text-align: justify;
}
.boxHeader span{
font-family: Samim;
}
.readmoreButton {
background: #c6defe none repeat scroll 0 0;
border-radius: 6px;
margin: 15px 0 20px 0;
font-family: inherit;
font-size: 1em;
display: inline-block;
min-width: 4em;
max-width: 28.75em;
padding: 0.546875em 1em;
line-height: 1.286;
border-radius: 2px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: none;
/*display: inline;*/
zoom: 1;
vertical-align: middle;
color: #222222;
border: 1px solid #a7d7f9;
text-align: center;
font-weight: bold;
cursor: pointer;
}
/* Main page fixes */
#mp-right .mp-bar { background: linear-gradient(to left, #b3ccff, white, white); }
/* responsive styles for Main Page */
@media(max-width: 1200px) {
#mp-right, #mp-left { width: 100%; padding: 0; border: 0; background: transparent; }
.mp-bar, #mp-right .mp-bar { background: #b3ccff; }
}
#interwiki-completelist {
font-weight: bold;
}
body.page-صالصفحة_الرئيسية #mp-topbanner {
clear: both;
}
body.page-صالصفحة_الرئيسية #ca-delete,
body.page-صالصفحة_الرئيسية #deleteconfirm,
body.page-صالصفحة_الرئيسية #t-cite,
body.page-صالصفحة_الرئيسية #lastmod,
body.page-صالصفحة_الرئيسية #siteSub,
body.page-صالصفحة_الرئيسية #contentSub,
body.page-صالصفحة_الرئيسية #catlinks,
body.page-صالصفحة_الرئيسية h1.firstHeading,
body.page-الصفحة_الرئيسية #centralNotice,
body.page-درگاه_ورودی #siteSub,
body.page-درگاه_ورودی h1.firstHeading {
display: none;
}
body.page-صالصفحة_الرئيسية #ca-history,
body.page-صالصفحة_الرئيسية #pagehistory {
display: none;
}
/*[[قالب:صندوق المعلومات 2]]*/
.infobox_v2 {
background:#f9f9f9;
color:#000;
font-size:95%;
line-height:1.6em;
float:left;
clear:left;
border:1px solid #aaa;
}
.infobox_v2 th {
vertical-align:top;
text-align:left;
}
.infobox_v2 .entete {
vertical-align:middle;
text-align:center;
font-size:150%;
font-weight:bolder;
line-height:1.6em;
color:#000;
}
.infobox_v2 .media {
height:35px;
vertical-align:middle;
text-align:center;
font-weight:bolder;
color:#000;
}
.mw-body-content {line-height: 1.8;font-size: 0.9em;}
html, body { font-family:Samim }
.readmore .collapseButton {float:none !important}
/* ضخیم کردن قسمت اول جستجو بدون استفاده از قلم دیگر و شکاندن حروف چسپیده */
.highlight {
text-shadow: 0 -1px;
font-weight: inherit;
}
/* تغیرات فونت */
.mw-body-content {
line-height: 1.8;
font-size: 0.9em;
}
.mw-body, .parsoid-body {
color: #000000;
}
html, body {
font-family:Samim;
}
.readmore .collapseButton {
float:none
}
/* تغییر اندازه جعبه جستجو با قلم فارسی */
#simpleSearch {
height: 1.7em;
margin-top: 0.55em;
}
/* اصلاحات پوسته تایملس */
#p-logo-text a {
padding: 0 1em;
font-family: Samim;
}