added pdf icon when a pdf is in the link URL
This commit is contained in:
parent
eca85816d4
commit
d2d0b5d39a
File diff suppressed because one or more lines are too long
|
@ -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;
|
||||||
|
@ -31,7 +29,6 @@ a[href$=".pdf"] {
|
||||||
font-family: 'Font Awesome 5 Free';
|
font-family: 'Font Awesome 5 Free';
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
content: "\f1c1";
|
content: "\f1c1";
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.excerpt,.post-excerpt{
|
.excerpt,.post-excerpt{
|
||||||
|
|
Loading…
Reference in New Issue