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