Skip to content

Commit 62d3e2d

Browse files
Fix bold styles (#52)
* add upshifted heading styles * remove sora on h2, add margin on data lists * revert heading upshift
1 parent 72de3c7 commit 62d3e2d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/css/doc.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,12 @@
265265
text-decoration: line-through;
266266
}
267267

268+
.doc strong,
269+
.doc b {
270+
font-weight: var(--body-font-weight-bold);
271+
color: var(--ds-text-primary);
272+
}
273+
268274
.doc .paragraph,
269275
.doc .dlist,
270276
.doc .hdlist,
@@ -889,6 +895,10 @@
889895
vertical-align: top;
890896
}
891897

898+
.doc dd + dt.hdlist1 {
899+
margin-top: calc(24 / var(--rem-base) * 1rem);
900+
}
901+
892902
.doc tr:first-child > .hdlist1,
893903
.doc tr:first-child > .hdlist2 {
894904
padding-top: 0;

src/css/highlight.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
}
112112

113113
.hljs-strong {
114-
font-weight: bold;
114+
font-weight: 500;
115115
}
116116

117117
.hljs {

0 commit comments

Comments
 (0)