Skip to content

Commit

Permalink
Styling improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
ascholerChemeketa committed Nov 4, 2024
1 parent e076032 commit f7ffc3c
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions css/pretext_add_on.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,8 @@
font-size: inherit;
}

.ptx-content figcaption .codenumber:after {
content: "\2002";
}
.ptx-content figcaption .type:last-of-type::after {
/* so, not followed by a span.codenumber */
/* not sure where this is used */
content: "\2002";
.ptx-content figcaption .figcaption__caption {
margin-left: 0.2em;
}

.ptx-content figcaption code.code-inline {
Expand All @@ -99,6 +94,19 @@
margin-top: 1em;
}

.ptx-content .listing > figcaption > .filename {
margin-left: 0.2em;
font-family: "Inconsolata", monospace;
font-weight: 700;
}
.ptx-content .listing > figcaption > .filename::before {
content: "(";
}
.ptx-content .listing > figcaption > .filename::after {
content: ")";
}


.ptx-content figcaption + .named-list-content {
margin-top: 0.6em;
}
Expand Down

0 comments on commit f7ffc3c

Please sign in to comment.