@@ -138,7 +138,7 @@ h1, h2, h3, h4 {
138
138
margin-top : 0 ;
139
139
}
140
140
.main-heading h1 {
141
- margin : 9 px 0 0 0 ;
141
+ margin : 0 ;
142
142
padding : 0 ;
143
143
flex-grow : 1 ;
144
144
/* We use overflow-wrap: break-word for Safari, which doesn't recognize
@@ -151,7 +151,7 @@ h1, h2, h3, h4 {
151
151
.main-heading {
152
152
display : flex;
153
153
flex-wrap : wrap;
154
- padding-bottom : 6px ;
154
+ padding : 9 px 0 6px 0 ;
155
155
margin-bottom : 15px ;
156
156
}
157
157
/* The only headings that get underlines are:
@@ -570,6 +570,8 @@ ul.block, .block li {
570
570
overflow-wrap : break-word;
571
571
/* opposite of the link padding, cut in half again */
572
572
margin-top : calc ( ( -16px + 0.57rem ) / 2 );
573
+ /* same font style used in `.since` */
574
+ font-variant-numeric : oldstyle-nums;
573
575
}
574
576
575
577
.sidebar-crate + .version {
@@ -668,7 +670,10 @@ ul.block, .block li {
668
670
669
671
.out-of-band {
670
672
flex-grow : 0 ;
671
- font-size : 1.125rem ;
673
+ font-size : 1.25rem ;
674
+ align-items : center;
675
+ display : flex;
676
+ gap : 0.25em ;
672
677
}
673
678
674
679
.docblock code , .docblock-short code ,
@@ -1120,6 +1125,8 @@ so that we can apply CSS-filters to change the arrow color in themes */
1120
1125
.since {
1121
1126
font-weight : normal;
1122
1127
font-size : initial;
1128
+ /* align with the word "source" in all lowercase */
1129
+ font-variant-numeric : oldstyle-nums;
1123
1130
}
1124
1131
1125
1132
.rightside {
@@ -1596,7 +1603,7 @@ details.toggle > summary::before {
1596
1603
/* toggle plus */
1597
1604
background : url ('data:image/svg+xml,<svg width="19" height="19" stroke="black" fill="none" \
1598
1605
xmlns= "http://www.w3.org/2000/svg" > <path d= "M2.5 2.5h14v14h-14v-14.5" \
1599
- shape-rendering= "crispEdges" / > <path d= "M6 9.5h7M9.5 13.5V5.5" / > </svg>') no-repeat top left;
1606
+ shape-rendering= "crispEdges" stroke="grey" /><path d="M6 9.5 h7M9.5 13.5 V5.5"/></svg>') no-repeat top left;
1600
1607
content : "" ;
1601
1608
cursor : pointer;
1602
1609
width : 18px ;
@@ -1675,9 +1682,8 @@ details.toggle[open] > summary.hideme > span {
1675
1682
1676
1683
details .toggle [open ] > summary ::before {
1677
1684
/* toggle minus */
1678
- background : url ('data:image/svg+xml,<svg width="19" height="19" \
1679
- shape-rendering= "crispEdges" stroke="black" fill="none" xmlns="http://www.w3.org/2000/svg"><path \
1680
- d= "M2.5 2.5h14v14h-14v-14.5" / > <path d= "M6 9.5h7" / > </svg>') no-repeat top left;
1685
+ background : url ('data:image/svg+xml,<svg width="15" height="15" stroke="black" fill="none" \
1686
+ xmlns= "http://www.w3.org/2000/svg" > <path d= "M3 6.5h7" / > </svg>') no-repeat top left;
1681
1687
}
1682
1688
1683
1689
details .toggle [open ] > summary ::after {
@@ -1743,6 +1749,7 @@ in src-script.js
1743
1749
text-align : left;
1744
1750
margin-left : initial;
1745
1751
padding : initial;
1752
+ display : block;
1746
1753
}
1747
1754
1748
1755
.out-of-band .since ::before {
0 commit comments