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

من موسوعة المزرعة
اذهب إلى التنقل اذهب إلى البحث

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

  • فايرفوكس / سافاري: أمسك Shift أثناء ضغط Reload، أو اضغط على إما Ctrl-F5 أو Ctrl-R (⌘-R على ماك)
  • جوجل كروم: اضغط Ctrl-Shift-R (⌘-Shift-R على ماك)
  • إنترنت إكسبلورر: أمسك Ctrl أثناء ضغط Refresh، أو اضغط Ctrl-F5
  • أوبرا: اذهب إلى Menu → Settings (Opera → Preferences على ماك) ثم إلى Privacy & security → Clear browsing data → Cached images and files.
/* الأنماط المتراصة CSS المعروضة هنا ستؤثر على كل الواجهات */
@import url(//fonts.googleapis.com/earlyaccess/notokufiarabic.css);

html,
body,
#content h1,
#content h2,
#content #firstHeading,
.mw-body .mw-editsection,
.mw-body .mw-editsection-like,
.ui-widget,
.mw-body #toc h2,
.mw-body .toc h2,
.flow-topic-title,
h2.flow-board-header-title,
.mw-collapsible-toggle,
.mw-collapsible-toggle > a,
.CategoryTreeToggle,
.CategoryTreeEmptyBullet,
.NavToggle {
  font-family: Arial;
}

.flow-board-header-title {
  font-family: inherit !important;
}
/*تصحيح اتجاه الكتابة لنقاشات فلو وغيرها*/
.flow-component p,
.flow-component h2,
.mw-twocolconflict-split-editable {
  unicode-bidi: plaintext;
}

button,
input,
select,
option {
  font-family: inherit !important;
  font-size: 100% !important;
}

.mw-content-rtl ul,
.mw-content-ltr .mw-content-rtl ul {
  margin-right: 1.4em;
}

.mw-geshi div,
.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript,
pre.source-lua,
#wpTextbox1,
textarea,
code,
pre {
  font-family: monospace, courier;
  font-size: 95%;
}

option,
optgroup {
  font-family: unset !important;
}

i,
em,
dfn,
var,
cite,
input,
[style="font-style:italic"],
.m {
  letter-spacing: 0.7px;
}

.suggestions-special .special-query {
  font-style: normal !important;
}

.suggestions-special .special-query:after {
  content: "“";
  font-weight: 700;
}

.suggestions-special .special-query:before {
  content: "”";
  font-weight: 700;
}

.vector-menu h3 span {
  padding-top: 1em !important;
}

#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-editsection-bracket {
  margin: 0 !important;
}

.mw-editsection-divider {
  margin: 0 -3px;
}

.mw-editsection-expanded .mw-editsection-link-primary {
  margin-right: 0.25em;
}

.mw-editsection-expanded .mw-editsection-link-secondary {
  margin-left: 0.25em;
}

.mw-body-content {
  font-size: 0.92em;
}

#mw-content-text > #toc {
  max-width: 50% !important;
}

/*زيادة المسافة بين السطور في متن الصفحة، وفي العناوين وجدول المحتوبات*/
body,
p,
ul,
ol,
dd,
#bodyContent,
div#bodyContent,
h1,
h2,
.firstHeading,
#firstHeading,
#toc ul,
.toc ul {
  line-height: 1.6em;
}

/*https://phabricator.wikimedia.org/T182319 */
sub,
sup {
  line-height: 1.3em;
}

/*جعل صندوق التحرير أقصر*/
#wpTextbox1,
#sandbox-js-area,
#sandbox-css-area {
  height: 20em;
}

/*تقليل الفراغ بين وصلات التصنيفات ونهاية المحتوى*/
.catlinks {
  margin-top: 0.3em;
}

/*boxes*/
.infobox,
.infobox_v2,
.vertical-navbox,
.hatnote,
.إعلام {
  font-size: 95%;
  background-color: #f9f9f9;
  border: solid 1px #C0C0C0;
}

.إعلام {
  padding: 5px !important;
  margin: 2px 0;
}

.infobox,
.infobox_v2,
.vertical-navbox,
.صغير,
.small-talk,
.mbox-small,
.sisterproject,
.hiddenimg {
  clear: left;
  float: left;
}

table + div.commonscat,
.إعلام:not(.صغير) + div.commonscat {
  display: block;
  width: unset !important;
  float: unset !important;
  margin: 2px 0 !important;
}

.infobox,
.infobox_v2,
.vertical-navbox {
  width: 280px !important;
  margin: 1px 1em 1px 0 !important;
}

.صغير,
.small-talk,
.mbox-small,
.sisterproject,
.hiddenimg {
  width: 238px !important;
  margin: 0 2px 2px 0 !important;
}

.إعلام small {
  font-size: 100% !important;
}

.إعلام img {
  max-width: 25px !important;
  max-height: 25px !important;
}

.إعلام > .صورة {
  padding: 5px 1px 5px 3px;
}

/*tl:superimpose*/
إعلام > .صورة * {
  display: inline;
}

.حذف {
  border-color: #b22 !important;
}

.محتوى {
  border-color: #f28500 !important;
}

.أسلوب {
  border-color: #f4c430 !important;
}

.نقل {
  border-color: #8c08a4 !important;
}

.حماية {
  border-color: #bba !important;
}

.جاري {
  border-color: #A5D6A7 !important;
}

.إعلام:empty,
.مخفي {
  display: none;
}

/*قالب:توضيح
*/
.disambig .references:before {
  content: "مراجع";
  color: rgb(255, 255, 255);
  color: rgba(0, 0, 0, 0.35);
  background: none;
  font-weight: 400;
  margin: 0;
  overflow: hidden;
  padding-top: 0.5em;
  padding-bottom: 0.17em;
  border-bottom: 1px solid #a2a9b1;
  line-height: 1.6em;
  font-size: 1.5em;
  display: block;
  margin-right: 64px;
}

.disambig {
  line-height: 27px;
}

/*ويكي الحب*/
.wikilove {
  background-image: linear-gradient(to left, #f7f7f7, #fdfdfd);
  background-color: #f7f7f7;
  border: 1px solid #C0C0C0;
  padding: 2px 10px;
}

.wikiloveimg {
  vertical-align: middle;
  padding: 5px;
}

.wikilovehdr {
  font-size: x-large;
  padding: 1px 5px;
  font-weight: 700;
}

.wikilovetxt {
  vertical-align: middle;
  padding: 1px 5px;
}

/*[[قالب:أصد]]*/
.IPA {
  direction: ltr;
  unicode-bidi: embed;
  font-size: 95%;
}

/*[[قالب:مراجع]]*/
div.reflist + ul,
ol.references,
div.reflist,
div.refbegin {
  font-size: 13px;
  margin-bottom: 0.5em;
  clear: right;
}

div.reflist ol.references {
  list-style-type: decimal;
  margin: 0 -2.35em 0 0;
  list-style-position: inside;
  width: fit-content;
}

.mw-content-ltr ol.references {
  margin: 0;
}

.references > li > b > a,
.mw-cite-backlink {
  margin-right: -2px;
}

/*Gadget-refStyle*/
.reflist-options {
  display: none;
}

ol.references {
  margin: 0;
}

ol.references li {
  margin: 0 3em 0 0;
}

.reflist-cols ol,
ol.reflist-cols,
.reflist-cols2 ol,
ol.reflist-cols2 {
  -webkit-columns: 2;
  -moz-columns: 2;
  columns: 2;
}

.reflist-cols3 ol,
ol.reflist-cols3 {
  -webkit-columns: 3 !important;
  -moz-columns: 3 !important;
  columns: 3 !important;
}

.reflist-cols4 ol,
ol.reflist-cols4 {
  -webkit-columns: 4 !important;
  -moz-columns: 4 !important;
  columns: 4 !important;
}

ol.reflist-scroll {
  max-height: 25em;
  overflow: auto;
  margin: 0 !important;
}

ol.reflist-hide {
  display: none;
}

/*اسم الهدف بلون أزرق بعد الضغط على وصلته*/
:target {
  background-color: #def;
}

/*Allow hidden ref errors to be shown by user CSS*/
span.brokenref {
  display: none;
}

/*Styling for citations (CSS3). Breaks long urls...etc.,rather than overflowing box*/
.citation,
.reference-text {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Style for horizontal lists (separator following item).
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 8 (2016-05-21)
   @author [[User:Edokter]]
 */
.hlist dl,
.hlist ol,
.hlist ul {
  margin: 0;
  padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
  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 {
  display: none;
}
/* Generate interpuncts */
.hlist dt:after {
  content: ": ";
}
/**
 * Note hlist style usage differd in
 * the Minerva skin. Remember .hlist is a class defined in core as well! Please check Minerva desktop (and Minerva.css) when changing
 * See https://phabricator.wikimedia.org/T213239
 */
.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";
}

/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
  white-space: normal;
}