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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user