Aktionen

MediaWiki

Common.css: Unterschied zwischen den Versionen

Aus exmediawiki

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 105: Zeile 105:
     height: 50px;
     height: 50px;
   }
   }
/* Reset MediaWiki image styling within slideshow */
.slideshow-gallery-page .slideshow-container {
  position: relative;
  max-width: 800px;
  overflow: hidden; /* Hide scrollbars */
}
.slideshow-gallery-page .slideshow-container img {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  display: block;
  width: 100%;
  height: auto;
}
/* Reset any MediaWiki wrappers */
.slideshow-gallery-page .mySlides > div,
.slideshow-gallery-page .mySlides > figure,
.slideshow-gallery-page .thumb,
.slideshow-gallery-page .thumbinner {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  width: 100% !important;
}
}
}

Version vom 24. Juli 2025, 12:44 Uhr

/* MediaWiki Slideshow Gallery - PAGE SPECIFIC ONLY */
/* Only applies when .slideshow-gallery-page class is present */

.slideshow-gallery-page * {
  box-sizing: border-box;
}

/* Container for the slideshow gallery */
.slideshow-gallery-page .slideshow-container {
  position: relative;
  max-width: 800px;
}

/* Hide the slides by default */
.slideshow-gallery-page .mySlides {
  display: none;
  position: relative;
}

/* Show the active slide */
.slideshow-gallery-page .mySlides.active {
  display: block;
}

/* Next & previous buttons - CIRCULAR with black border, positioned at bottom */
.slideshow-gallery-page .prev,
.slideshow-gallery-page .next {
  cursor: pointer;
  position: absolute;
  bottom: 10px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #000;
  border-radius: 50%;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 20px;
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1000;
  text-decoration: none;
  line-height: 1;
}

/* Position the "previous button" to the bottom-left corner */
.slideshow-gallery-page .prev {
  left: 15px;
}

/* Position the "next button" to the bottom-right corner */
.slideshow-gallery-page .next {
  right: 15px;
}

/* On hover, scale and brighten background */
.slideshow-gallery-page .prev:hover,
.slideshow-gallery-page .next:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

/* Active state */
.slideshow-gallery-page .prev:active,
.slideshow-gallery-page .next:active {
  transform: scale(0.95);
}


/* Responsive design */
@media (max-width: 768px) {
  .slideshow-gallery-page .slideshow-container {
    margin: 10px;
  }
  
  .slideshow-gallery-page .mySlides img,
  .slideshow-gallery-page .slide-text-content {
    height: 300px;
  }
  
  .slideshow-gallery-page .prev,
  .slideshow-gallery-page .next {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .slideshow-gallery-page .prev {
    left: 10px;
  }
  
  .slideshow-gallery-page .next {
    right: 10px;
  }
  
  .slideshow-gallery-page .column {
    max-width: 33.33%;
  }
  
  .slideshow-gallery-page .demo {
    height: 50px;
  }

/* Reset MediaWiki image styling within slideshow */
.slideshow-gallery-page .slideshow-container {
  position: relative;
  max-width: 800px;
  overflow: hidden; /* Hide scrollbars */
}

.slideshow-gallery-page .slideshow-container img {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  display: block;
  width: 100%;
  height: auto;
}

/* Reset any MediaWiki wrappers */
.slideshow-gallery-page .mySlides > div,
.slideshow-gallery-page .mySlides > figure,
.slideshow-gallery-page .thumb,
.slideshow-gallery-page .thumbinner {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  width: 100% !important;
}
}