Skip to content

Commit 70742e8

Browse files
committed
📚💄 Update rdoc attribute heading styles
This styles attr accessor headings more similarly to method headers. Additionally, since a background color has been applied, the link underlines seemed to be too much. So this disables attr/method header link underlines too.
1 parent 61c35f7 commit 70742e8

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/styles.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,28 @@ main .method-detail {
1010
justify-content: space-between;
1111
}
1212

13-
main .method-header, main .method-controls {
13+
main .method-header,
14+
main .method-controls,
15+
.attribute-method-heading {
1416
padding: 0.5em;
1517
/* border: 1px solid var(--highlight-color); */
1618
background: var(--table-header-background-color);
1719
line-height: 1.6;
1820
}
1921

22+
.attribute-method-heading .attribute-access-type {
23+
float: right;
24+
}
25+
2026
main .method-header {
2127
border-right: none;
2228
border-radius: 4px 0 0 4px;
2329
}
2430

31+
main .method-heading :any-link {
32+
text-decoration: none;
33+
}
34+
2535
main .method-controls {
2636
border-left: none;
2737
border-radius: 0 4px 4px 0;

0 commit comments

Comments
 (0)