Skip to content

Commit

Permalink
fixed twitter x icon
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-lhu committed Aug 8, 2024
1 parent fc46f40 commit 5623a4c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
3 changes: 3 additions & 0 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ params:
math: true
label:
icon: "img/HAOAILAB_trimmed.jpg"
assets:
css:
- "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"

menu:
main:
Expand Down
2 changes: 2 additions & 0 deletions layouts/shortcodes/lab_member.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
object-fit: cover; /* Ensures the image covers the area, cropping as necessary */
}
</style>
<!-- Include Font Awesome CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
</head>

<div class="lab-member">
Expand Down
8 changes: 0 additions & 8 deletions static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,3 @@
.post-content a:hover {
opacity: 75%;
}

.fab.fa-x-twitter{
font-family:sans-serif;
}
.fab.fa-x-twitter::before{
content:"𝕏";
font-size:1.2em;
}
1 change: 1 addition & 0 deletions themes/PaperMod/layouts/partials/social_icons.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
</a>
{{- end }}
</div>

0 comments on commit 5623a4c

Please sign in to comment.