1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-12-04 00:58:56 -05:00

<IFrame /> component

This commit is contained in:
2022-01-18 13:54:12 -05:00
parent eb172b83b0
commit caac9b905a
15 changed files with 141 additions and 78 deletions

View File

@@ -3,13 +3,6 @@
line-height: 1.7;
}
.content blockquote {
margin-left: 0;
padding-left: 1.5em;
border-left: 3px solid var(--link);
color: var(--medium-dark);
}
.content h2,
.content h3,
.content h4 {
@@ -43,6 +36,13 @@
padding-left: 0.25em;
}
.content blockquote {
margin-left: 0;
padding-left: 1.5em;
border-left: 3px solid var(--link);
color: var(--medium-dark);
}
.content hr {
margin: 1.5em auto;
height: 2px;
@@ -50,33 +50,6 @@
background-color: var(--light);
}
.content :global(.image_wrapper) {
line-height: 0;
}
/* default to centering all images */
.content :global(.image_wrapper),
.content figure {
margin: 1em auto;
text-align: center;
}
.content figure :global(.image_wrapper) {
margin-bottom: 0;
}
.content figure figcaption {
margin-top: 0.75em;
font-size: 0.9em;
line-height: 1.5;
color: var(--medium);
}
/* some figcaptions contain paragraphs, some don't, so reset all of them */
.content figure figcaption p {
margin: 0;
}
/* sub-heading anchor styles */
.content :global(.h-anchor) {
margin: 0 0.25em;