MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Wikikama
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(29 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Subtitel unter dem Wikikama-Schriftzug */
/* Subtitel unter dem Wikikama-Schriftzug */
#p-logo:after {
#p-logo:after {
Zeile 16: Zeile 18:
   line-height: 1.6;
   line-height: 1.6;
   color: #222;
   color: #222;
 
}
}


/* Optional: Überschriften leicht anpassen */
/* Optional: Überschriften leicht anpassen */
Zeile 62: Zeile 66:
   color: #5599dd;
   color: #5599dd;
}
}
/* Support-Banner Styling mit Mobilfix */


#support-banner {
#support-banner {
  background: #FEF3C7;
  color: #111827;
  border-top: 2px solid #D97706;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
   position: fixed;
   position: fixed;
   bottom: 0;
   bottom: 0;
   left: 0;
   left: 0;
  right: 0;
  z-index: 9999;
   width: 100%;
   width: 100%;
   box-sizing: border-box;
   background-color: #fff4a3;
   box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  color: #111;
   word-wrap: break-word;
  font-family: Arial, sans-serif;
  font-size: 14px;
  padding: 20px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 10000;
   box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  gap: 10px;
   word-break: break-word;
  position: fixed;
}
}


#support-banner a {
#support-banner .sb-text {
  color: #1D4ED8;
   font-weight: bold;
   font-weight: bold;
  max-width: 90%;
  line-height: 1.5;
}
#support-banner .sb-link {
  color: #0645ad;
   text-decoration: underline;
   text-decoration: underline;
  font-weight: bold;
}
#support-banner .sb-link:hover {
  color: #0b3d91;
}
#support-banner button#support-banner-close {
  position: absolute;
  top: 6px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  color: #444;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  padding: 0;
  margin: 0;
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
}
}


@media (max-width: 480px) {
#support-banner button#support-banner-close:hover {
  #support-banner {
  opacity: 1;
    font-size: 13px;
  color: #111;
    padding: 10px 12px;
  }
}
}


.sidebar-chunk#site-tools,
.sidebar-chunk#site-tools,
Zeile 123: Zeile 158:
a[href*="Vorlage:Extension_DPL"] {
a[href*="Vorlage:Extension_DPL"] {
     display: none !important;
     display: none !important;
}
.dpl-list-simple ul {
  list-style: none !important;
  margin: 0 !important;
  padding:0 !important;
}
.dpl-list-simple ul > li {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding:4px 0 !important;
}
.dpl-list-simple ul > li::before {
  content: "📄" !important;
  margin-right:8px !important;
  flex: none !important;
}
.dpl-list-simple ul > li a {
  color: #2C5282 !important;
  text-decoration: none !important;
  flex: auto !important;
}
.dpl-list-simple ul > li span.dpl-date {
  font-size:0.9em !important;
  color: #4A5568 !important;
  margin-left:12px !important;
  flex: none !important;
}
@media (max-width: 600px) {
  .wikikama-boxes {
    flex-direction: column !important;
  }
}
.a2a_kit {
  margin-bottom: 30px;
}
.wikikama-sharebox {
  margin-top: 40px;
  font-family: Arial, sans-serif;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* Zentriert auf allen Geräten */
  gap: 8px;
}
.wikikama-sharebox strong {
  flex-basis: 100%;
  margin-bottom: 8px;
  text-align: center;  /* Überschrift zentriert */
}
.wikikama-sharebox a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  user-select: none;
  text-decoration: none !important;
  transition: filter 0.3s ease;
  border-radius: 4px;
}
.wikikama-sharebox a:hover {
  filter: brightness(0.85);
}
/* Benutzer anlegen Formular */
.successbox {
    background-color: #e6ffe6;
    border: 1px solid #00aa00;
    padding: 1em;
    margin-bottom: 1em;
}
.errorbox {
    background-color: #ffe6e6;
    border: 1px solid #cc0000;
    padding: 1em;
    margin-bottom: 1em;
}
.warningbox {
    background-color: #fff8e1;
    border: 1px solid #ff9900;
    padding: 1em;
    margin-bottom: 1em;
}
}

Aktuelle Version vom 1. Juni 2025, 17:46 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 Styling mit Mobilfix */

#support-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff4a3;
  color: #111;
  font-family: Arial, sans-serif;
  font-size: 14px;
  padding: 20px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 10000;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  gap: 10px;
  word-break: break-word;
  position: fixed;
}

#support-banner .sb-text {
  font-weight: bold;
  max-width: 90%;
  line-height: 1.5;
}

#support-banner .sb-link {
  color: #0645ad;
  text-decoration: underline;
  font-weight: bold;
}

#support-banner .sb-link:hover {
  color: #0b3d91;
}

#support-banner button#support-banner-close {
  position: absolute;
  top: 6px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  color: #444;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  padding: 0;
  margin: 0;
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
}

#support-banner button#support-banner-close:hover {
  opacity: 1;
  color: #111;
}



.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-list-simple ul {
  list-style: none !important;
  margin: 0 !important;
  padding:0 !important;
}
.dpl-list-simple ul > li {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding:4px 0 !important;
}
.dpl-list-simple ul > li::before {
  content: "📄" !important;
  margin-right:8px !important;
  flex: none !important;
}
.dpl-list-simple ul > li a {
  color: #2C5282 !important;
  text-decoration: none !important;
  flex: auto !important;
}
.dpl-list-simple ul > li span.dpl-date {
  font-size:0.9em !important;
  color: #4A5568 !important;
  margin-left:12px !important;
  flex: none !important;
}

@media (max-width: 600px) {
  .wikikama-boxes {
    flex-direction: column !important;
  }
}

.a2a_kit {
  margin-bottom: 30px;
}

.wikikama-sharebox {
  margin-top: 40px;
  font-family: Arial, sans-serif;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* Zentriert auf allen Geräten */
  gap: 8px;
}

.wikikama-sharebox strong {
  flex-basis: 100%;
  margin-bottom: 8px;
  text-align: center;  /* Überschrift zentriert */
}

.wikikama-sharebox a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  user-select: none;
  text-decoration: none !important;
  transition: filter 0.3s ease;
  border-radius: 4px;
}

.wikikama-sharebox a:hover {
  filter: brightness(0.85);
}
/* Benutzer anlegen Formular */
.successbox {
    background-color: #e6ffe6;
    border: 1px solid #00aa00;
    padding: 1em;
    margin-bottom: 1em;
}

.errorbox {
    background-color: #ffe6e6;
    border: 1px solid #cc0000;
    padding: 1em;
    margin-bottom: 1em;
}

.warningbox {
    background-color: #fff8e1;
    border: 1px solid #ff9900;
    padding: 1em;
    margin-bottom: 1em;
}