Skip to content

Commit 6a3c93e

Browse files
committed
try paragraph icon for js anchor in css
1 parent 7c89d8d commit 6a3c93e

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

css/customstyles.css

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -913,18 +913,13 @@ span.soft {
913913
}
914914
}
915915

916-
*:hover > .anchorjs-link {
917-
transition: color .25s linear;
918-
text-decoration: none;
919-
}
920-
921916
.kbCaption {
922917
color: white;
923918
background-color: #444;
924919
padding:10px;
925920
}
926921

927-
/* this part adds an icon after external links, using FontAwesome */
922+
/* this part adds an icon after links, using FontAwesome */
928923
a:after {
929924
font-family: "FontAwesome";
930925
font-weight: 900;
@@ -937,6 +932,13 @@ a[href^="http://"]:after, a[href^="https://"]:after { content: "\f08e"; } /* ext
937932
a[href^="mailto:"]:after { content: "\f0e0"; } /* email */
938933
a[download]:after { content: "\f019"; } /* download_alt */
939934

935+
/* anchor js icon */
936+
*:hover > .anchorjs-link:after {
937+
/* transition: color .25s linear; */
938+
/* text-decoration: none; */
939+
content: "\f1dd"; /* paragraph */
940+
}
941+
940942
/* Strip the outbound icon when this class is present */
941943
a.noCrossRef:after,
942944
a.no_icon:after {

0 commit comments

Comments
 (0)