Skip to content

Commit

Permalink
fix remaining font-awesome icons
Browse files Browse the repository at this point in the history
  • Loading branch information
kronnox committed Jan 18, 2024
1 parent 39bf5d7 commit a83269e
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 13 deletions.
16 changes: 9 additions & 7 deletions cigaradvisor/blocks/article-teaser/article-teaser.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
display: flex;
align-items: flex-start;
flex: 1 0 13rem;
width: 100%;
width: 100%;
}

.article-teaser.block .article.article-thumbnail .article-image>img {
Expand Down Expand Up @@ -238,12 +238,14 @@
}

.article-teaser.block .read-more::after {
content: '\f054';
font-family: FontAwesome, sans-serif;
display: inline-block;
width: 12px;
height: 12px;
content: url('/cigaradvisor/icons/angle-right.svg');
margin-left: 8px;
line-height: 1.5;
color: #b19b5e;
font-size: 18px;
vertical-align: top;
margin-top: 2px;
filter: var(--clr-filter-subdued-gold);
}

.article-teaser.block .article-thumbnail .article-read-more {
Expand Down Expand Up @@ -296,4 +298,4 @@
.article-teaser.block .article.article-thumbnail {
min-height: 26.25rem;
}
}
}
18 changes: 12 additions & 6 deletions cigaradvisor/blocks/header/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,13 @@
}

.header.block nav .primary-nav .nav-drop:not([data-secondarynav='search-box']) span::after {
font-size: 16px;
content: '\f107';
font-family: FontAwesome, Arial, sans-serif;
display: inline-block;
width: 16px;
height: 16px;
content: url('/cigaradvisor/icons/angle-down.svg');
margin-left: 10px;
vertical-align: top;
margin-top: 1px
}

/* Secondary navigation */
Expand Down Expand Up @@ -515,10 +518,13 @@
}

.header.block .mobile-nav .nav-drop:not([data-secondarynav='search-box']) span::after {
font-size: 16px;
content: '\f107';
font-family: FontAwesome, Arial, sans-serif;
display: inline-block;
width: 16px;
height: 16px;
content: url('/cigaradvisor/icons/angle-down.svg');
margin-left: 10px;
vertical-align: top;
margin-top: 1px;
}

.header.block .mobile-nav .secondary-nav-box ul li {
Expand Down
1 change: 1 addition & 0 deletions cigaradvisor/icons/angle-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions cigaradvisor/icons/angle-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions cigaradvisor/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
/* filter colors (https://codepen.io/sosuke/pen/Pjoqqp) */
--clr-filter-gray: invert(18%) sepia(4%) saturate(304%) hue-rotate(277deg) brightness(98%) contrast(92%);
--clr-filter-tan: invert(50%) sepia(27%) saturate(408%) hue-rotate(358deg) brightness(93%) contrast(91%);
--clr-filter-subdued-gold: invert(62%) sepia(55%) saturate(302%) hue-rotate(6deg) brightness(90%) contrast(88%);


/* fonts */
Expand Down

0 comments on commit a83269e

Please sign in to comment.