HF/Jim: Difference between revisions

From Illustrations in German Translations of Mark Twain's Works

No edit summary
Tag: Reverted
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 22: Line 22:
       <img id="jim_slideC" src="" title="No image loaded">
       <img id="jim_slideC" src="" title="No image loaded">
     </div>
     </div>
<!-- Feste MediaInfo-Box -->
    <div class="slide-mediainfo" id="mediainfoC"></div>
     <div class="gallery-button-row">
     <div class="gallery-button-row">
       <button onclick="jim_prevSlide('C')">←</button>
       <button onclick="jim_prevSlide('C')">←</button>
       <button onclick="jim_nextSlide('C')">→</button>
       <button onclick="jim_nextSlide('C')">→</button>
     </div>
     </div>
  <div class="slide-counter" id="counterC">0/0</div>
   </div>
   </div>


Line 45: Line 48:
       <img id="jim_slideD" src="" title="No image loaded">
       <img id="jim_slideD" src="" title="No image loaded">
     </div>
     </div>
<!-- Feste MediaInfo-Box -->
    <div class="slide-mediainfo" id="mediainfoD"></div>
     <div class="gallery-button-row">
     <div class="gallery-button-row">
       <button onclick="jim_prevSlide('D')">←</button>
       <button onclick="jim_prevSlide('D')">←</button>
       <button onclick="jim_nextSlide('D')">→</button>
       <button onclick="jim_nextSlide('D')">→</button>
     </div>
     </div>
<div class="slide-counter" id="counterD">0/0</div>
   </div>
   </div>


Line 58: Line 64:
     display: none;
     display: none;
   }
   }
/* Slideshow Row – sorgt dafür, dass die Boxen nebeneinander stehen */
.slideshow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Abstand zwischen den Boxen */
  justify-content: flex-start;
  margin-bottom: 30px;
}
/* Slideshow Box – Rahmen, Hintergrund, Padding */
.slideshow-box {
  flex: 1 1 45%; /* zwei Boxen pro Reihe, flexibel */
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
}
/* Slideshow Container – Bild wird skaliert */
.slideshow-container {
  width: 100%;
  height: 400px; /* feste Höhe für alle Slideshows */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000; /* schwarzer Hintergrund für Bildrahmen */
  border-radius: 5px;
  margin-top: 10px;
}
.slideshow-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* Dropdown – Illustrator Auswahl */
.slideshow-box select {
  width: 90%;
  padding: 5px;
  margin-top: 5px;
  font-size: 14px;
}
/* Button Row – Navigation */
.gallery-button-row {
  margin-top: 10px;
}
.gallery-button-row button {
  padding: 5px 10px;
  margin: 0 5px;
  font-size: 16px;
  cursor: pointer;
  border: 1px solid #888;
  border-radius: 4px;
  background-color: #eee;
}
.gallery-button-row button:hover {
  background-color: #ddd;
}
</style>
</style>



Latest revision as of 16:49, 16 September 2025




0/0
0/0