Thumbnails: prefer *_thumb child note, fallback to first image; round embedded images and inline code; theme figcaptions
This commit is contained in:
@@ -780,6 +780,8 @@ html.theme-light {
|
||||
background-color: #3c3836;
|
||||
color: #ebdbb2;
|
||||
border-color: #504945;
|
||||
border-radius: 4px;
|
||||
padding: 0.1em 0.35em;
|
||||
}
|
||||
|
||||
html.theme-light .ck-content pre,
|
||||
@@ -796,6 +798,21 @@ html.theme-light #content code {
|
||||
border-color: #bdae93;
|
||||
}
|
||||
|
||||
/* ---------- Eingebettete Bilder: Radius wie Inline-Code ---------- */
|
||||
#content figure img,
|
||||
#content img:not(.blog-thumb) {
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* ---------- Bildunterschriften (Gruvbox) ---------- */
|
||||
#content figcaption {
|
||||
font-size: 0.85em;
|
||||
font-style: italic;
|
||||
color: var(--text-menu);
|
||||
text-align: center;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.hljs {
|
||||
background: #282828;
|
||||
color: #ebdbb2;
|
||||
|
||||
Reference in New Issue
Block a user