Skip to content

Commit 2876111

Browse files
committed
Fix font size for code tag & table heading
1 parent c4e45e1 commit 2876111

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

src/css/base.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,20 @@ pre {
6464

6565
code {
6666
background-color: #0074e00e;
67-
font-size: var(--font-small);
67+
/* font-size: var(--font-small); */
68+
font-size: inherit;
6869
word-spacing: -0.125em;
6970
color: var(--color-brand-gray1);
7071
}
7172

73+
h2 code,
74+
h3 code,
75+
h4 code,
76+
h5 code,
77+
a code {
78+
font-size: inherit;
79+
}
80+
7281
html code {
7382
hyphens: none;
7483
}

src/css/table.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,15 @@ table.tableblock thead th {
4040
padding-bottom: var(--base-space);
4141
text-align: left;
4242
border-bottom: 2px solid var(--color-brand-blue-secondary);
43-
font-size: 1rem;
44-
line-height: 1.25rem;
43+
font-size: 1.125rem;
44+
line-height: 1.5rem;
4545
font-weight: var(--weight-semibold);
4646
}
4747

48+
/* table.tableblock tbody td:first-child strong {
49+
font-size: 1.125rem;
50+
} */
51+
4852
table.tableblock tbody tr {
4953
display: table-cell;
5054
}

0 commit comments

Comments
 (0)