Aggiunto zoom immagini (click to enlarge) con mkdocs-glightbox

This commit is contained in:
2026-07-26 14:04:59 +02:00
parent 254045dc16
commit 2ab16d910e
10 changed files with 307 additions and 7 deletions

View File

@@ -226,3 +226,24 @@ p > img.screenshot + em {
.bal-hero .logo-dark { display: none; }
[data-md-color-scheme="slate"] .bal-hero .logo-light { display: none; }
[data-md-color-scheme="slate"] .bal-hero .logo-dark { display: inline; }
/* -------- Diagrams -------------------------------------------------------- */
/* Wide technical diagrams: full content width, light frame, no drop shadow
(they already have their own internal panels). */
img.diagram {
display: block;
width: 100%;
height: auto;
border: 1px solid var(--md-default-fg-color--lightest);
border-radius: 8px;
background: var(--bal-panel);
padding: 4px;
}
[data-md-color-scheme="slate"] img.diagram { background: #f6f8fa; }
img.diagram + em {
display: block;
margin-top: .4rem;
font-size: .72rem;
font-style: normal;
color: var(--md-default-fg-color--light);
}