@@ -983,60 +983,69 @@ table,
983
983
font-weight : normal;
984
984
}
985
985
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 ;
990
996
}
991
997
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 ;
1001
1009
}
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 ;
1008
1013
}
1009
- # help dt {
1014
+
1015
+ # help-button .popover ::before {
1016
+ right : 48px ;
1017
+ }
1018
+
1019
+ # help-button dt {
1010
1020
float : left;
1011
1021
clear : left;
1012
1022
display : block;
1013
1023
margin-right : 0.5rem ;
1014
1024
}
1015
- # help span .top , # help span .bottom {
1025
+ # help-button span .top , # help-button span .bottom {
1016
1026
text-align : center;
1017
1027
display : block;
1018
1028
font-size : 1.125rem ;
1019
-
1020
1029
}
1021
- # help span .top {
1030
+ # help-button span .top {
1022
1031
text-align : center;
1023
1032
display : block;
1024
1033
margin : 10px 0 ;
1025
1034
border-bottom : 1px solid;
1026
1035
padding-bottom : 4px ;
1027
1036
margin-bottom : 6px ;
1028
1037
}
1029
- # help span .bottom {
1038
+ # help-button span .bottom {
1030
1039
clear : both;
1031
1040
border-top : 1px solid;
1032
1041
}
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 {
1037
1046
width : 50% ;
1038
1047
float : left;
1039
- padding : 0 20px 20px 17px ;;
1048
+ padding : 0 20px 20px 17px ;
1040
1049
}
1041
1050
1042
1051
.item-info .stab {
@@ -1391,7 +1400,7 @@ pre.rust {
1391
1400
# copy-path {
1392
1401
height : 34px ;
1393
1402
}
1394
- # settings-menu > a , # help-button , # copy-path {
1403
+ # settings-menu > a , # help-button > button , # copy-path {
1395
1404
padding : 5px ;
1396
1405
width : 33px ;
1397
1406
border : 1px solid;
@@ -1401,9 +1410,8 @@ pre.rust {
1401
1410
# settings-menu {
1402
1411
padding : 0 ;
1403
1412
}
1404
- # settings-menu > a {
1413
+ # settings-menu > a , # help-button > button {
1405
1414
padding : 5px ;
1406
- width : 100% ;
1407
1415
height : 100% ;
1408
1416
display : block;
1409
1417
}
@@ -1420,7 +1428,7 @@ pre.rust {
1420
1428
animation : rotating 2s linear infinite;
1421
1429
}
1422
1430
1423
- # help-button {
1431
+ # help-button > button {
1424
1432
font-family : "Fira Sans" , Arial, sans-serif;
1425
1433
text-align : center;
1426
1434
/* Rare exception to specifying font sizes in rem. Since this is acting
0 commit comments