MediaWiki:RTL-Common.css

From wikishia

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
body.rtl .sidebar-toc {
    font-size: medium;
}

.zoomonhover {
	position: relative;
	float: left;
	clear: left;
}
.zoomonhovertext {
	display: none;
	z-index: 1000;
}
.zoomonhoverimageabove {
	position: absolute;
	left: 0px;
	top: 0px;
	display: none;
	z-index: 100;
	max-width: initial;
}
.zoomonhover:hover .zoomonhoverimageabove {
	z-index: 10;
	display: block;
	background-color:white; /* in case of files with transparent background */
}
.zoomonhover:hover .zoomonhovertext {
	display: block;
	transition: .7s;
	position: relative;
}

table img {
	height: auto
}
  .collapseButton {
	margin: 0.25em 0 0 1.2em;
}
  /* الگو:شعر۲ */
table.poem {
	padding: 1em
}

/* تراز راست برای پیوند «ویرایش پیوندهای میان‌ویکی» در نوار کناری پوستهٔ وکتور جدید */
.wb-langlinks-link {
	text-align : right;
}

/* Make the list of references in [[Template:Reflist]] smaller */
.references-small { 
	font-size: 90%;
}

/* Highlight clicked reference in blue to help navigation */
ol.references > li:target,
sup.reference:target,
span.citation:target, cite:target { 
	background-color: #ecf0fa;
}

/* Ensure refs in table headers and the like aren't bold or italic */
sup.reference {
	font-weight: normal;
	font-style: normal;
}

/* Styling for citations */
span.citation, cite {
	word-wrap: break-word;
}

/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
cite:target { 
	background-color: #ecf0fa;
}

/* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */

@media screen, handheld, projection {
	cite *.printonly {
		display: none;
	}
}

.skin-vector .hlist dl {
	line-height: 1.5em;
}

/* فهرست بدون گلوله */
.plainlist ul {
	line-height: inherit;
	list-style: none none;
	margin: 0;
}
.plainlist ul li {
	margin-bottom: 0;
}

/* Normal font styling for table row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row] {
	font-weight: normal;
	/* @noflip */
	text-align: right;
}
 
/* Lists in data cells are always left-aligned */
html[dir=rtl] .wikitable td ul,
html[dir=rtl] .wikitable td ol,
html[dir=rtl] .wikitable td dl {
	/* @noflip */
	text-align: right;
}
/* ...unless they also use the hlist class */
html[dir=rtl] .wikitable.hlist td ul,
html[dir=rtl] .wikitable.hlist td ol,
html[dir=rtl] .wikitable.hlist td dl {
	text-align: inherit;
}

/* Persondata and other (future) metadata */
table.InChI, /* temporary */
table.persondata {
	border: 1px solid #a2a9b1;
	display: none;
	speak: none;
}
.InChI-label, /* temporary */
.persondata-label {
	color: #a2a9b1;
}

/* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */
div.listenlist {
	background: url("//upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png");
	/* @noflip */
	padding-right: 40px;
}

div.videolist, div.multivideolist {
	background: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
	padding-right: 50px;
}

/* Change the external link icon to an Adobe icon for all PDF files
   in browsers that support these CSS selectors, like Mozilla and Opera */
.mw-body a[href$=".pdf"].external,
.mw-body a[href*=".pdf?"].external,
.mw-body a[href*=".pdf#"].external,
.mw-body a[href$=".PDF"].external,
.mw-body a[href*=".PDF?"].external,
.mw-body a[href*=".PDF#"].external,
div#mw_content a[href$=".pdf"].external,
div#mw_content a[href*=".pdf?"].external,
div#mw_content a[href*=".pdf#"].external,
div#mw_content a[href$=".PDF"].external,
div#mw_content a[href*=".PDF?"].external,
div#mw_content a[href*=".PDF#"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
	/* @noflip */
	padding-left: 18px;
}

/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
span.PDFlink a {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") center left no-repeat !important;
	padding-left: 18px !important;
}

/* Content in columns with CSS instead of tables [[Template:Columns]] */
div.columns-2 div.column {
	/* @noflip */
	float: right;
	width: 50%;
	min-width: 300px;
}

div.columns-3 div.column {
	/* @noflip */
	float: right;
	width: 33.3%;
	min-width: 200px;
}

div.columns-4 div.column {
	/* @noflip */
	float: right;
	width: 25%;
	min-width: 150px;
}

div.columns-5 div.column {
	/* @noflip */
	float: right;
	width: 20%;
	min-width: 120px;
}

.plainlinksneverexpand {
	background: none ! important;
	padding: 0 ! important;
}

.plainlinksneverexpand .urlexpansion {
	display: none ! important;
}

.plainlinksneverexpand a {
	background: none !important;
	padding: 0 !important;
}

/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
	display: none;
}

/* Put a checker background at the image description page only visible if the image has transparent background */
#file img {
	background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}

#wpSave {
	font-weight: bold;
}

.check-icon a.new {
	display: none; 
	speak:none;
}

/* Removes underlines from links */
.nounderlines a { 
	text-decoration: none;
}

/* Remove underline from IPA links */
.IPA a:link, .IPA a:visited {
	text-decoration: none;
}

/* Removes useless links from printout */
@media print {
	#privacy, #about, #disclaimer {display:none;}
}

#EnWpMpBook { background-image: url(//upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png); }
#EnWpMpSearch { background: url(//upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top left; }
#EnWpMpSearchInner { float: left; width: 20em; text-align: center; }
#EnWpMpBook2 { background-image: url(//upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png); }

/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */

div.Boxmerge,
div.NavFrame {
	margin: 0px;
	padding: 4px;
	border: 1px solid #a2a9b1;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%;
}
div.Boxmerge div.NavFrame {
	border-style: none;
	border-style: hidden;
}
div.NavFrame + div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
div.NavPic {
	background-color: #fff;
	margin: 0px;
	padding: 2px;
	float: right;
}
div.NavFrame div.NavHead {
	height: 1.6em;
	font-weight: bold;
	background-color: #b3ccff;
	position:relative;
}
div.NavFrame div.NavHead:hover {
	background-color: #aaf;
}
div.NavFrame p {
	font-size: 100%;
}
div.NavFrame div.NavContent {
	font-size: 100%;
}
div.NavFrame div.NavContent p {
	font-size: 100%;
}
div.NavEnd {
	margin: 0px;
	padding: 0px;
	line-height: 1px;
	clear: both;
}
a.NavToggle {
	position:absolute;
	top:0px;
	left:3px;
	font-weight:normal;
	font-size:smaller;
}

/* Hatnotes and disambiguation notices */
.rellink,
.dablink,
.hatnote {
	font-style: italic;
}
.rellink i,
.dablink i,
.hatnote i {
	font-style: normal;
}
div.rellink,
div.dablink,
div.hatnote {
	/* @noflip */
	padding-right: 1.6em;
	margin-bottom: 0.5em;
}

span.updatedmarker {
	background-color: transparent;
	color: #006400;
}

/* Coloured watchlist numbers */
.mw-plusminus-pos {
	color: #006400; /* darkgreen */
}

/* .mw-plusminus-null currently at developer default */

.mw-plusminus-neg {
	color: #8B0000; /* darkred */
}

.dablink {
	font-style: italic;
	padding-right: 2em;
}

.dablink i {
	font-style: normal;
}

/* Style for horizontal UL lists */
.horizontal ul {
	padding: 0;
	margin: 0;
}

.horizontal li { 
	padding: 0 0.6em 0 0.4em;
	display: inline;
	border-left: 1px solid;
}

/* Geographical coordinates */

.geo-default { display: inline; }
.geo-nondefault { display: none; }
.geo-dms { display: inline; }
.geo-dec { display: inline; }
.geo-multi-punct { display: none; }

.longitude .latitude {
	white-space: nowrap;
}

/***** end Geo-related */

/* When <div class="nonumtoc"> is used on the table of contents, the ToC will display without numbers */
.nonumtoc .tocnumber { display:none; }
.nonumtoc #toc ul,
.nonumtoc .toc ul {
	line-height: 1.5em;
	list-style: none;
	margin: .3em 0 0;
	padding: 0;
}
.nonumtoc #toc ul ul, 
.nonumtoc .toc ul ul { 
	margin: 0 0 0 2em; 
}

/* Allow transcluded pages to display in lists rather than a table. Compatible in Firefox; incompatible in IE6. */
.listify td {display:list-item;}
.listify tr {display:block;}
.listify table {display:block;}

div.user-block {
	padding: 5px;
	border: 1px solid #a2a9b1;
	background-color: #fee7e6;
}
/* Prevent line breaks in silly places: 
   1) links when we don't want them to
   2) HTML formulae
   3) Ref tags with group names <ref group="Note"> --> "[Note 1]"
*/
.nowrap,
.nowraplinks a,
span.texhtml,
sup.reference a { white-space: nowrap; }

/* Contents of <math> tag should have an ltr layout */
span.texhtml {
	direction: ltr;
	unicode-bidi: isolate;
}

.thumbinner {
	min-width: 180px;
}

/* Reduce line-height for <sup> and <sub> */
sup, sub {
	line-height: 1em;
}

/* Selectively hide headers in WikiProject banners */
/* TemplateStyles */
.wpbs-inner .wpb .wpb-header {
	display: table-row;
}

/* Styling for Abuse Filter tags */
.mw-tag-markers {
	font-style:italic;
	font-size:90%;
}

/* Für <nowiki><hiero>…</hiero></nowiki> */ 
.mw-hierotable, .hierotable-mw, 
.mw-hierotable  th, .hierotable mw-th, 
.mw-hierotable  td, .hierotable mw-td { 
	border: 0px;
	padding: 0px;
}
/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion"
   following the anchor A, the anchor itself now has class "external autonumber" and the
   expansion is inserted when printing (see the common printing style sheet at
   //en.wikipedia.org/w/skins/common/commonPrint.css) using the ":after" pseudo-
   element of CSS. We have to switch this off for links due to Template:Ref!
*/
.plainlinksneverexpand a.external.text:after {
	display: none !important;
}
.plainlinksneverexpand a.external.autonumber:after {
	display: none !important;
}
/* for Main Page */
.globegris {
	background: url(//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png);
}
/* End */

.prefsection fieldset {
	float: right;
}

/* Small font-size for hidden categories */
#mw-hidden-catlinks { font-size: 87% !important; }

.listify {
	margin-left:0;
	margin-right:2em;
}
#wpFilterRules {
	direction: ltr;
}

/* این نیز باگ است که وقتی عنوان یک بخش انگلیسی است، فارسی درون خلاصهٔ ویرایش در تاریخچه به هم می‌ریزد */
.comment > span { unicode-bidi: normal; }

/* نمایش بهتر خلاصه ویرایش‌های خیلی طولانی */
.comment {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* زیاد کردن اندازهٔ توضیحات صفحهٔ بارگذاری */
#wpUploadDescription {
	height: 25em;
}

/*ابزار پررنگ کنندهٔ نظرهای کاربر*/
.mycomment { background: #ff9; }

/* Pie chart test: Transparent borders */
.transborder {
	border: solid transparent;
}

/* Hide edittools base for those not using the gadget */
#mw-edittools-charinsert {
	display: none;
}

/* Category tree styling. Works in conjuction with [[MediaWiki:Categorytree-expand-bullet]],
   [[MediaWiki:Categorytree-collapse-bullet]] and [[MediaWiki:Categorytree-empty-bullet]]. */
#mw-subcategories ul {
	list-style: none none;
	margin-left: 0.25em;
}
.CategoryTreeChildren {
	margin-left: 1.25em;
}
.CategoryTreeToggle {
	color: #36c;
}
.CategoryTreeEmptyBullet {
	color: #c8ccd1;
}

/*اصلاح اندازه فونت در تغییرات اخیر برای [ویرایش‌های در حال انتظار] برگرفته از ویکی‌روسی*/
.mw-fr-reviewlink, .fr-hist-basic-user, .fr-hist-basic-auto {
	font-weight: normal;
	font-size: smaller;
}

/* temporary fix for T86979 */
.ui-dialog { right: auto; }

/* Make it possible to hide checkboxes in <inputbox> */
.inputbox-hidecheckboxes form .inputbox-element {
	display: none !important;
}

/* این برچسپ بهتر است فقط برای Gadget-taghighlighter.css را فعال کرده اند دیده شوند */
.mw-tag-marker-نیازمند_بازبینی { display: none; }

/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .mw-special-Watchlist #watchlist-message {
	display: none;
}

/* Make the textarea pink when an admin is editing a protected page */
.mw-textarea-protected {
	background-color: #fee7e6;
}

/* Made diffs use Wikimedia UI color palette ([[phab:M82]]) */
td.diff-addedline {
	border-color: #36c;
}
td.diff-deletedline {
	border-color: #fc3;
}
td.diff-addedline .diffchange {
	background: #e9eef9;
}
td.diff-deletedline .diffchange {
	background: #fff4d6;
}

/* Spacing between the rows of navbox */
tr + tr > .navbox-abovebelow,
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list {    /* Borders above 2nd, 3rd, etc. rows */
	border-top: 2px solid #fdfdfd; /* Must match background color */
}
/* End of Spacing between the rows of navbox */

/* Color diff links */
.mw-diff-edit a {
	color: #2a4b8d;
}

.mw-diff-undo a, .mw-history-undo a, .mw-rollback-link a {
	color: #d33;
}

a.mw-thanks-thank-link {
	color: #14866d;
}

/* Make sure cite and dfn are not italicized thorugh the user agent stylesheet */
cite, dfn {
	font-style:inherit;
}

/* LTR citations should be listed LTR and be left-aligned, as is the case in Persian literature */
LI.mw-cite-dir-ltr {
	direction: ltr;
	margin-left: 2.3em;
	text-align: left;
	list-style-type: decimal !important;
}

/* However, sometimes users combine LTR and RTL refs and wrap the <references/> tag in a DIV that is LTR.
   In those cases, don't add a margin-left for the LI element, so the LTR and RTL numbersing are aligned. */
DIV.mw-content-ltr>OL>LI.mw-cite-dir-ltr {
	margin-left: 0;
}

/* OL with Persian alphabet used for its counter */
@counter-style persian-alpha {
	system: cyclic;
	symbols: "\627\644\641" "\628" "\67E" "\62A" "\62B" "\62C" "\684" "\62D" "\62E" "\62F" "\630" "\631" "\632" "\698" "\633" "\634" "\635" "\636" "\637" "\638" "\639" "\63A" "\641" "\642" "\6A9" "\6AB" "\644" "\645" "\646" "\648" "\6BE" "\6CC";
	suffix = " ";
}

.reflist-persian-alpha ol:lang( fa ) li {
	list-style-type: persian-alpha !important;
	direction: rtl;
	text-align: right;
	margin-left: 0;
}

/* Right margin for left-aligned tables */
table[align="left"] {
	margin-right: 1.2em;
}

/* Center aligning wikitables should be as easy as using align=center */
table.wikitable[align="center"] {
	margin-right: auto;
	margin-left: auto;
}

.mw-indicator, .mw-helplink, .mw-indicator-pp-default {
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Temporary fix for Template:Allow_wrap until T283071 is fixed */
.wrap {
  white-space: normal;
}

.catlinks, .vector-language-sidebar-alert, .sistersitebox {
	border-radius: 4px;
}
/* end of wikipedia fa */

 /*	start Disigned by Alavi nsab */

.vector-body p {
	line-height: 2;
	text-align: justify;
}

.mw-sidebar-action .mw-sidebar-action-item {
  display: none;
}

:target {
  background-color: #def;
}

.mw-editform #wpTextbox1 {
	font-family: iransansxlight;
	font-size: inherit;
    /*background-color: #424242;*/
    /*color: honeydew;*/
	line-height: 2;
	margin: 0;
	display: block;
	max-height: 100vh;
	min-height: 5em;
	height: 37em;
}
/* اسکرول سایت */
.scroller::-webkit-scrollbar{
	width:4px;height:4px;
}
.scroller::-webkit-scrollbar-track{
	background:#f1f1f1;
}
.scroller::-webkit-scrollbar-thumb{
	background:#b6babe;
}
.scroller::-webkit-scrollbar-thumb:hover{
	background:#555;
}
.scroller{
	scrollbar-width:thin;
	scrollbar-color:#b6babe #bfc8bf1c;
}

.vector-menu-portal .vector-menu-heading {
    font-weight: bold;
}

#footer-poweredbyico, #footer-places-privacy, #footer-places-disclaimer{
    display: none;
}

@media ( max-width: 450px ) {
	body.skin-vector .template-calendar {
		width: 100%!important;
	}
}

.vector-body ul {
	line-height: 2;
}

/*جذف تکذیب نامه در انتهای صفحه*/
#footer-places-disclaimers{
	display:none;
}