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 */
.my-box {
    border: 2px solid #007BFF;
    border-radius: 10px;
    padding: 10px;
    margin: 20px 0;
    background-color: #f0f7ff;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.my-box-title {
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 5px;
}

.my-box-content {
    margin-left: 15px;
}
/* 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;
}