Naar inhoud springen

MediaWiki:Common.css: verschil tussen versies

Uit CostaSano-Wiki
Better print style
 
Geen bewerkingssamenvatting
Regel 10: Regel 10:
   /* Page margins */
   /* Page margins */
   body {
   body {
     margin: 2cm;
     margin: 1cm;
     font-family: "Liberation Serif", Georgia, serif;
     font-family: "Liberation Serif", Georgia, serif;
     line-height: 1.4;
     line-height: 1.4;
Regel 32: Regel 32:
   /* Add page numbers in footer */
   /* Add page numbers in footer */
   @page {
   @page {
     margin: 2cm;
     margin: 1cm;
     @bottom-center {
     @bottom-center {
       content: "Page " counter(page);
       content: "Page " counter(page);
Regel 45: Regel 45:
     }
     }
     @top-right {
     @top-right {
       content: "Historical Research Club";
       content: "Costa Sano Historical Research Club";
       font-size: 10pt;
       font-size: 10pt;
     }
     }
   }
   }
}
}

Versie van 10 dec 2025 15:26

/** CSS die hier wordt geplaatst heeft invloed op alle vormgevingen */

/* Print stylesheet for clean PDF output */
@media print {
  /* Hide navigation, sidebar, and footer clutter */
  #mw-panel, #footer, .mw-editsection, .noprint {
    display: none !important;
  }

  /* Page margins */
  body {
    margin: 1cm;
    font-family: "Liberation Serif", Georgia, serif;
    line-height: 1.4;
    font-size: 12pt;
    color: #000;
  }

  /* Headings */
  h1, h2, h3 {
    color: #003366;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.2em;
  }

  /* References formatting */
  .references {
    font-size: 10pt;
    line-height: 1.2;
  }

  /* Add page numbers in footer */
  @page {
    margin: 1cm;
    @bottom-center {
      content: "Page " counter(page);
      font-size: 10pt;
    }
  }

  /* Optional: club logo in header */
  @page {
    @top-left {
      content: url("/images/club_logo.png");
    }
    @top-right {
      content: "Costa Sano Historical Research Club";
      font-size: 10pt;
    }
  }
}