This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed
src/librustdoc/html/static/css Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -1431,10 +1431,7 @@ h3.variant {
14311431}
14321432
14331433# settings-menu > a , # help-button > a , # copy-path {
1434- padding : 5px ;
14351434 width : 33px ;
1436- border : 1px solid var (--border-color );
1437- border-radius : 2px ;
14381435 cursor : pointer;
14391436 line-height : 1.5 ;
14401437}
@@ -1444,10 +1441,18 @@ h3.variant {
14441441 height : 100% ;
14451442 display : block;
14461443 background-color : var (--button-background-color );
1444+ border : 1px solid var (--border-color );
1445+ border-radius : 2px ;
14471446}
14481447
14491448# copy-path {
14501449 color : var (--copy-path-button-color );
1450+ background : var (--main-background-color );
1451+ height : 34px ;
1452+ margin-left : 10px ;
1453+ padding : 0 ;
1454+ padding-left : 2px ;
1455+ border : 0 ;
14511456}
14521457# copy-path > img {
14531458 filter : var (--copy-path-img-filter );
@@ -1495,15 +1500,6 @@ input:checked + .slider {
14951500 padding-top : 2px ;
14961501}
14971502
1498- # copy-path {
1499- height : 34px ;
1500- background-color : var (--main-background-color );
1501- margin-left : 10px ;
1502- padding : 0 ;
1503- padding-left : 2px ;
1504- border : 0 ;
1505- }
1506-
15071503kbd {
15081504 display : inline-block;
15091505 padding : 3px 5px ;
You can’t perform that action at this time.
0 commit comments