Skip to content

Commit b67082a

Browse files
committed
Style improvements for code blocks
1 parent fb8d7e6 commit b67082a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

sass/_extra.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,15 @@ a:focus {
2424
h1 {
2525
font-family: "Raleway",Helvetica,Arial,sans-serif;
2626
}
27+
28+
/* Disable the extra top-margin of the first paragraph in a blockquote, so that
29+
* the blockquote has equal padding at the top and at the bottom. */
30+
blockquote > p:first-child {
31+
margin-top: 0;
32+
}
33+
34+
/* The 0.8rem defined by abridge.css results in text quite a bit smaller than
35+
* the main body text. 1rem makes more sense. */
36+
code {
37+
font-size: 1rem;
38+
}

0 commit comments

Comments
 (0)