File tree Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change @@ -1007,6 +1007,66 @@ h2 {
1007
1007
margin : 1rem 0 .75rem 0 ;
1008
1008
}
1009
1009
1010
+ h2 : target ,
1011
+ h3 : target ,
1012
+ h4 : target ,
1013
+ h5 : target ,
1014
+ h6 : target {
1015
+ .headerlink ::before {
1016
+ display : block !important ;
1017
+ }
1018
+ }
1019
+
1020
+ h2 : has (a ),
1021
+ h3 : has (a ),
1022
+ h4 : has (a ),
1023
+ h5 : has (a ),
1024
+ h6 : has (a ) {
1025
+ width : calc (100% + 1rem );
1026
+ margin-left : -1rem ;
1027
+ padding-left : 1rem ;
1028
+ position : relative;
1029
+ }
1030
+
1031
+ h2 : has (a ): hover {
1032
+ .headerlink ::before {
1033
+ display : block;
1034
+ }
1035
+ }
1036
+
1037
+ h3 : has (a ): hover {
1038
+ .headerlink ::before {
1039
+ display : block;
1040
+ }
1041
+ }
1042
+
1043
+ h4 : has (a ): hover {
1044
+ .headerlink ::before {
1045
+ display : block;
1046
+ }
1047
+ }
1048
+
1049
+ h5 : has (a ): hover {
1050
+ .headerlink ::before {
1051
+ display : block;
1052
+ }
1053
+ }
1054
+
1055
+ h6 : has (a ): hover {
1056
+ .headerlink ::before {
1057
+ display : block;
1058
+ }
1059
+ }
1060
+
1061
+ .headerlink ::before {
1062
+ position : absolute;
1063
+ content : "#" ;
1064
+ margin-left : -1.5rem ;
1065
+ opacity : 20% ;
1066
+ display : none;
1067
+ top : 0 ;
1068
+ }
1069
+
1010
1070
/* MARK: Tables
1011
1071
*/
1012
1072
table {
You can’t perform that action at this time.
0 commit comments