مدیاویکی:Common.css

از شیعه دیتا

نکته: پس از انتشار ممکن است برای دیدن تغییرات نیاز باشد که حافظهٔ نهانی مرورگر خود را پاک کنید.

  • فایرفاکس / سافاری: کلید Shift را نگه دارید و روی دکمهٔ Reload کلیک کنید، یا کلید‌های Ctrl-F5 یا Ctrl-R را با هم فشار دهید (در رایانه‌های اپل مکینتاش کلید‌های ⌘-R)
  • گوگل کروم: کلیدهای Ctrl+Shift+R را با هم فشار دهید (در رایانه‌های اپل مکینتاش کلید‌های ⌘-Shift-R)
  • اینترنت اکسپلورر/ Edge: کلید Ctrl را نگه‌دارید و روی دکمهٔ Refresh کلیک کنید، یا کلید‌های Ctrl-F5 را با هم فشار دهید
  • اپرا: Ctrl-F5 را بفشارید.
@import url("//commons.wikishia.net/w/index.php?title=MediaWiki:RTL-Font.css&action=raw&ctype=text/css") screen;
@import url("//commons.wikishia.net/w/index.php?title=MediaWiki:RTL-Catrgory.css&action=raw&ctype=text/css") screen;
@import url("//commons.wikishia.net/w/index.php?title=MediaWiki:RTL-Infobox.css&action=raw&ctype=text/css") screen;
@import url("//commons.wikishia.net/w/index.php?title=MediaWiki:RTL-Messagebox.css&action=raw&ctype=text/css") screen;
@import url("//commons.wikishia.net/w/index.php?title=MediaWiki:RTL-Navbox.css&action=raw&ctype=text/css") screen;
@import url("//commons.wikishia.net/w/index.php?title=MediaWiki:RTL-Portals.css&action=raw&ctype=text/css") screen;
@import url("//commons.wikishia.net/w/index.php?title=MediaWiki:RTL-Hlist.css&action=raw&ctype=text/css") screen;
/*@import url("//commons.wikishia.net/w/index.php?title=MediaWiki:RTL-Common.css&action=raw&ctype=text/css") screen;*/

.m {
    font-style: normal;
    position: relative;
    padding-right: 1px;
    display: inline-block;
    -webkit-transform: skew(-12deg);
    -moz-transform: skew(-12deg);
    -ms-transform: skew(-12deg);
    -o-transform: skew(-12deg);
    transform: skew(-12deg);
	letter-spacing: 0.7px;
}

@media ( min-width: 43em ) {
	body.skin-vector #frame-welcome {
		background-image: url("//commons.wikishia.net/w/images/f/f0/Background-mainpage.png");
		background-repeat: no-repeat;
		background-position: -7px -57px;
		padding-left: 156px;
		/*background-size: 190px;*/
	}
}
@media ( min-width: 43em ) {
	body.skin-vector #frame-welcome2 {
		background-image: url("//commons.wikishia.net/w/images/9/92/Logo_MainPage.svg");
		background-repeat: no-repeat;
		background-position: -62px -38px;
		background-size: 300px;
		padding: 10px 42px 10px 164px;
	}
}

@media (max-width: 840px) {
	body.skin-vector #imgMainPage img {
	    max-width: 80%!important;
	    height: auto;
	    float: left;
	}
}

/*Farsi*/
body.page-صفحهٔ_اصلی #t-cite,
body.page-صفحهٔ_اصلی #siteSub,
body.page-صفحهٔ_اصلی #contentSub,
body.page-صفحهٔ_اصلی #catlinks,
body.page-صفحهٔ_اصلی #mw-hidden-catlinks,
body.page-صفحهٔ_اصلی #p-lang-btn,
/*body.page-صفحهٔ_اصلی .mw-references-wrap,*/
/*body.page-صفحهٔ_اصلی .vector-page-toolbar-container,*/
#footer-info {
	display: none !important;
}

body.page-صفحهٔ_اصلی #firstHeading {
	display: none !important;
}

.mp-frame {
	box-shadow: 0 0 .3em #999;
	border-radius: .2em;
	margin: 1em 0.5em 1em 0.5em;
	padding: 1px;
}
.mp-frame:after {
	display: block;
	content: "";
	clear: both;
}
.mp-frame-header {
	background-color: #888;
	border-radius: .2em;
	color: #fff;
	padding: .4em .8em .5em;
	font-weight: bold;
}
.mp-frame-header:before {
	display: inline-block;
	/* Add some content in order to get normal line height, then make it transparent */
	content: "x";
	color: transparent;
	width: 32px;
	opacity: .7;
	/* [[File:Wikidata-logo white.svg]] */
	background-image: url(https://commons.wikishia.net/w/images/4/48/Wikidata-logo_black.png);
	background-image: url(https://commons.wikishia.net/w/images/4/48/Wikidata-logo_black.png);
	background-size: 27px;
	background-repeat: no-repeat;
	/* this sometimes gets automatically flipped and sometimes doesn't, so disable the automatic flipping */
	/* @noflip */
	background-position: left center;
}
.mw-content-rtl .mp-frame-header:before {
	/* this sometimes gets automatically flipped and sometimes doesn't, so disable the automatic flipping */
	/* @noflip */
	background-position: right center;
}
.mp-frame-body {
	padding: 1em;
	text-align: justify;
}


.mw-pt-languages-label{
	display:none;
}

.mw-pt-languages-list{
	text-align: center!important;
}