added pdf icon when a pdf is in the link URL

This commit is contained in:
jorge 2021-11-19 15:54:04 +01:00
parent eca85816d4
commit d2d0b5d39a
2 changed files with 2 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -17,10 +17,8 @@ header nav {
}
a[href$=".pdf"] {
&:after {
a[href$=".pdf"]:after {
/* https://fontawesome.com/v5.0/icons */
display: inline-block;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: inline-block;
@ -31,7 +29,6 @@ a[href$=".pdf"] {
font-family: 'Font Awesome 5 Free';
font-weight: 900;
content: "\f1c1";
}
}
.excerpt,.post-excerpt{