Vorlage:Buchbox: Unterschied zwischen den Versionen
Aus WikiToYes
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<div | <div style="display:flex; margin:0; padding:0; border:0; line-height:1; font-size:14px;"> | ||
<!-- Bild | <!-- Bild (400px, direkt am Rand) --> | ||
<div | <div style="flex:0 0 400px; margin:0; padding:0; background:none;"> | ||
[[Datei:Home-fachbuch.png|400px|class=img-responsive]] | |||
</div> | </div> | ||
<!-- | <!-- Metadaten + TOC-Button --> | ||
<div | <div style="flex:1; margin:0 0 0 10px; padding:0; display:flex; flex-direction:column;"> | ||
<div style=" | <!-- Standortangaben (1-zeilig) --> | ||
'''Standort:''' [[Kategorie: | <div style="margin:0; padding:2px 0; font-size:0.9em;"> | ||
'''Version:''' 2. | '''Standort:''' [[Kategorie:Technik]] • [[Buch::Handbuch]] • | ||
'''Version:''' 2.3 | |||
</div> | </div> | ||
<div style=" | <!-- TOC als Popup-Button --> | ||
<div style="position: | <div style="margin:0; padding:0;"> | ||
<button | |||
onclick="document.getElementById('toc-popup').style.display='block'" | |||
style="background:#f8f9fa; border:1px solid #a2a9b1; padding:3px 8px; cursor:pointer;" | |||
> | |||
Inhaltsverzeichnis anzeigen | |||
</button> | |||
<!-- Popup-Container (hidden by default) --> | |||
<div id="toc-popup" style="display:none; position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); background:white; padding:20px; border:1px solid #aaa; z-index:1000; max-height:80vh; overflow:auto; box-shadow:0 0 10px rgba(0,0,0,0.3);"> | |||
<div style="text-align:right;"> | |||
<button | |||
onclick="document.getElementById('toc-popup').style.display='none'" | |||
style="background:none; border:none; cursor:pointer; font-size:1.2em;" | |||
>✕</button> | |||
</div> | |||
__TOC__ | __TOC__ | ||
</div> | </div> | ||
| Zeile 20: | Zeile 36: | ||
</div> | </div> | ||
<!-- Horizontale | <!-- Horizontale Linie (1px) --> | ||
< | <hr style="margin:3px 0; border-top:1px solid #ddd; border-bottom:none;"> | ||
Version vom 16. Juli 2025, 09:35 Uhr
Standort: • Handbuch • Version: 2.3
<button
onclick="document.getElementById('toc-popup').style.display='block'"
style="background:#f8f9fa; border:1px solid #a2a9b1; padding:3px 8px; cursor:pointer;"
>
Inhaltsverzeichnis anzeigen
</button>