MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Wikikama
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 124: Zeile 124:
     display: none !important;
     display: none !important;
}
}
/* ----------------------------------------
/* ================================================
   DPL: zwei-spaltige Liste mit Icon 📄  
   DPL-Listen zweispaltig mit Icon 📄 und Datum
   ---------------------------------------- */
   ================================================ */
.dpl-list-horizontal ul {
 
   list-style: none;     /* keine Standard-Punkte mehr */
/* 1) Alle Standard-Listenpunkte entfernen und Abstände löschen */
   margin: 0;
div.dpl-list-horizontal ul {
   padding: 0;
   list-style: none !important;
   margin-left: 0 !important;
   padding-left: 0 !important;
}
}
.dpl-list-horizontal ul > li {
 
   display: flex;
/* 2) Jedes Listenelement als Flexbox – Titel links, Datum rechts */
   justify-content: space-between;
div.dpl-list-horizontal ul > li {
   align-items: center;
   display: flex !important;
   padding: 4px 0;
   justify-content: space-between !important;
   align-items: center !important;
   padding: 4px 0 !important;
}
}
.dpl-list-horizontal ul > li::before {
 
   content: "📄";         /* Icon vor jedem Eintrag */
/* 3) Icon 📄 vor jedem Eintrag */
   margin-right: 8px;
div.dpl-list-horizontal ul > li::before {
   flex: none;
   content: "📄" !important;
   margin-right: 8px !important;
   flex: none !important;
}
}
.dpl-list-horizontal ul > li a {
 
   color: #2C5282;
/* 4) Link-Styling für den Artikeltitel */
   text-decoration: none;
div.dpl-list-horizontal ul > li a {
   flex: auto;           /* Link nimmt den linken Platz ein */
   color: #2C5282 !important;
   text-decoration: none !important;
   flex: auto !important;
}
}
.dpl-list-horizontal ul > li .dpl-date,
 
.dpl-list-horizontal ul > li .mw-dpl-date {
/* 5) Datum rechts, kleiner und grau */
   font-size: 0.9em;
div.dpl-list-horizontal ul > li span.dpl-date,
   color: #4A5568;
div.dpl-list-horizontal ul > li span.mw-dpl-date {
   margin-left: 12px;
   font-size: 0.9em !important;
   flex: none;           /* Datum bleibt rechts schmal stehen */
   color: #4A5568 !important;
   margin-left: 12px !important;
   flex: none !important;
}
}

Version vom 30. Mai 2025, 08:43 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Subtitel unter dem Wikikama-Schriftzug */
#p-logo:after {
    content: "Mehr Wissen. Mehr Sicherheit. Fakten gegen Fakes.";
    display: block;
    font-size: 0.8em;
    color: gray;
    text-align: center;
    margin-top: 5px;
}

/* Einheitliche Schriftart auf Arial setzen */
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
}

/* Optional: Überschriften leicht anpassen */
h1, h2, h3 {
  font-family: Arial, Helvetica, sans-serif;
  color: #2C5282;
}

/* Einheitliche Linkfarbe für alle Links */
a:link,
a:visited {
  color: #2B6CB0 !important; /* dein Wunschblau */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#mw-content-container {
    border-bottom: none !important;
}

#mw-footer-container,
#mw-footer {
  background-color: #3a3a3a !important;
  color: #ccc;
}

#mw-footer a {
  color: #8ab4f8 !important; /* heller, gut lesbarer Blauton */
  text-decoration: underline; /* optional, zur besseren Erkennbarkeit */
}

#mw-footer a:hover {
  color: #a6c8ff !important; /* hellerer Blauton bei Hover */
}
#mw-footer-container {
  margin-bottom: 20px;
  /* Oder falls margin besser passt */
  /* margin-bottom: 20px; */
}

#mw-footer a:hover {
  color: #5599dd;
}

#support-banner {
  background: #FEF3C7;
  color: #111827;
  border-top: 2px solid #D97706;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  word-wrap: break-word;
}

#support-banner a {
  color: #1D4ED8;
  font-weight: bold;
  text-decoration: underline;
}

@media (max-width: 480px) {
  #support-banner {
    font-size: 13px;
    padding: 10px 12px;
  }
}

.sidebar-chunk#site-tools,
#p-tb {
  display: none !important;
}

#mw-panel .portal a {
  display: block;
  background-color: #2C5282;
  color: white !important;
  padding: 6px 10px;
  margin: 4px 0;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
}

#mw-panel .portal a:hover {
  background-color: #1A365D;
}
/* Versteckt Login-Menü für alle, die nicht eingeloggt sind */
body:not(.user-logged-in) #user-tools,
body:not(.user-logged-in) .vector-user-menu,
body:not(.user-logged-in) #p-personal {
    display: none !important;
}

a[href*="Vorlage:Extension_DPL"] {
    display: none !important;
}
/* ================================================
   DPL-Listen zweispaltig mit Icon 📄 und Datum
   ================================================ */

/* 1) Alle Standard-Listenpunkte entfernen und Abstände löschen */
div.dpl-list-horizontal ul {
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* 2) Jedes Listenelement als Flexbox – Titel links, Datum rechts */
div.dpl-list-horizontal ul > li {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 4px 0 !important;
}

/* 3) Icon 📄 vor jedem Eintrag */
div.dpl-list-horizontal ul > li::before {
  content: "📄" !important;
  margin-right: 8px !important;
  flex: none !important;
}

/* 4) Link-Styling für den Artikeltitel */
div.dpl-list-horizontal ul > li a {
  color: #2C5282 !important;
  text-decoration: none !important;
  flex: auto !important;
}

/* 5) Datum rechts, kleiner und grau */
div.dpl-list-horizontal ul > li span.dpl-date,
div.dpl-list-horizontal ul > li span.mw-dpl-date {
  font-size: 0.9em !important;
  color: #4A5568 !important;
  margin-left: 12px !important;
  flex: none !important;
}