Warning: file_exists(): open_basedir restriction in effect. File(/bin/bash) is not within the allowed path(s): (/var/www/vhosts/wikitoyes.org/:/tmp/:/gitinfo) in /var/www/vhosts/wikitoyes.org/httpdocs/includes/shell/CommandFactory.php on line 119
MediaWiki:Common.css – WikiToYes

MediaWiki:Common.css

Aus WikiToYes
Wechseln zu:Navigation, Suche

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Obere dunkle Navbar bekommt höheren z-index */
nav.bg-dark.navbar-dark {
    position: relative;
    z-index: 1050;
}

/* Sticky navbar darunter: geringerer z-index */
.sticky-top {
    z-index: 1030 !important;
}

/* Stelle sicher, dass Dropdowns der oberen Leiste drüber liegen */
nav.bg-dark.navbar-dark .dropdown-menu {
    z-index: 1060 !important;
    position: absolute !important;
}

/* Das folgende CSS versteckt den __TOC__ Befehl */

.toc-fade {
  opacity: 0;
  max-height: 0;
  transition: opacity 0.6s ease, max-height 0.6s ease;
  overflow: hidden;
}
.toc-fade.shown {
  opacity: 1;
  max-height: 400px;
}

/*BOOTSTRAP KOMPONENTEN: Accordeon */
.mw-custom-accordion {
  border: 1px solid #a2a9b1;
  margin-bottom: 15px;
  border-radius: 3px;
}
.mw-custom-accordion-header {
  background-color: #f8f9fa;
  padding: 8px 15px;
  cursor: pointer;
  font-weight: bold;
}
.mw-custom-accordion-content {
  padding: 15px;
  display: none;
  border-top: 1px solid #a2a9b1;
}

/*Klasse zur Erweiterung auf ganze Bildschirmzeile. class= */
.smw-fullwidth {
  width: 100%;
}

/*BOOTSTRAP KOMPONENTEN: Alert */
.mw-custom-alert-info {
  background-color: #e8f4fd;
  border-color: #36c;
}
.mw-custom-alert-warning {
  background-color: #fef6e7;
  border-color: #fc3;
}
/*BUCHBOX FORMAT*/
@media (max-width: 768px) {
  .col-md-4, .col-md-8 {
    width: 100%;
    padding-right: 0;
  }
  .toc-fade {
    max-height: 200px !important;
  }
}

/* Boxen für Text */
.hinweisbox {
  border: 2px solid #aaa;
  background-color: #fefbe9;
  padding: 1em;
  margin: 2em auto;
  width: 75%;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  font-size: 1em;
  line-height: 1.6;
}