Menü aufrufen
Toggle preferences menu
Persönliches Menü aufrufen
Nicht angemeldet
Ihre IP-Adresse wird öffentlich sichtbar sein, wenn Sie Änderungen vornehmen.

MediaWiki:Common.css: Unterschied zwischen den Versionen

MediaWiki-Schnittstellenseite
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 82: Zeile 82:




/* ButtonCard */
.inline-button-row { display:flex; flex-wrap:wrap; gap:10px; }
a.button-card, .button-card {
 
   display: inline-block;
.inline-button-card {
   width: 180px;
   display:inline-block;
   height: 80px;
   width:180px;
  margin: 6px;
   height:80px;
   border-radius: 12px;
   border-radius:12px;
   overflow: hidden;
   overflow:hidden;
   position: relative;
   position:relative;
   text-decoration: none;
   text-decoration:none;
   background-size: cover;
  color:#fff;
   background-position: center;
   background-size:cover;
   transition: transform 0.26s ease, box-shadow 0.26s ease;
   background-position:center;
  color: inherit;
   transition:transform .26s ease, box-shadow .26s ease;
}
}


a.button-card:hover {
/* Overlay und Text */
   transform: scale(1.05);
.inline-button-card::after {
   box-shadow: 0 6px 18px rgba(0,0,0,0.45);
   content:"";
  position:absolute;
   inset:0;
  background:rgba(0,0,0,0.28);
  transition:background .26s ease;
  z-index:1;
}
}
 
.inline-button-card .ibc-text {
.button-card-text {
   position:absolute;
   position: absolute;
   bottom:8px;
   bottom: 8px;
   left:12px;
   left: 12px;
   right:12px;
   right: 12px;
   z-index:2;
   color: #fff;
   font-weight:600;
   font-weight: 600;
   text-shadow:0 1px 3px rgba(0,0,0,0.8);
   text-shadow: 0 1px 3px rgba(0,0,0,0.8);
   font-size:15px;
  z-index: 2;
   font-size: 15px;
}
}


/* dunkles Overlay für besseren Kontrast */
/* Hover */
a.button-card::after, .button-card::after {
.inline-button-card:hover {
   content: "";
   transform:scale(1.05);
   position: absolute;
   box-shadow:0 6px 18px rgba(0,0,0,0.45);
  inset: 0;
  background: rgba(0,0,0,0.28);
  transition: background 0.26s ease;
  z-index: 1;
}
}
 
.inline-button-card:hover::after {
a.button-card:hover::after {
   background:rgba(0,0,0,0.48);
   background: rgba(0,0,0,0.48);
}
}

Version vom 11. Oktober 2025, 16:46 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

#ca-talk, #ca-addsection { display: none !important; }

#footer-places-about,
#footer-places-disclaimer { display: none !important; }

/* Banner-Container */
.hover-banner {
  background-color: #242424;
  background-size: cover;
  background-position: center;
  padding: 20px 30px;
  border-radius: 20px;      /* abgerundete Ecken */
  text-align: center;
  width: 1000px
  display: inline-block;
}

/* Jedes Wort im Banner */
.hover-banner-word {
  font-size: 25px;           /* Schriftgröße */
  color: white;              /* Standardfarbe */
  text-align: center;
  text-shadow: 2px 2px 5px #000; /* Schatten für Lesbarkeit */
  transition: color 0.3s ease;   /* sanfte Farbänderung */
}

/* Hover-Farbe für jedes Wort */
.hover-banner-word:hover {
  color: #FFD700;            /* Goldene Farbe beim Hover */
  cursor: pointer;           /* Zeigt Mauszeiger an */
}


/* Der gesamte Banner */
.fullwidth-banner {
  width: 100%;                          /* über gesamte Seitenbreite */
  background-color: #242424;
  background-size: cover;               /* füllt den gesamten Bereich */
  background-position: center;
  justify-content: center;
  border-radius: 20px;                  /* abgerundete Ecken */
  padding: 40px 0;                      /* vertikaler Abstand */
  display: block;
  box-sizing: border-box;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #242424;
  border-radius: 20px;
  padding: 15px 50px;
  box-sizing: border-box;
}

.nav-left, .nav-right {
  display: flex;
  gap: 30px;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-center img {
  height: 45px;
}

.nav-bar a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
  text-shadow: 1px 1px 2px black;
}


.inline-button-row { display:flex; flex-wrap:wrap; gap:10px; }

.inline-button-card {
  display:inline-block;
  width:180px;
  height:80px;
  border-radius:12px;
  overflow:hidden;
  position:relative;
  text-decoration:none;
  color:#fff;
  background-size:cover;
  background-position:center;
  transition:transform .26s ease, box-shadow .26s ease;
}

/* Overlay und Text */
.inline-button-card::after {
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.28);
  transition:background .26s ease;
  z-index:1;
}
.inline-button-card .ibc-text {
  position:absolute;
  bottom:8px;
  left:12px;
  right:12px;
  z-index:2;
  font-weight:600;
  text-shadow:0 1px 3px rgba(0,0,0,0.8);
  font-size:15px;
}

/* Hover */
.inline-button-card:hover {
  transform:scale(1.05);
  box-shadow:0 6px 18px rgba(0,0,0,0.45);
}
.inline-button-card:hover::after {
  background:rgba(0,0,0,0.48);
}