MediaWiki:Common.css: Difference between revisions

From Hauck LabWiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(One intermediate revision by the same user not shown)
Line 108: Line 108:
   background: transparent !important;
   background: transparent !important;
}
}
 
.mw-wiki-logo {
/* Vector 2022 Example Tab Styling */
     background-image: url("/images/wiki_logo.png") !important;
#ca-example {
     background-size: contain;
    display: inline-flex;
    align-items: center;
    margin: 0;
}
 
#ca-example a {
    display: block;
    padding: 0.5em 1em;
    color: #0645ad;
    text-decoration: none;
    border: 1px solid transparent;
    border-bottom: 1px solid #a2a9b1;
    background: transparent;
    font-size: 0.875em;
    font-weight: normal;
}
 
#ca-example a:hover {
     background-color: #eaecf0;
    border-color: #a2a9b1;
    border-bottom-color: #eaecf0;
    text-decoration: none;
}
 
#ca-example a:focus {
    outline: 2px solid #36c;
    outline-offset: -2px;
}
 
/* Aktiver Tab Stil (falls auf Example Seite) */
.vector-menu-tabs .selected #ca-example a {
     background-color: #ffffff;
    border-bottom-color: #ffffff;
    color: #000;
}
}

Latest revision as of 11:25, 5 June 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;
  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;
}
.minimal-box {
  display: inline-block;
  border: 1px solid #a2a9b1 !important;
  border-radius: 2px;
  margin: 10px 0;
  max-width: fit-content;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.minimal-box-title {
  background: #eaecf0 !important;
  padding: 8px 12px;
  border: none !important;
  border-bottom: 1px solid #a2a9b1 !important;
  font-weight: bold;
  color: #333;
  font-size: 14px;
}

.minimal-box-content {
  padding: 12px 15px;
  color: #333;
  font-size: 13px;
  border: none !important;
  background: transparent !important;
}
.mw-wiki-logo {
    background-image: url("/images/wiki_logo.png") !important;
    background-size: contain;
}