MediaWiki:Common.css: verschil tussen versies

Uit kleinrondleimuiden.nl
Naar navigatie springen Naar zoeken springen
Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
 
(7 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 50: Regel 50:
   }
   }


/* Basis: hele print in Garamond */
  /* Basis: hele print in Garamond */
   body {
   body {
     font-family: "Garamond", "Times New Roman", Times, serif !important;
     font-family: "Garamond", "Times New Roman", Times, serif !important;
Regel 59: Regel 59:


   /* Losse thumbnails (klassieke structuur) */
   /* Losse thumbnails (klassieke structuur) */
   .thumbcaption,
   .thumbcaption { text-align: center !important; }
 
   .thumb .thumbcaption,
   .thumb .thumbcaption,
   .thumb .thumbcaption * {
   .thumb .thumbcaption * {
Regel 67: Regel 68:
   }
   }


   /* HTML5/VisualEditor varianten met <figure>/<figcaption> */
   /* HTML5/VisualEditor varianten */
   figure figcaption,
   figure figcaption,
   figcaption,
   figcaption,
   .mw-image-caption,
   .mw-image-caption,
   .mw-image-caption * {
   .mw-image-caption * {
    text-align: center !important;
     font-family: "Garamond", "Times New Roman", Times, serif !important;
     font-family: "Garamond", "Times New Roman", Times, serif !important;
     font-size: 10pt !important;
     font-size: 10pt !important;
Regel 78: Regel 80:


   /* Gallery-onderschriften (alle modi) */
   /* Gallery-onderschriften (alle modi) */
   .gallerytext,
   .gallery .gallerytext,
   .gallerytext * ,
   .gallery .gallerytext *,
  .category-gallery .gallerytext,
  .category-gallery .gallerytext *,
   .mw-gallery .gallerytext,
   .mw-gallery .gallerytext,
  .mw-gallery .gallerytext *,
  .mw-gallery-traditional .gallerytext,
  .mw-gallery-traditional .gallerytext *,
   .mw-gallery-packed .gallerytext,
   .mw-gallery-packed .gallerytext,
   .mw-gallery-traditional .gallerytext,
   .mw-gallery-packed .gallerytext *,
   .mw-gallery-slideshow .gallerytext {
   .mw-gallery-packed-overlay .gallerytext,
  .mw-gallery-packed-overlay .gallerytext * {
    text-align: center !important;
     font-family: "Garamond", "Times New Roman", Times, serif !important;
     font-family: "Garamond", "Times New Roman", Times, serif !important;
     font-size: 10pt !important;
     font-size: 10pt !important;
Regel 89: Regel 98:
   }
   }


   /* Footer + printfooter */
   /* Zorg dat overlay-captions als normale captions printen */
   #footer,
   .mw-gallery-packed-overlay .gallerytext {
   #footer *,
    position: static !important;
    background: none !important;
  }
 
   /* Regeltje onderaan: "Deze pagina is voor het laatst bewerkt..." */
   .printfooter,
   .printfooter,
   .printfooter *,
   .printfooter *,
   .mw-footer,
   #footer-info-lastmod,
   .mw-footer * {
   #footer-info-lastmod * {
     font-family: "Garamond", "Times New Roman", Times, serif !important;
     font-family: "Garamond", "Times New Roman", Times, serif !important;
     font-size: 9pt !important;
     font-size: 9pt !important;
     font-style: normal !important;
     font-style: normal !important;
     font-weight: normal !important;
     font-weight: normal !important;
     color: #444 !important; /* iets subtieler dan zwart */
     color: #444 !important; /* subtieler dan zwart */
   }
   }


   /* Extra zekerheid voor thumbnail onderschriften */
   /* Extra zekerheid voor thumbnail-onderschriften */
   .thumb,
   .thumb,
   .thumbinner,
   .thumbinner,
Regel 139: Regel 152:
   }
   }


   /* Gallery in print netjes op 3 kolommen */
   /* Gallery in print netjes op 2 kolommen */
   .gallery {
   .gallery {
     display: grid !important;
     display: grid !important;
     grid-template-columns: repeat(3, 1fr) !important;
     grid-template-columns: repeat(2, 1fr) !important;
     gap: 10px !important;
     gap: 10px !important;
     width: 100% !important;
     width: 100% !important;
Regel 175: Regel 188:


   /* Linker menu weglaten */
   /* Linker menu weglaten */
   #mw-panel {
   #mw-panel { display: none !important; }
    display: none !important;
  }


   /* Inhoud naar links en maximaal breed */
   /* Inhoud naar links en maximaal breed */
Regel 221: Regel 232:


   /* Verwijder alleen het blokje "Overgenomen van..." */
   /* Verwijder alleen het blokje "Overgenomen van..." */
   .printfooter {
   .printfooter { display: none !important; }
    display: none !important;
  }
}
}

Huidige versie van 3 okt 2025 om 07:28

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

#ca-history { display: none !important; }
#ca-talk { display: none !important; }

/* Content links uitlijnen naast de sidebar */
#content {
  max-width: 900px;    /* smalle kolom */
  margin-left: 11em;   /* ruimte voor de sidebar (pas eventueel aan) */
  margin-right: auto;  /* rechts witruimte */
}

#p-search {
  float: left !important;
  margin-left: 0 !important;
}

/* Forceer logo zichtbaar in Vector 2011 */
#p-logo, #p-logo a.mw-wiki-logo {
  display:block !important;
  width: 10em !important;
  height: 160px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
}

/* En voor Vector 2022 */
.vector-header .mw-logo-wordmark img,
.vector-header .mw-logo-wordmark {
  display:block !important;
  max-width: 160px !important;
  height: 18px !important;
}
.vector-header .mw-logo-icon {
  display:block !important;
}

/* Maak thumbnails in categoriepagina's groter */
.category-gallery img {
  width: 350px !important;
  height: auto !important;
}

@media print {
  /* Portrait A4 forceren */
  @page {
    size: A4 portrait;
    margin: 15mm;
  }

  /* Basis: hele print in Garamond */
  body {
    font-family: "Garamond", "Times New Roman", Times, serif !important;
    font-size: 12pt !important;
    line-height: 1.5 !important;
    font-style: normal !important;
  }

  /* Losse thumbnails (klassieke structuur) */
  .thumbcaption { text-align: center !important; }

  .thumb .thumbcaption,
  .thumb .thumbcaption * {
    font-family: "Garamond", "Times New Roman", Times, serif !important;
    font-size: 10pt !important;
    font-style: normal !important;
  }

  /* HTML5/VisualEditor varianten */
  figure figcaption,
  figcaption,
  .mw-image-caption,
  .mw-image-caption * {
    text-align: center !important;
    font-family: "Garamond", "Times New Roman", Times, serif !important;
    font-size: 10pt !important;
    font-style: normal !important;
  }

  /* Gallery-onderschriften (alle modi) */
  .gallery .gallerytext,
  .gallery .gallerytext *,
  .category-gallery .gallerytext,
  .category-gallery .gallerytext *,
  .mw-gallery .gallerytext,
  .mw-gallery .gallerytext *,
  .mw-gallery-traditional .gallerytext,
  .mw-gallery-traditional .gallerytext *,
  .mw-gallery-packed .gallerytext,
  .mw-gallery-packed .gallerytext *,
  .mw-gallery-packed-overlay .gallerytext,
  .mw-gallery-packed-overlay .gallerytext * {
    text-align: center !important;
    font-family: "Garamond", "Times New Roman", Times, serif !important;
    font-size: 10pt !important;
    font-style: normal !important;
  }

  /* Zorg dat overlay-captions als normale captions printen */
  .mw-gallery-packed-overlay .gallerytext {
    position: static !important;
    background: none !important;
  }

  /* Regeltje onderaan: "Deze pagina is voor het laatst bewerkt..." */
  .printfooter,
  .printfooter *,
  #footer-info-lastmod,
  #footer-info-lastmod * {
    font-family: "Garamond", "Times New Roman", Times, serif !important;
    font-size: 9pt !important;
    font-style: normal !important;
    font-weight: normal !important;
    color: #444 !important;  /* subtieler dan zwart */
  }

  /* Extra zekerheid voor thumbnail-onderschriften */
  .thumb,
  .thumbinner,
  .thumbcaption,
  .thumbcaption *,
  .thumb .thumbcaption,
  .thumb .thumbcaption *,
  .magnify,
  .magnify * {
    font-family: "Garamond", "Times New Roman", Times, serif !important;
    font-size: 10pt !important;
    font-style: normal !important;
  }

  /* Page title (bovenaan) */
  #firstHeading,
  #firstHeading .mw-page-title-main,
  .mw-page-title-main,
  .vector-page-titlebar h1,
  .vector-page-titlebar h1 .mw-page-title-main {
    font-family: "Garamond", "Times New Roman", Times, serif !important;
    font-style: normal !important;
    font-weight: normal !important;
  }

  /* Koppen in de inhoud (==, ===, ====, etc.) */
  h1, h2, h3, h4, h5, h6,
  .mw-body-content h1, .mw-body-content h2, .mw-body-content h3,
  .mw-body-content h4, .mw-body-content h5, .mw-body-content h6,
  .mw-headline,
  .mw-headline * {
    font-family: "Garamond", "Times New Roman", Times, serif !important;
    font-style: normal !important;
    font-weight: normal !important;
  }

  /* Gallery in print netjes op 2 kolommen */
  .gallery {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .gallerybox {
    display: block !important;  /* zorgt dat grid goed werkt */
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .gallerybox .thumb,
  .gallerybox .thumbinner {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
  }

  .gallerybox img,
  .gallerybox .thumbimage {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    page-break-inside: avoid;
  }

  /* Linker menu weglaten */
  #mw-panel { display: none !important; }

  /* Inhoud naar links en maximaal breed */
  #content,
  #bodyContent,
  #mw-content-text {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 90% !important; /* tekst iets kleiner */
  }

  /* Afbeeldingen buiten galleries */
  img,
  .thumb,
  .thumbinner,
  .thumbimage {
    max-width: 100% !important;
    height: auto !important;
    page-break-inside: avoid;
  }

  /* Tabellen netjes laten breken */
  table {
    max-width: 100% !important;
    table-layout: auto !important;
    word-wrap: break-word;
    page-break-inside: avoid;
  }

  /* Lange woorden/links afbreken */
  * {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Kop en footer zichtbaar houden */
  #mw-head,
  #footer {
    display: block !important;
  }

  /* Verwijder alleen het blokje "Overgenomen van..." */
  .printfooter { display: none !important; }
}