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

من موسوعة المزرعة
مراجعة 04:04، 8 أبريل 2021 بواسطة Ahmad A Najar (نقاش | مساهمات) (أنشأ الصفحة ب'←‏الأنماط المتراصة CSS المعروضة هنا ستؤثر على ناتج الطباعة: /* Do not print: 1: When in mainspace: Article message box...')
(فرق) → مراجعة أقدم | المراجعة الحالية (فرق) | مراجعة أحدث ← (فرق)
اذهب إلى التنقل اذهب إلى البحث

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

  • فايرفوكس / سافاري: أمسك 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 المعروضة هنا ستؤثر على ناتج الطباعة */
/* Do not print:
   1: When in mainspace: Article message boxes,
      navboxes, sister project boxes, disambig links,
      and items marked as metadata.
   2: Privacy, about, disclaimer, redirect and section edit links.
   3: Show/hide toggles for collapsible items.
   4: Items marked as noprint.
*/
.ns-0 .ambox, 
.ns-0 .navbox, 
.ns-0 .infobox.sisterproject, 
.ns-0 .dablink, 
.ns-0 .metadata,
#filetoc, 
#footer-places,
.editlink,
span.collapseButton, a.NavToggle,
.noprint, .feedbackWrapper,
.bandeau-portail {
    display: none;
}

/* Add formatting to make sure that "external references" from templates
   like [[Template:Ref]] do not get URL expansion, not even when printed.
   The anchor itself has class "external autonumber" and the url expansion
   is inserted when printing (see the common printing style sheet at
   http://en.wikipedia.org/w/skins/common/commonPrint.css) using the
   ":after" pseudo-element of CSS. Also hide in <cite> elements.
*/
#content cite a.external.text:after,
.nourlexpansion a.external.text:after,
.nourlexpansion a.external.autonumber:after {
    display: none !important;
}

/* Uncollapse collapsible tables/divs.
   The proper way to do this for tables is to use display:table-row,
   but this is not supported by all browsers, so use display:block as fallback.
*/
table.collapsible tr, div.NavPic, div.NavContent {
    display: block !important;
}
table.collapsible tr {
    display: table-row !important;
}

/* Hiding some items when printing with Simple skin */
.skin-simple div#column-one,
.skin-simple div#f-poweredbyico,
.skin-simple div#f-copyrightico,
.skin-simple .editsection { 
    display: none; 
}

/* On websites with siteSub visible, the margin on the firstHeading is not needed. */
#firstHeading {
    margin: 0px;
}

/* قالب:إيقونةعلوية */
div.toplink {
    position: absolute;
    top: 0px;
    left:0px;
}
 
.toplink a.external.text:after,
#editformcontrolelement{
    display:none !important;
}
 
/* a workaround until Bug 28573 is fixed */
div.center {
    text-align: center;
}

/**
**منع ظهور قوالب الصيانة عند الطباعة
*/

.mw-indicator { 
	display:none;
}
.إعلام {
	display:none; 
}

#mw-fr-reviewnotice{
	display:none;
}