Skip to content

Commit

Permalink
スキン制御でFontawesome5とした際、本文設定のアイコンが表示されない不具合修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yhira committed Jan 15, 2024
1 parent 638bdc7 commit faee137
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 3 deletions.
22 changes: 21 additions & 1 deletion css/fontawesome5.css
Expand Up @@ -38,6 +38,7 @@
.fab-window-close-o::before,
.list-window-close-o li::before,
.fa-picture-o:before,
.fa-share-square-o::before,
.search-form div.sbtn::after {
font-family: "Font Awesome 5 Free";
font-weight: 400;
Expand All @@ -47,6 +48,10 @@
content: "\f03e";
}

.fa-share-square-o::before {
content: "\f14d";
}

.is-style-comment-box::before,
.comment-box::before {
content: "\f075";
Expand Down Expand Up @@ -236,11 +241,26 @@
.search-form div.sbtn:before,
.slick-prev.slick-arrow::before,
.slick-next.slick-arrow::before,
.fa-exclamation-triangle::before {
.fa-exclamation-triangle::before,
.fa-external-link::before,
.fa-level-up::before,
.fa-sign-out::before {
font-family: "Font Awesome 5 Free";
font-weight: 900;
}

.fa-external-link::before {
content: "\f35d";
}

.fa-level-up::before {
content: "\f3bf";
}

.fa-sign-out::before {
content: "\f2f5";
}

.is-style-memo-box::before,
.memo-box::before,
.fab-pencil::before {
Expand Down
23 changes: 21 additions & 2 deletions scss/fontawesome5.scss
Expand Up @@ -45,8 +45,8 @@
.fab-window-close-o::before,
.list-window-close-o li::before,
.fa-picture-o:before,
.fa-share-square-o::before,
.search-form div.sbtn::after
// .comment-reply-link::before
{
font-family: "Font Awesome 5 Free";
font-weight: 400;
Expand All @@ -56,6 +56,10 @@
content: '\f03e';
}

.fa-share-square-o::before {
content: '\f14d';
}

.is-style-comment-box::before,
.comment-box::before{content: "\f075";}
.is-style-ok-box::before,
Expand Down Expand Up @@ -239,12 +243,27 @@
.search-form div.sbtn:before,
.slick-prev.slick-arrow::before,
.slick-next.slick-arrow::before,
.fa-exclamation-triangle::before
.fa-exclamation-triangle::before,
.fa-external-link::before,
.fa-level-up::before,
.fa-sign-out::before
{
font-family: "Font Awesome 5 Free";
font-weight: 900;
}

.fa-external-link::before {
content:'\f35d';
}

.fa-level-up::before {
content: '\f3bf';
}

.fa-sign-out::before {
content: '\f2f5';
}

.is-style-memo-box::before,
.memo-box::before,
.fab-pencil::before{content: "\f303";}
Expand Down

0 comments on commit faee137

Please sign in to comment.