1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-27 19:15:48 -04:00

markdownify image captions

This commit is contained in:
2019-12-19 13:04:02 -05:00
parent 7b3f045231
commit 2465903ff5
22 changed files with 79 additions and 74 deletions

View File

@@ -102,15 +102,14 @@ main#single {
// all code
div.highlight, code {
// https://markdotto.com/2018/02/07/github-system-fonts/
font-family: $system-fonts-monospace;
background: $color-super-light;
font-size: 0.9em;
page-break-inside: avoid;
}
// inline code in paragraphs
p code {
// inline code in paragraphs (single tildes)
code {
border: 1px solid $color-light;
padding: 0.2em;
}
@@ -130,6 +129,11 @@ main#single {
display: block;
margin-left: 1.5em;
}
// overrides inline code styles
div.highlight code {
border: 0;
padding: 0;
}
}
&#meta {