MediaWiki:Common.css

From Hauck LabWiki
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* Rote Box-Klasse (bereinigt) */
.my-box {
  border: 2px solid #dc2626; /* Alarmierendes Rot */
  background-color: #fef2f2; /* Pastellrot */
  border-radius: 4px;
  padding: 15px;
  margin: 15px 0;
}

.my-box-title {
  font-weight: bold;
  color: #dc2626; /* Alarmierendes Rot */
  font-size: 16px;
  margin-bottom: 10px;
  border-bottom: 1px solid #dc2626;
  padding-bottom: 5px;
  border-left: none;
  border-right: none;
  border-top: none;
}

.my-box-content {
  color: #7f1d1d; /* Dunkleres Rot für Text */
  border: none; /* Keine Umrandung für Inhalt */
}

/* Versteckt die Toolbox-Gruppe in der Sidebar */
#p-tb {
  display: none;
}

/* Druck-Optimierung */
@media print {
  .print-export-buttons { display: none !important; }
  .mw-editsection { display: none !important; }
  #mw-navigation { display: none !important; }
  #mw-head { display: none !important; }
  #footer { display: none !important; }
  .mw-jump-link { display: none !important; }
}

/* Button-Styling */
.print-export-buttons button:hover {
  opacity: 0.8;
}

/* MediaWiki.org Note/Warning Boxes */
.tip, .note {
  padding: 0.5em;
  margin: 0.5em 0;
  overflow: hidden;
  background-color: #F9F9F9;
  background-position: 4px 2px;