1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-05-15 22:14:28 -04:00

restore image captions in markdown with a "clever" (messy) css hack

This commit is contained in:
2025-03-20 12:00:04 -04:00
parent 3388da2d50
commit b626955731
34 changed files with 413 additions and 455 deletions
+11
View File
@@ -4,3 +4,14 @@
max-width: 100%;
height: auto;
}
/* weird hack to enable image captions in markdown */
.image + em {
display: block;
text-align: center;
margin-top: -0.4em;
font-style: normal;
font-size: 0.95em;
line-height: 1.5;
color: var(--colors-medium);
}