ميدياويكي:Common.css

من إمامةبيديا

ملاحظة: بعد النشر، أنت قد تحتاج إلى إفراغ الكاش الخاص بمتصفحك لرؤية التغييرات.

  • فايرفوكس / سافاري: أمسك Shift أثناء ضغط Reload، أو اضغط على إما Ctrl-F5 أو Ctrl-R (⌘-R على ماك)
  • جوجل كروم: اضغط Ctrl-Shift-R (⌘-Shift-R على ماك)
  • إنترنت إكسبلورر/إيدج: أمسك Ctrl أثناء ضغط Refresh، أو اضغط Ctrl-F5
  • أوبرا: اضغط Ctrl-F5.
/* صفحه اصلی */
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;
}