@@ -983,60 +983,69 @@ table,
983983 font-weight : normal;
984984}
985985
986- body .blur > : not (# help ) {
987- filter : blur (8px );
988- -webkit-filter : blur (8px );
989- opacity : .7 ;
986+ .popover {
987+ font-size : 1rem ;
988+ position : absolute;
989+ right : 0 ;
990+ z-index : 2 ;
991+ display : block;
992+ margin-top : 7px ;
993+ border-radius : 3px ;
994+ border : 1px solid;
995+ font-size : 1rem ;
990996}
991997
992- # help {
993- width : 100% ;
994- height : 100vh ;
995- position : fixed;
996- top : 0 ;
997- left : 0 ;
998- display : flex;
999- justify-content : center;
1000- align-items : center;
998+ /* This rule is to draw the little arrow connecting the settings menu to the gear icon. */
999+ .popover ::before {
1000+ content : '' ;
1001+ position : absolute;
1002+ right : 11px ;
1003+ border : solid;
1004+ border-width : 1px 1px 0 0 ;
1005+ display : inline-block;
1006+ padding : 4px ;
1007+ transform : rotate (-45deg );
1008+ top : -5px ;
10011009}
1002- # help > div {
1003- flex : 0 0 auto;
1004- box-shadow : 0 0 6px rgba (0 , 0 , 0 , .2 );
1005- width : 550px ;
1006- height : auto;
1007- border : 1px solid;
1010+
1011+ # help-button .popover {
1012+ max-width : 600px ;
10081013}
1009- # help dt {
1014+
1015+ # help-button .popover ::before {
1016+ right : 48px ;
1017+ }
1018+
1019+ # help-button dt {
10101020 float : left;
10111021 clear : left;
10121022 display : block;
10131023 margin-right : 0.5rem ;
10141024}
1015- # help span .top , # help span .bottom {
1025+ # help-button span .top , # help-button span .bottom {
10161026 text-align : center;
10171027 display : block;
10181028 font-size : 1.125rem ;
1019-
10201029}
1021- # help span .top {
1030+ # help-button span .top {
10221031 text-align : center;
10231032 display : block;
10241033 margin : 10px 0 ;
10251034 border-bottom : 1px solid;
10261035 padding-bottom : 4px ;
10271036 margin-bottom : 6px ;
10281037}
1029- # help span .bottom {
1038+ # help-button span .bottom {
10301039 clear : both;
10311040 border-top : 1px solid;
10321041}
1033- # help dd { margin : 5 px 35 px ; }
1034- # help . infos { padding-left : 0 ; }
1035- # help h1 , # help h2 { margin-top : 0 ; }
1036- # help > div div {
1042+ . side-by-side {
1043+ text-align : initial;
1044+ }
1045+ . side-by-side > div {
10371046 width : 50% ;
10381047 float : left;
1039- padding : 0 20px 20px 17px ;;
1048+ padding : 0 20px 20px 17px ;
10401049}
10411050
10421051.item-info .stab {
@@ -1391,7 +1400,7 @@ pre.rust {
13911400# copy-path {
13921401 height : 34px ;
13931402}
1394- # settings-menu > a , # help-button , # copy-path {
1403+ # settings-menu > a , # help-button > button , # copy-path {
13951404 padding : 5px ;
13961405 width : 33px ;
13971406 border : 1px solid;
@@ -1401,9 +1410,8 @@ pre.rust {
14011410# settings-menu {
14021411 padding : 0 ;
14031412}
1404- # settings-menu > a {
1413+ # settings-menu > a , # help-button > button {
14051414 padding : 5px ;
1406- width : 100% ;
14071415 height : 100% ;
14081416 display : block;
14091417}
@@ -1420,7 +1428,7 @@ pre.rust {
14201428 animation : rotating 2s linear infinite;
14211429}
14221430
1423- # help-button {
1431+ # help-button > button {
14241432 font-family : "Fira Sans" , Arial, sans-serif;
14251433 text-align : center;
14261434 /* Rare exception to specifying font sizes in rem. Since this is acting
0 commit comments