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 {
1007
1007
margin : 1rem 0 .75rem 0 ;
1008
1008
}
1009
1009
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
+
1010
1030
/* MARK: Tables
1011
1031
*/
1012
1032
table {
Original file line number Diff line number Diff line change 1
1
< 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 }}
3
3
</ h {{ .Level }}>
You can’t perform that action at this time.
0 commit comments