File tree 1 file changed +14
-2
lines changed
src/librustdoc/html/static/css 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -158,8 +158,8 @@ h1.fqn {
158
158
Underlines elsewhere in the documentation break up visual flow and tend to invert
159
159
section hierarchies. */
160
160
h2 ,
161
- .top-doc h3 ,
162
- .top-doc h4 {
161
+ .top-doc . docblock > h3 ,
162
+ .top-doc . docblock > h4 {
163
163
border-bottom : 1px solid;
164
164
}
165
165
h3 .code-header {
@@ -1669,6 +1669,18 @@ details.rustdoc-toggle[open] > summary.hideme::after {
1669
1669
content : "Collapse" ;
1670
1670
}
1671
1671
1672
+ .docblock details summary {
1673
+ display : flex;
1674
+ list-style : none;
1675
+ align-items : center;
1676
+ }
1677
+ .docblock details [open ] summary ::before {
1678
+ content : "► " ;
1679
+ }
1680
+ .docblock details [open ] summary ::before {
1681
+ content : "▼ " ;
1682
+ }
1683
+
1672
1684
/* Media Queries */
1673
1685
1674
1686
@media (min-width : 701px ) {
You can’t perform that action at this time.
0 commit comments