Skip to content

Commit 6b34195

Browse files
committed
add style for basic content text
1 parent 3f6e294 commit 6b34195

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

scaladoc/resources/dotty_res/styles/theme/components/table-of-content.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
margin-bottom: calc(2 * var(--base-spacing));
4646
}
4747

48-
.toc-nav a{
48+
#content .toc-nav a {
4949
color: var(--action-primary-content-default);
5050
text-decoration: none;
5151
}

scaladoc/resources/dotty_res/styles/theme/layout/content.css

+19-1
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,26 @@
6060
}
6161
}
6262

63-
#content h1 {
63+
/* content headers */
64+
65+
#content h1, #content h2 {
66+
color: var(--text-primary);
67+
}
68+
69+
/* content paragraph */
70+
#content p {
71+
color: var(--text-secondary);
72+
}
73+
74+
/* content list */
75+
#content li {
76+
color: var(--text-primary);
77+
}
78+
79+
/* content link */
80+
#content a {
6481
color: var(--text-primary);
82+
text-decoration: underline;
6583
}
6684

6785
.breadcrumbs {

0 commit comments

Comments
 (0)