Missing changes
This commit is contained in:
@@ -308,6 +308,42 @@ main > h2 {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
/* === Embedded images ===
|
||||
Wiki-style figure box: a bounded, framed thumbnail with an optional caption.
|
||||
The fixed width matches the 300px thumbnail request so the box never scales
|
||||
the image up. left/right float so body text wraps; center is a plain block. */
|
||||
.embed {
|
||||
margin: var(--space-2) 0;
|
||||
width: 300px;
|
||||
max-width: 100%;
|
||||
padding: var(--space-2);
|
||||
background: var(--bg-panel);
|
||||
border: var(--border);
|
||||
}
|
||||
.embed-left {
|
||||
float: left;
|
||||
margin-right: var(--space-4);
|
||||
}
|
||||
.embed-right {
|
||||
float: right;
|
||||
margin-left: var(--space-4);
|
||||
}
|
||||
.embed-center {
|
||||
margin-inline: auto;
|
||||
}
|
||||
.embed .embed-link { display: block; }
|
||||
.embed img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.embed figcaption {
|
||||
margin-top: var(--space-2);
|
||||
color: var(--text-muted);
|
||||
font-size: var(--font-sm);
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
a.heading-anchor {
|
||||
color: var(--text-muted);
|
||||
margin-right: 0.4em;
|
||||
|
||||
Reference in New Issue
Block a user