MediaWiki:Timeless.css: Unterschied zwischen den Versionen

Aus BBS Wiki
Keine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
Keine Bearbeitungszusammenfassung
 
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 4: Zeile 4:
}
}


@media print {
#footer-poweredbyico a:nth-of-type(2) {
  /* 1) Wenn Logo als <img> existiert */
     display: none;
  #p-logo img, .mw-logo img, .site-logo img, .vector-menu #p-logo img {
    display: block !important;
    height: 80px !important;
    width: auto !important;
    max-width: 240px !important;
  }
 
  /* 2) Falls Logo als background-image gesetzt ist (Browser können das verwerfen) */
  #p-logo a, .mw-logo a, .site-logo a {
    background-image: url('https://wiki.demo.lara-cloud.de/images/flexiskin-images-logo.png') !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    display: block !important;
    height: 80px !important;
    width: 240px !important;
    text-indent: -9999px !important;
  }
 
  /* 3) Fallback: pseudo-element mit content:url() (wird oft gedruckt) */
  #p-logo a::before, .mw-logo a::before, .site-logo a::before {
    content: url('https://wiki.demo.lara-cloud.de/images/flexiskin-images-logo.png') !important;
    display: block !important;
    height: 80px !important;
    width: auto !important;
  }
 
  /* unnötige Navigation ausblenden */
  #mw-navigation, #mw-head, #p-search, #mw-panel, #footer {
     display: none !important;
  }
 
  /* Platz für das Logo */
  #content, #bodyContent, .mw-body {
    margin-top: 8px !important;
  }
}
}
Wichtig

Aktuelle Version vom 2. Oktober 2025, 11:48 Uhr

/* All CSS here will be loaded for users of the Timeless skin */
#p-banner{
  visibility: hidden;
}

#footer-poweredbyico a:nth-of-type(2) {
    display: none;
}