MediaWiki:Common.css: Difference between revisions

From Hauck LabWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Rote Box-Klasse (bereinigt) */
.my-box {
.my-box {
    border: 2px solid #007BFF;
  border: 2px solid #dc2626; /* Alarmierendes Rot */
    border-radius: 10px;
  background-color: #fef2f2; /* Pastellrot */
    padding: 10px;
  border-radius: 4px;
    margin: 20px 0;
  padding: 15px;
    background-color: #f0f7ff;
  margin: 15px 0;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}
}


.my-box-title {
.my-box-title {
    font-weight: bold;
  font-weight: bold;
    color: #0056b3;
  color: #dc2626; /* Alarmierendes Rot */
    margin-bottom: 5px;
  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 {
.my-box-content {
    margin-left: 15px;
  color: #7f1d1d; /* Dunkleres Rot für Text */
  border: none; /* Keine Umrandung für Inhalt */
}
}
/* Versteckt die Toolbox-Gruppe in der Sidebar */
/* Versteckt die Toolbox-Gruppe in der Sidebar */
#p-tb {
#p-tb {
    display: none;
  display: none;
}
}
/* Druck-Optimierung */
/* Druck-Optimierung */
@media print {
@media print {
Line 36: Line 46:
   opacity: 0.8;
   opacity: 0.8;
}
}
/* MediaWiki.org Note/Warning Boxes */
/* MediaWiki.org Note/Warning Boxes */
.tip, .note {
.tip, .note {
Line 43: Line 54:
   background-color: #F9F9F9;
   background-color: #F9F9F9;
   background-position: 4px 2px;
   background-position: 4px 2px;
  background-repeat: no-repeat;
  border: 1px solid #DDD;
}
.tip-info, .note-info {
  background-color: #F0F0E7;
  background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/f/f8/Appunti_architetto_franc_01.svg/22px-Appunti_architetto_franc_01.svg.png);
  border-color: #cc9933;
  padding-left: 30px;
  min-height: 28px;
}
.tip-reminder, .note-reminder {
  background-color: #F6FDEA;
  background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/23px-Bulbgraph.png);
  border-color: #D6E434;
  padding-left: 31px;
  min-height: 28px;
}
.tip-error, .note-error {
  background-color: #F0E7E7;
  background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/51/Attention_niels_epting.svg/24px-Attention_niels_epting.svg.png);
  border-color: #cc3333;
  padding-left: 32px;
  min-height: 25px;
}
.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;
}
.my-box-content {
  color: #7f1d1d; /* Dunkleres Rot für Text */
}

Revision as of 17:46, 29 May 2025

/* 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;