Move styles for content elements to 099_content.css

This commit is contained in:
Eryn Wells 2024-07-03 07:30:04 -07:00
parent 32b04bc184
commit b50f4c6a92
4 changed files with 42 additions and 55 deletions

View file

@ -111,21 +111,6 @@ blockquote {
.subheading {
}
.content-title {
margin-block: var(--space-xl) var(--space-l);
.title:has(+ .subtitle) {
margin-block-end: var(--space-xs);
}
.title:not(:has(+ .subtitle)), .subtitle {
margin-block-end: var(--space-m);
}
.content-date {
margin-block-end: var(--space-paragraph);
}
}
.footnotes {
hr {

View file

@ -34,17 +34,6 @@ img {
object-fit: contain;
}
.content {
.heading {
align-items: center;
gap: 0.25em;
display: flex;
}
.codeblock {
overflow: auto;
}
}
.page-navigation {

View file

@ -118,32 +118,3 @@ sup {
.subtitle {
font-weight: lighter;
}
.content {
.codeblock {
font-family: var(--font-family-monospace);
}
.heading, .title {
font-family: var(--font-family-heading);
}
.heading__anchor {
/* font-family: var(--font-family-monospace); */
font-size: 60%;
text-decoration: none;
}
.footnotes {
font-size: 90%;
li:not(:last-child) {
margin-block-end: var(--space-xs);
}
p {
font-size: inherit;
}
}
}

View file

@ -0,0 +1,42 @@
.content {
.heading {
align-items: center;
gap: 0.25em;
display: flex;
}
.heading__anchor {
/* font-family: var(--font-family-monospace); */
font-size: 60%;
text-decoration: none;
}
.codeblock {
font-family: var(--font-family-monospace);
overflow: auto;
}
}
.content-title {
margin-block: var(--space-xl) var(--space-l);
.title:has(+ .subtitle) {
margin-block-end: var(--space-xs);
}
.title:not(:has(+ .subtitle)), .subtitle {
margin-block-end: var(--space-m);
}
.subtitle {
color: var(--gray3);
}
.content-date {
color: var(--gray4);
font-weight: normal;
font-size: var(--text-s);
margin-block-end: var(--space-paragraph);
}
}