File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -1007,6 +1007,26 @@ h2 {
10071007 margin : 1rem 0 .75rem 0 ;
10081008}
10091009
1010+ h2 : has (a ) {
1011+ width : calc (100% + 1rem );
1012+ margin-left : -1rem ;
1013+ padding-left : 1rem ;
1014+ }
1015+
1016+ h2 : has (a ): hover {
1017+ .headerlink ::before {
1018+ display : block;
1019+ }
1020+ }
1021+
1022+ .headerlink ::before {
1023+ position : absolute;
1024+ content : "#" ;
1025+ margin-left : -1.5rem ;
1026+ opacity : 20% ;
1027+ display : none;
1028+ }
1029+
10101030/* MARK: Tables
10111031*/
10121032table {
Original file line number Diff line number Diff line change 11< h {{ .Level }}
2- id ="{{ .Anchor | safeURL }} "> {{ .Text | safeHTML }} < a class ="headerlink float-right " href ="#{{ .Anchor | safeURL }} " title ="{{ .Text | safeHTML }} "> < i class ="fas fa-link fa-xs "> </ i > </ a >
2+ id ="{{ .Anchor | safeURL }} "> < a class ="headerlink float-right " href ="#{{ .Anchor | safeURL }} " title ="{{ .Text | safeHTML }} "> < i class ="fas fa-link fa-xs "> </ i > </ a > {{ .Text | safeHTML }}
33</ h {{ .Level }}>
You can’t perform that action at this time.
0 commit comments