@@ -1027,19 +1027,26 @@ li .code-block {
1027
1027
}
1028
1028
1029
1029
.highlight-v2 {
1030
- padding : 0 1rem 0 0 ;
1031
1030
margin : 0 0 1rem 0 ;
1032
1031
border-top : 1px solid # cccccc ;
1033
1032
border-bottom : 1px solid # cccccc ;
1034
1033
overflow-x : scroll;
1035
1034
scrollbar-width : none;
1036
1035
width : calc (100% + var (--overflow-gutter-extension ));
1036
+
1037
+ background-image : linear-gradient (to right, white, white),
1038
+ linear-gradient (to right, white, white),
1039
+ linear-gradient (to right, rgba (165 , 165 , 165 , 0.25 ), rgba (255 , 255 , 255 , 0 )),
1040
+ linear-gradient (to left, rgba (165 , 165 , 165 , 0.25 ), rgba (255 , 255 , 255 , 0 ));
1041
+ background-position : left center, right center, left center, right center;
1042
+ background-repeat : no-repeat;
1043
+ background-size : 12px 100% , 12px 100% , 10px 100% , 10px 100% ;
1044
+ background-attachment : local, local, scroll, scroll;
1037
1045
}
1038
1046
1039
1047
.highlight-v2 .single-line {
1040
1048
display : flex;
1041
1049
align-items : center;
1042
- padding : 0 1rem 0 0 ;
1043
1050
border : 1px solid # cccccc ;
1044
1051
overflow-x : scroll;
1045
1052
width : calc (100% + var (--overflow-gutter-extension ));
@@ -1094,9 +1101,11 @@ figure {
1094
1101
margin : 0 ;
1095
1102
}
1096
1103
1104
+ img ,
1097
1105
.figure-bitmap {
1098
1106
margin-bottom : 0.625rem ;
1099
1107
display : inline-block;
1108
+ width : 100% ;
1100
1109
max-width : 100% ;
1101
1110
}
1102
1111
0 commit comments