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

من ويكي مصدر، المكتبة الحرة

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

  • فايرفوكس / سافاري: أمسك Shift أثناء ضغط Reload، أو اضغط على إما Ctrl-F5 أو Ctrl-R (⌘-R على ماك)
  • جوجل كروم: اضغط Ctrl-Shift-R (⌘-Shift-R على ماك)
  • إنترنت إكسبلورر/إيدج: أمسك Ctrl أثناء ضغط Refresh، أو اضغط Ctrl-F5
  • أوبرا: اضغط Ctrl-F5.
/** [[w:صفحات الطرز المتراصة|الطرز المتراصة]]... الموضوعة هنا سيتم تطبيقها على كل الواجهات  */
/* === الخطوط= ==*/
body, #firstHeading, button, select, option, input {
  font-family: Calibri, Arial, Amiri, sans-serif ;
}

.mw-editfont-monospace {
  font-family: 'Courier New', monospace;
}
/* </pre>
==={{[[قالب:مؤلف|مؤلف]]}}===
<pre> */
.authortemplate {
	width:100%;
	margin-bottom:5px;
	border:1px solid #BEA2A2;
	background:#E4D8D8;
}

.authortemplate .author_backlink, .authortemplate .author_forelink {
	width:20%;
	font-size:0.9em;
}

.authortemplate .author_name { 
	width:60%;
	text-align:center;
}

.author_notes {
	width:100%;
	border-bottom:1px solid #A88;
	background:#FFFBFC;
	font-size:0.9em;
}

.author_seealso {
	float:right;
	padding:2px;
	margin:0 0 0.5em 1em;
	border:1px solid #CCC;
}

/* </pre>

/*********
** أصناف التنسيق القياسية
*********/
/* صندوق رسائل */
.messagebox {
	width:80%;
	margin:0 auto 1em auto;
	padding:.2em;
	border:1px solid #AAA;
	background:#F9F9F9;
	text-align:justify;
}
.messagebox.standard-talk {
	border:1px solid #C0C090;
	background:#F8EABA;
}

/* الإشارة إلى الأخطاء كما في قالب:خطأ */
span.error1 {
  color: red;
  border-bottom: 1px dotted;
  cursor: help;
}

span.error2 {
  color: darkred;
  border-bottom: 1px dotted;
  cursor: help;
}

/* [[ويكي مصدر:فهرس/جدول]] */
table.prettytable {
	margin:1em 1em 1em 1em;
	background:#F9F9F9;
	border:1px #AAA solid;
	border-collapse: collapse;
}
table.prettytable th,
table.prettytable td {
	padding:0.2em;
	border:1px #AAA solid;
}
table.prettytable th {
	background:#FFFFCC;
	text-align:center;
}

/* Short lines preferred by some editors */
.prose {
	width:35em;
	margin:0px auto;
	text-align:justify;
}
/* <pre dir="ltr"> */


div#editpage-specialchars a
{
    text-decoration: none;
}
div#editpage-specialchars a:hover
{
    text-decoration: underline;
}

/*  */
.usermessage {
    vertical-align: middle;
}

/*  */
p.error
{
  font-weight:bold;
}

/*  */
span#URLSource
{
    direction: ltr;
    font-size: 1.2em;
    font-weight: bold;
}

/*  */
table.metadata
{
    float: right;
}

/*  */
span#edit-for-sysops
{
    display: none;
}

/*  */
div.sharedUploadNotice
{
    font-style: normal;
}

/*  */
div#shared-image-desc
{
    direction: ltr;
}

/*  */
input#wpUploadFile, input#wpDestFile, input#wpLicense
{
   float: right;
}

/* Default style for navigation boxes */
.navbox {                     /* Navbox container style */
	box-sizing: border-box;
	border: 1px solid #a2a9b1;
	width: 100%;
	clear: both;
	font-size: 88%;
	text-align: center;
	padding: 1px;
	margin: 1em auto 0;       /* Prevent preceding content from clinging to navboxes */
}

.navbox .navbox {
	margin-top: 0;            /* No top margin for nested navboxes */
}

.navbox + .navbox {
	margin-top: -1px;         /* Single pixel border between adjacent navboxes */
}

.navbox-inner,
.navbox-subgroup {
	width: 100%;
}

.navbox-group,
.navbox-title,
.navbox-abovebelow {
	padding: 0.25em 1em;      /* Title, group and above/below styles */
	line-height: 1.5em;
	text-align: center;
}

th.navbox-group {             /* Group style */
	white-space: nowrap;
	/* @noflip */
	text-align: right;
}

.navbox,
.navbox-subgroup {
	background-color: #fdfdfd; /* Background color */
}

.navbox-list {
	line-height: 1.5em;
	border-color: #fdfdfd;    /* Must match background color */
}

/* cell spacing for navbox cells */
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 */
}

.navbox th,
.navbox-title {
	background-color: #ccccff;      /* Level 1 color */
}

.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
	background-color: #ddddff;      /* Level 2 color */
}

.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
	background-color: #e6e6ff;      /* Level 3 color */
}

.navbox-even {
	background-color: #f7f7f7;      /* Even row striping */
}

.navbox-odd {
	background-color: transparent;  /* Odd row striping */
}

.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
	padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}

@media print {

   .navbox {
       display: none;
   }
}

/* ־Site Notice */
div#siteNotice
{
    padding-top: 5px;
    text-align: center;
}

/*  */

/* Support for Template:IPA, Template:Unicode and Template:Polytonic. The inherit declaration resets the font for all browsers except MSIE6.  The empty comment must remain. */
.IPA
{
    font-family: Chrysanthi Unicode, Doulos SIL, Gentium, GentiumAlt, Code2000, TITUS Cyberbit Basic, DejaVu Sans, Bitstream Vera Sans, Bitstream Cyberbit, Arial Unicode MS, Lucida Sans Unicode, Hiragino Kaku Gothic Pro, Matrix Unicode;
    font-family /**/:inherit;
}

/*  wikitable -prettytable  [[:en:MediaWiki:Common.css]] */
table.wikitable, table.prettytable
{
    background-color: #F9F9F9;
    border: 1px #aaaaaa solid;
    margin: 0 1em 1em 1em;
}
table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td
{
    border: 1px #aaaaaa solid;
    padding: 0.2em;
}

table.wikitable th, table.prettytable th
{
    background-color: #F2F2F2;
    text-align: center;
}
table.wikitable caption, table.prettytable caption
{
    margin-left: inherit;
    margin-right: inherit;
}

/*  */
.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-right: 1em;
   padding: 0.2em;
   float: left;
   clear: left;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

/* حل مشكلة عدم إمكانية الضغط على التصنيفات التي تحوي عددا في إنترنت إكسبلورر 6.0 */
* html div#catlinks
{
    position: static;
}

/*  */
@media print
{
    /*  */
    .printfooter
    {
        display: none;
    }
}


.audiolink a
{
    background: url("//upload.wikimedia.org/wikipedia/commons/f/f7/Loudspeaker.png") center right no-repeat !important;
    padding-left: 16px !important;
    padding-right: 0 !important;
}
html > body .audiolink a
{
    background: none !important;
    padding-left: 0 !important;
}

/* wikitable/prettytable class for skinning normal tables */

table.wikitable,
table.prettytable {
  margin: 1em 0 1em 1em;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}

table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
}

/* hiddenStructure from Monobook - allows selective hiding of markup in templates */
.hiddenStructure {
   display: none;
   speak: none;
}


/* كلاسات لقوالب النقاش */

.messagebox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   width: 80%;
   margin: 0 auto 1em auto;
   padding: .2em;
   text-align: justify;
}
.messagebox.merge {
   border: 1px solid #cf9fff;
   background-color: #f5edf5;
   text-align: center;
}
.messagebox.cleanup {
   border: 1px solid #9f9fff;
   background-color: #efefff;
   text-align: center;
}
.messagebox.standard-talk {
   border: 1px solid #c0c090;
   background-color: #f8eaba;
}
.messagebox.small-talk {
  width: 238px;
  font-size: 85%;
  float: left;
  clear: both;
  margin: 0 0 1em 1em;
  line-height: 1.25em; 
  background: #F8EABA;
}
/* {{featured}} */
 #cornerbox {
	position:absolute;
	top:0.3em;
	left:0.2em;
	border:1px solid #BBB;
	font-size:0.8em;
}

/* Infobox template style */

.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   /*align: left; هذا الخاصية غير موجودة وتعطي خطأ عند التحميل */
   float: left;
   clear: left;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

.infobox.sisterproject {
   width: 20em;
   font-size: 90%;
}
 /************************/
/*
** Logo properties with modified height value to meet the actual logo hieght, 165px.*/
 /************************/
#p-logo {
	height: 165px;
}

#p-logo a,
#p-logo a:hover {
	height: 165px;
}

/************************/
  /* CommonsTicker styles */
  /************************/
 
  /* links */
  .tickerDiffLink { } /* diff links in ticker */
  .tickerMiscLink { } /* misc links in ticker */
 
  /* remove list bullets */
  .tickerList ul,    .tickerList ul li    { list-style: none; text-indent:-2em; margin-right:2em;   text-align:right; }
  .tickerList ul ul, .tickerList ul ul li { list-style: none; text-indent:0;    margin-right:1.5em; text-align:right; }

  /* per-type styles */
  .tickerEntry_deleted     { }  /* entry for image deletion */
  .tickerEntry_restored    { }  /* entry for restored image */
  .tickerEntry_replaced    { }  /* entry for image replacement */
  .tickerEntry_tagged      { }  /* entry for adding/removing problem tags */
  .tickerEntry_redir       { }  /* entry for critical redirection (fot tag redirects) */
  .tickerEntry_recat       { }  /* entry for critical re-categorization (for tag categories) */
  .tickerEntry_notify      { }  /* entry for global notifications */
  .tickerEntry_changed     { }  /* entry for generic change */

  /* per-status styles */
  .tickerStatus_done     { text-decoration:line-through; }  /* strike through when entry has been handeled */

  /* per-action styles */
  .tickerAction_deleted:before     { content:" حذفت "; color: #FF0000; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_restored:before    { content:" استرجعت "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_deletedRev:before  { content:" -OLD "; color: #DDAAAA; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_replaced:before    { content:" استبدلت "; color: #CC88FF; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_replacedOwn:before { content:" حدثت "; color: #EEAAFF; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_addedBad:before    { content:" +حذف "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_removedBad:before  { content:" -حذف "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_addedGood:before   { content:" +OK  "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_removedGood:before { content:" -OK  "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }

  /* ticker usage list */
  .tickerUsage  { font-size:80%; }  

  /* entry applies to a template used by multiple images */
  .tickerTemplateEntry    { font-weight: bold; } 

  /* entry applies to sub-entries, i.e. images that use a specific template */
  .tickerSubEntry         { }                       

  /* minor entry styles */ 
  .tickerMinorEntry  { color:#666; }     /* minor entry */
  .tickerMinorEntry a,
  .tickerMinorEntry a:link,
  .tickerMinorEntry a:visited { color:#669; }
  #bodyContent .tickerMinorEntry a.extiw,
  #bodyContent .tickerMinorEntry a.extiw:link,
  #bodyContent .tickerMinorEntry a.extiw:visited { color:#669; }

/* لإظهار ماإذا كانت خلفية أي صورة شفافة */
#file img {background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;}

/* كلاسات للاستخدام مع المصادر */
ol.references {
    font-size: 100%;
}
.references-small { font-size: 90%;}
.references-2column {
    font-size: 90%;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
}
.same-bg { background: none; }
ol.references > li:target {
    background-color: #DEF;
}
sup.reference:target { 
    background-color: #DEF;
}
/* كلاس لخلفية شفافة */

.same-bg { background: none }

/* إخفاء عنوان الصفحة الرئيسية وأدوات متعلقة */
body.page-الصفحة_الرئيسية .firstHeading,
body.page-الصفحة_الرئيسية #catlinks,
body.page-الصفحة_الرئيسية #ca-delete,
body.page-الصفحة_الرئيسية #deleteconfirm,
body.page-الصفحة_الرئيسية #t-cite,
body.page-الصفحة_الرئيسية #lastmod,
body.page-الصفحة_الرئيسية #ca-move,
body.page-الصفحة_الرئيسية #siteSub,
body.page-الصفحة_الرئيسية #contentSub {
  display: none;
}

/* منع إظهار زر تحميل الملف */
#p-tb li#t-upload { display:none; }

.infobox_v2 { /* monobookocentré debut */
 background: #f9f9f9;
 color: #000;
 font-size:90%;
 line-height:1.1em; 
 float:left;
 clear:left;
 margin:0 0 .5em 1em; /* haut droite bas gauche */
 width:300px;
 border: 1px solid #aaa;
 padding: 0.1em;
}
 
.infobox_v2 th {
 vertical-align:top;
 text-align:left;
}
 
.infobox_v2 th a {
 color:black;  /* désactive la couleur des liens à gauche */
}
 
.infobox_v2 .entete {
 height:45px;
 vertical-align:middle;
 text-align:center;
 font-size:150%; 
 font-weight:bolder;
 line-height:1.2em;
 color:#000
}
 
.infobox_v2 .media { /* css V2 pour [[Modèle:Son]], [[Modèle:Vidéo]], etc. */
height:35px;
vertical-align:middle;
text-align:center;
font-weight:bolder;
color:#000
}

/* رسومات صندوق المعلومات 2 */
.entete.defaut       {}
 
.entete.bd           {background: url("//upload.wikimedia.org/wikipedia/commons/2/2c/Picto_infobox_comicballoon.png") no-repeat top right;}
.entete.biere        {background: url("//upload.wikimedia.org/wikipedia/commons/0/04/Picto_infobox_beer.png")         no-repeat top right;}
.entete.canada       {background: url("//upload.wikimedia.org/wikipedia/commons/6/6a/Picto_infobox_Canada.png")       no-repeat top right;}
.entete.cinema       {background: url("//upload.wikimedia.org/wikipedia/commons/e/ea/Picto_infobox_cinema.png")       no-repeat top right;}
.entete.communication       {background: url("//upload.wikimedia.org/wikipedia/commons/a/a2/Picto_infobox_antenna.png")      no-repeat top right;}
.entete.humain       {background: url("//upload.wikimedia.org/wikipedia/commons/8/82/Picto_infobox_manwoman.png")     no-repeat top right;}
.entete.jeuvideo     {background: url("//upload.wikimedia.org/wikipedia/commons/2/2d/Picto_infobox_gamepad.png")      no-repeat bottom right;}
.entete.map          {background: url("//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png")          no-repeat top right;}
.entete.musique      {background: url("//upload.wikimedia.org/wikipedia/commons/6/60/Picto_infobox_music.png")        no-repeat top right;}
.entete.persofiction {background: url("//upload.wikimedia.org/wikipedia/commons/3/37/Picto_infobox_masks.png")        no-repeat top right;}
.entete.quebec       {background: url("//upload.wikimedia.org/wikipedia/commons/2/21/Picto_infobox_Quebec.png")        no-repeat top right;}
.entete.sport        {background: url("//upload.wikimedia.org/wikipedia/commons/8/8e/Picto_infobox_Olympic.png")     no-repeat top right;}
.media.audio {background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/35px-Gnome-speakernotes.png") no-repeat top left;} 
.media.video {background: url("//upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/35px-Tango-video-x-generic.png") no-repeat top left;}
.entete.science-fiction        {background: url("//upload.wikimedia.org/wikipedia/commons/e/ed/Picto_infobox_fliyingsaucer.png")     no-repeat top right;} 
.entete.theatre           {background: url("//upload.wikimedia.org/wikipedia/commons/3/37/Picto_infobox_masks.png") no-repeat top right;}
.entete.auteur        {background: url("//upload.wikimedia.org/wikipedia/commons/1/1e/Picto_infobox_auteur.png")         no-repeat top right;}
 
/* نهاية صندوق المعلومات 2*/ /* monobookocentré fin */

/* رسوم الصفحة الرئيسية */
@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 right; }
#EnWpMpSearchInner { float: right; width: 20em; text-align: center; }
#EnWpMpBook2 { background-image: url(//upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png); }
 


/* كلاس لقوالب التوضيح. انظر مثلاً [[قالب:رئيسي]] ، [[قالب:رسالة توضيح]] ، ، ، */
.dablink {
  font-style:italic;
  padding-right:2em;
}

.allpagesredirect {
    font-style: italic;
}

/* Article message box template styles */
table.ambox {
    margin: 0 10%;
    border-collapse: collapse; 
    background: #fbfbfb; 
    border: 1px solid #aaa; 
    border-right: 10px solid #1e90ff;
}

table.ambox th.ambox-text, table.ambox td.ambox-text {      /* The message body cell(s) */
    padding: 0.25em 0.5em;            /* 0.5em left/right */
    width: 100%;                      /* Make all templates the same width regardless of text size */
}
table.ambox td.ambox-image {          /* The right image cell */
    padding: 2px 0px 2px 0.5em;       /* 0.5em left, 0px right */
    text-align: center; 
}
table.ambox td.ambox-imageright {     /* The right image cell */
    padding: 2px 4px 2px 0px;         /* 0px left, 4px right */
    text-align: center; 
}
table.ambox-notice {
    border-color: #77ccff;     /* Blue */
}
table.ambox-delete,
table.ambox-serious {
    border-color:  #b22222;     /* Red */
}
table.ambox-content {
   border-color:  #f28500;     /* Orange */
}
table.ambox-style {
    border-color:  #f4c430;     /* Yellow */
}
table.ambox-merge {
    border-color:  #9932cc;     /* Purple */
}
table.ambox-protection {
    border-color:  #bba;        /* Gray */
}

table.ambox.ambox-mini {                 /* small floating box variant */
    float: right;
    clear: right;
    margin: 0 0 0 1em;
    width: 25%;
}

html > body div#bodyContent ol {
        display: block;
}

/* default skin for navigation boxes */
table.navbox {            /* navbox container style */
  border:1px solid #aaa;
  width:100%; 
  margin:auto;
  clear:both;
  font-size:88%;
  text-align:center;
  padding:1px;
}
table.navbox + table.navbox {
  margin-top:-1px;        /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
}
.navbox-title, .navbox-abovebelow, table.navbox th {
  text-align:center;      /* title and above/below styles */
  padding-left:1em;
  padding-right:1em;
}
.navbox-group {           /* group style */
  white-space:nowrap;
  text-align:left;
  font-weight:bold;
  padding-left:1em;
  padding-right:1em;
}
.navbox, .navbox-subgroup {
  background:#fdfdfd;     /* Background color */
}
.navbox-list {
  border-color:#fdfdfd;   /* Must match background color */
}
.navbox-title, table.navbox th {
  background:#ccccff;     /* Level 1 color */
}
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
  background:#ddddff;     /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
  background:#e6e6ff;     /* Level 3 color */
}
.navbox-subgroup {
  padding-right: 2px;
}
.navbox-even {
  background:#f7f7f7;     /* Even row striping */
}
.navbox-odd {
  background:transparent; /* Odd row striping */
}

/* [[en:MediaWiki:Common.css]] من أجل قالب مرجع
   The legacy implementation of this was with "plainlinksneverexpand", which
   also simulated "plainlinks".  "plainlinksneverexpand" is deprecated and 
   should be replaced with "plainlinks nourlexpansion".  When this has been
   done, the rules below can be removed.
*/
.plainlinksneverexpand a {
    background: none !important;
    padding: 0 !important;
}
.plainlinksneverexpand a.external.text:after,
.plainlinksneverexpand a.external.autonumber:after {
    display: none !important;
}
#p-coll-create_a_book { display: none; }
  
/* Quality from English Wikisource */
.quality4 {
        background:#90ff90;
}
 
.quality3 {
        background:#ffe867;
}
 
.quality2 {
        background:#b0b0ff;
}
 
.quality1 {
        background:#ffa0a0;
}
/**
 * Style for horizontal lists (separator following item).
 * @source https://www.mediawiki.org/wiki/Snippets/Horizontal_lists
 * @revision 9 (2016-08-10)
 * @author [[User:Edokter]]
 */
.hlist dl,
.hlist ol,
.hlist ul {
	margin: 0;
	padding: 0;
}

/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
	/* don't trust the note that says margin doesn't work with inline
	 * removing margin: 0 makes dds have margins again */
	margin: 0;
	display: inline;
}

/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl,
.hlist dl ol,
.hlist dl ul,
.hlist ol dl,
.hlist ol ol,
.hlist ol ul,
.hlist ul dl,
.hlist ul ol,
.hlist ul ul {
	display: inline;
}

/* Hide empty list items */
.hlist .mw-empty-li,
.hlist .mw-empty-elt {
	display: none;
}

/* Generate interpuncts */
.hlist dt:after {
	content: ": ";
}

.hlist dd:after,
.hlist li:after {
	content: " · ";
	font-weight: bold;
}

.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
	content: none;
}

/* Add parentheses around nested lists */
.hlist dd dd:first-child:before,
.hlist dd dt:first-child:before,
.hlist dd li:first-child:before,
.hlist dt dd:first-child:before,
.hlist dt dt:first-child:before,
.hlist dt li:first-child:before,
.hlist li dd:first-child:before,
.hlist li dt:first-child:before,
.hlist li li:first-child:before {
	content: " (";
	font-weight: normal;
}

.hlist dd dd:last-child:after,
.hlist dd dt:last-child:after,
.hlist dd li:last-child:after,
.hlist dt dd:last-child:after,
.hlist dt dt:last-child:after,
.hlist dt li:last-child:after,
.hlist li dd:last-child:after,
.hlist li dt:last-child:after,
.hlist li li:last-child:after {
	content: ")";
	font-weight: normal;
}

/* Put ordinals in front of ordered list items */
.hlist ol {
	counter-reset: listitem;
}

.hlist ol > li {
	counter-increment: listitem;
}

.hlist ol > li:before {
	content: " " counter(listitem) "\a0";
}

.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
	content: " (" counter(listitem) "\a0";
}

.script-arabic {
  font-family: Amiri, "Sakkal Majalla", Arial !important;
}

/* ضبط الحواشي */
.reference a::after {
  content: ']';
}

.reference a::before {
  content: '[';
}

.ref-arabic-indic .reference a::after {
  content: ')';
}

.ref-arabic-indic .reference a::before {
  content: '(';
}

.reflist-arabic-indic .references li::marker {
  content: '(' counter( mw-references, arabic-indic ) ')';
}

/*=============مسافة بادئة لفقرات النطاق الرئيسي ==============*/
.ns-0 .mw-parser-output p {
  text-indent: 2em;
  text-align:justify;
}
.ns-0.page-الصفحة_الرئيسية .mw-parser-output p {
  text-indent: 0;
}

/*===== نطاق الصفحة =====*/
.pagetext {
  position: relative;
  /* max-width: 36em; */
  text-align: justify;
}
.pagetext p {
  text-indent: 2em
}
.pagetext > .mw-parser-output > p:first-of-type {text-indent:0;}

/* =========== صندوق الرموز أسفل صندوق التحرير  =========== */
#specialchars {
  margin-top: 10px !important;
  border: 1px solid #C0C0C0 !important;
  text-align: right !important;
  background-color: #f0f0f0;
  font-family: tahoma;
  font-size: 13px;
  max-width: none !important;
  width: auto !important;
  padding: 0 10px !important;
}

#specialchars a:active {
  position: relative !important;
  top: 2px !important;
}

#specialchars a:hover {
  color: #C0C0C0;
}

#specialchars p {
  font-size: 11px;
  line-height: 18px;
}

/* === تنسيق الإعلانات ==== */
.mw-dismissable-notice {
	position: relative;
}
.mw-dismissable-notice-close {
  position: absolute;
  top: 6px;
  z-index: 1;
  opacity: .6;
  background: #eaecf0;
  border-radius: 20%;
  padding: 3px;
  transition: all .1s ease-in-out;
  left: 6px;
  margin: 0;
}

.mw-dismissable-notice-close:hover {
	opacity: 1;
}

.mw-dismissable-notice-close a{
  background: linear-gradient(transparent,transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Eclose%3C/title%3E%3Cpath d=%22M4.34 2.93l12.73 12.73-1.41 1.41L2.93 4.35z%22/%3E%3Cpath d=%22M17.07 4.34L4.34 17.07l-1.41-1.41L15.66 2.93z%22/%3E%3C/svg%3E");
  width: 20px;
  height: 20px;
  display: block;
}

.sitedir-rtl .mw-dismissable-notice-body {
	margin:0;
}