@@ -979,60 +979,69 @@ table,
979979 font-weight : normal;
980980}
981981
982- body .blur > : not (# help ) {
983- filter : blur (8px );
984- -webkit-filter : blur (8px );
985- opacity : .7 ;
982+ .popover {
983+ font-size : 1rem ;
984+ position : absolute;
985+ right : 0 ;
986+ z-index : 2 ;
987+ display : block;
988+ margin-top : 7px ;
989+ border-radius : 3px ;
990+ border : 1px solid;
991+ font-size : 1rem ;
986992}
987993
988- # help {
989- width : 100% ;
990- height : 100vh ;
991- position : fixed;
992- top : 0 ;
993- left : 0 ;
994- display : flex;
995- justify-content : center;
996- align-items : center;
994+ /* This rule is to draw the little arrow connecting the settings menu to the gear icon. */
995+ .popover ::before {
996+ content : '' ;
997+ position : absolute;
998+ right : 11px ;
999+ border : solid;
1000+ border-width : 1px 1px 0 0 ;
1001+ display : inline-block;
1002+ padding : 4px ;
1003+ transform : rotate (-45deg );
1004+ top : -5px ;
9971005}
998- # help > div {
999- flex : 0 0 auto;
1000- box-shadow : 0 0 6px rgba (0 , 0 , 0 , .2 );
1001- width : 550px ;
1002- height : auto;
1003- border : 1px solid;
1006+
1007+ # help-button .popover {
1008+ max-width : 600px ;
10041009}
1005- # help dt {
1010+
1011+ # help-button .popover ::before {
1012+ right : 48px ;
1013+ }
1014+
1015+ # help-button dt {
10061016 float : left;
10071017 clear : left;
10081018 display : block;
10091019 margin-right : 0.5rem ;
10101020}
1011- # help span .top , # help span .bottom {
1021+ # help-button span .top , # help-button span .bottom {
10121022 text-align : center;
10131023 display : block;
10141024 font-size : 1.125rem ;
1015-
10161025}
1017- # help span .top {
1026+ # help-button span .top {
10181027 text-align : center;
10191028 display : block;
10201029 margin : 10px 0 ;
10211030 border-bottom : 1px solid;
10221031 padding-bottom : 4px ;
10231032 margin-bottom : 6px ;
10241033}
1025- # help span .bottom {
1034+ # help-button span .bottom {
10261035 clear : both;
10271036 border-top : 1px solid;
10281037}
1029- # help dd { margin : 5 px 35 px ; }
1030- # help . infos { padding-left : 0 ; }
1031- # help h1 , # help h2 { margin-top : 0 ; }
1032- # help > div div {
1038+ . side-by-side {
1039+ text-align : initial;
1040+ }
1041+ . side-by-side > div {
10331042 width : 50% ;
10341043 float : left;
1035- padding : 0 20px 20px 17px ;;
1044+ padding : 0 20px 20px 17px ;
10361045}
10371046
10381047.item-info .stab {
@@ -1387,7 +1396,7 @@ pre.rust {
13871396# copy-path {
13881397 height : 34px ;
13891398}
1390- # settings-menu > a , # help-button , # copy-path {
1399+ # settings-menu > a , # help-button > button , # copy-path {
13911400 padding : 5px ;
13921401 width : 33px ;
13931402 border : 1px solid;
@@ -1397,9 +1406,8 @@ pre.rust {
13971406# settings-menu {
13981407 padding : 0 ;
13991408}
1400- # settings-menu > a {
1409+ # settings-menu > a , # help-button > button {
14011410 padding : 5px ;
1402- width : 100% ;
14031411 height : 100% ;
14041412 display : block;
14051413}
@@ -1416,7 +1424,7 @@ pre.rust {
14161424 animation : rotating 2s linear infinite;
14171425}
14181426
1419- # help-button {
1427+ # help-button > button {
14201428 font-family : "Fira Sans" , Arial, sans-serif;
14211429 text-align : center;
14221430 /* Rare exception to specifying font sizes in rem. Since this is acting
0 commit comments