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

از ویکی‌نبشته

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

  • فایرفاکس / سافاری: کلید Shift را نگه دارید و روی دکمهٔ Reload کلیک کنید، یا کلید‌های Ctrl-F5 یا Ctrl-R را با هم فشار دهید (در رایانه‌های اپل مکینتاش کلید‌های ⌘-R)
  • گوگل کروم: کلیدهای Ctrl+Shift+R را با هم فشار دهید (در رایانه‌های اپل مکینتاش کلید‌های ⌘-Shift-R)
  • اینترنت اکسپلورر/ Edge: کلید Ctrl را نگه‌دارید و روی دکمهٔ Refresh کلیک کنید، یا کلید‌های Ctrl-F5 را با هم فشار دهید
  • اپرا: Ctrl-F5 را بفشارید.
/* <source lang="css"> */
body {
  font-family: Nazli, 'XB Zar', IRNazanin, 'B Nazanin', 'Iranian Sans', Tahoma, 'DejaVu Sans';
}

div#content h1, div#content h2, div#content #firstHeading {
  font-family: Titr, 'XB Titre', IRTitr, 'B Titr', inherit;
}

ol:lang(fa) li {
  list-style-type: -moz-persian;
  list-style-type: persian;
}

p {
  line-height: 1.8em;
}

/* Rest should be identical to https://en.wikibooks.org/wiki/MediaWiki:Print.css */
/* <source lang="css"> */
/* Do not print:
   1: Message boxes, project boxes, navigation boxes, categories, and disambig links.
   2: Privacy, about, disclaimer, redirect and section edit links.
   3: Show/hide toggles for collapsible elements.
   4: metadata and noprint elements.

   Note: People may want not to see these element for pages printed in any namespaces.
*/
.ambox, .tmbox, .dablink, .catlinks, .collapsible span.action,
.toc, .editlink, .editsection, .subpages,
#filetoc, #footer-places,
.metadata, .noprint { display: none; }

/* Show elements meant to be displayed when printed, use fallbacks when needed. */
div.expand-print, div.printonly { display: block !important; }
span.expand-print, span.printonly { display: inline !important; }
table.collapsible tr, div.collapsible > div.body { display: block !important; }
table.collapsible tr { display: table-row !important; }

/* Don't expand external links (see http://en.wikibooks.org/w/skins/common/commonPrint.css) */
cite a.external.text:after,
.citation a.external.text:after,
.nourlexpansion a.external.text:after,
.nourlexpansion a.external.autonumber:after {
    display: none !important;
}

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

/* wikitable class for skinning normal tables */
table.wikitable { margin: 1em 1em 1em 0em; border: 1px #aaaaaa solid; border-collapse: collapse; }
table.wikitable th, .wikitable td { border:1px #aaaaaa solid; padding: 0.2em; }
table.wikitable th { text-align: center; background: #F2F2F2; font-weight: bold; }
table.wikitable caption { font-weight: bold; }

/* </source> */