@@ -979,60 +979,69 @@ table,
979
979
font-weight : normal;
980
980
}
981
981
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 ;
986
992
}
987
993
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 ;
997
1005
}
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 ;
1004
1009
}
1005
- # help dt {
1010
+
1011
+ # help-button .popover ::before {
1012
+ right : 48px ;
1013
+ }
1014
+
1015
+ # help-button dt {
1006
1016
float : left;
1007
1017
clear : left;
1008
1018
display : block;
1009
1019
margin-right : 0.5rem ;
1010
1020
}
1011
- # help span .top , # help span .bottom {
1021
+ # help-button span .top , # help-button span .bottom {
1012
1022
text-align : center;
1013
1023
display : block;
1014
1024
font-size : 1.125rem ;
1015
-
1016
1025
}
1017
- # help span .top {
1026
+ # help-button span .top {
1018
1027
text-align : center;
1019
1028
display : block;
1020
1029
margin : 10px 0 ;
1021
1030
border-bottom : 1px solid;
1022
1031
padding-bottom : 4px ;
1023
1032
margin-bottom : 6px ;
1024
1033
}
1025
- # help span .bottom {
1034
+ # help-button span .bottom {
1026
1035
clear : both;
1027
1036
border-top : 1px solid;
1028
1037
}
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 {
1033
1042
width : 50% ;
1034
1043
float : left;
1035
- padding : 0 20px 20px 17px ;;
1044
+ padding : 0 20px 20px 17px ;
1036
1045
}
1037
1046
1038
1047
.item-info .stab {
@@ -1387,7 +1396,7 @@ pre.rust {
1387
1396
# copy-path {
1388
1397
height : 34px ;
1389
1398
}
1390
- # settings-menu > a , # help-button , # copy-path {
1399
+ # settings-menu > a , # help-button > button , # copy-path {
1391
1400
padding : 5px ;
1392
1401
width : 33px ;
1393
1402
border : 1px solid;
@@ -1397,9 +1406,8 @@ pre.rust {
1397
1406
# settings-menu {
1398
1407
padding : 0 ;
1399
1408
}
1400
- # settings-menu > a {
1409
+ # settings-menu > a , # help-button > button {
1401
1410
padding : 5px ;
1402
- width : 100% ;
1403
1411
height : 100% ;
1404
1412
display : block;
1405
1413
}
@@ -1416,7 +1424,7 @@ pre.rust {
1416
1424
animation : rotating 2s linear infinite;
1417
1425
}
1418
1426
1419
- # help-button {
1427
+ # help-button > button {
1420
1428
font-family : "Fira Sans" , Arial, sans-serif;
1421
1429
text-align : center;
1422
1430
/* Rare exception to specifying font sizes in rem. Since this is acting
0 commit comments