1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 14:46:37 -04:00

cache some partials

This commit is contained in:
2019-12-26 22:06:04 -05:00
parent e10e0e718a
commit ef32f73372
12 changed files with 52 additions and 43 deletions

View File

@ -27,16 +27,18 @@ main#single {
display: block;
}
// reduce margin between image and caption
figure img {
margin-bottom: 0.4em;
}
figure {
// reduce margin between image and caption
img {
margin-bottom: 0.4em;
}
// image captions
figure figcaption {
font-size: 0.9em;
color: $color-medium;
text-align: center;
// image captions
figcaption {
font-size: 0.9em;
color: $color-medium;
text-align: center;
}
}
blockquote {
@ -96,7 +98,9 @@ main#single {
}
}
iframe.twitter-tweet, twitter-widget {
/* stylelint-disable-next-line selector-type-no-unknown */
twitter-widget,
iframe.twitter-tweet {
margin: 0 auto;
display: block;
}
@ -106,7 +110,8 @@ main#single {
}
// all code
div.highlight, code {
code,
div.highlight {
font-family: $system-fonts-monospace;
background: $color-super-light;
font-size: 0.9em;
@ -129,15 +134,17 @@ main#single {
object-fit: scale-down;
font-size: 1em;
margin: 1em 0;
}
div.highlight pre {
display: block;
margin-left: 1.5em;
}
// overrides inline code styles
div.highlight code {
border: 0;
padding: 0;
pre {
display: block;
margin-left: 1.5em;
}
// overrides inline code styles
code {
border: 0;
padding: 0;
}
}
}