@@ -34,6 +34,8 @@ xmlns="http://www.w3.org/2000/svg" fill="black" height="18px">\
34
34
</ g></svg>');
35
35
--button-left-margin : 4px ;
36
36
--button-border-radius : 2px ;
37
+ --toolbar-button-border-radius : 6px ;
38
+ --code-block-border-radius : 6px ;
37
39
}
38
40
39
41
/* See FiraSans-LICENSE.txt for the Fira Sans license. */
@@ -183,7 +185,7 @@ h1, h2, h3, h4 {
183
185
grid-template-columns : 1fr max-content;
184
186
grid-template-rows : 25px min-content min-content;
185
187
padding-bottom : 6px ;
186
- margin-bottom : 15 px ;
188
+ margin-bottom : 11 px ;
187
189
}
188
190
.rustdoc-breadcrumbs {
189
191
grid-area : main-heading-breadcrumbs;
@@ -904,6 +906,7 @@ both the code example and the line numbers, so we need to remove the radius in t
904
906
flex-grow : 0 ;
905
907
grid-area : main-heading-sub-heading;
906
908
line-height : 1.25 ;
909
+ padding-bottom : 4px ;
907
910
}
908
911
909
912
.main-heading rustdoc-toolbar , .main-heading .out-of-band {
@@ -918,6 +921,7 @@ rustdoc-toolbar {
918
921
.docblock code , .docblock-short code ,
919
922
pre , .rustdoc .src .example-wrap {
920
923
background-color : var (--code-block-background-color );
924
+ border-radius : var (--code-block-border-radius );
921
925
}
922
926
923
927
# main-content {
@@ -1315,14 +1319,14 @@ so that we can apply CSS-filters to change the arrow color in themes */
1315
1319
1316
1320
# settings .popover {
1317
1321
--popover-arrow-offset : 202px ;
1318
- top : calc (100% - 12 px );
1322
+ top : calc (100% - 16 px );
1319
1323
}
1320
1324
1321
1325
/* use larger max-width for help popover, but not for help.html */
1322
1326
# help .popover {
1323
1327
max-width : 600px ;
1324
1328
--popover-arrow-offset : 118px ;
1325
- top : calc (100% - 12 px );
1329
+ top : calc (100% - 16 px );
1326
1330
}
1327
1331
1328
1332
# help dt {
@@ -1838,6 +1842,7 @@ a.tooltip:hover::after {
1838
1842
}
1839
1843
# settings-menu > a , # help-button > a , button # toggle-all-docs {
1840
1844
width : 80px ;
1845
+ border-radius : var (--toolbar-button-border-radius );
1841
1846
}
1842
1847
# sidebar-button > a {
1843
1848
background-color : var (--button-background-color );
@@ -1924,6 +1929,7 @@ button[disabled]#toggle-all-docs:hover {
1924
1929
rustdoc-toolbar span .label {
1925
1930
font-size : 1rem ;
1926
1931
flex-grow : 1 ;
1932
+ padding-bottom : 4px ;
1927
1933
}
1928
1934
1929
1935
# sidebar-button > a : before {
0 commit comments