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"] { a[href$=".pdf"]:after {
&:after {
/* https://fontawesome.com/v5.0/icons */ /* https://fontawesome.com/v5.0/icons */
display: inline-block;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
display: inline-block; display: inline-block;
@ -32,7 +30,6 @@ a[href$=".pdf"] {
font-weight: 900; font-weight: 900;
content: "\f1c1"; content: "\f1c1";
} }
}
.excerpt,.post-excerpt{ .excerpt,.post-excerpt{
a { a {