Skip to content

Commit

Permalink
carrousel arrow (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
kailasnadh790 authored Jan 22, 2024
1 parent 0d8241b commit 9c2088b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cigaradvisor/blocks/carousel/carousel.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,17 @@
}

.carousel.block .carousel-arrow .next-icon::before {
content: '\f054';
content: '\f105';
font-family: var(--ff-fontawesome);
padding-left: 50%;
font-size: var(--body-font-size-xxl);
font-size: var(--body-font-size-xxxl);
}

.carousel.block .carousel-arrow .prev-icon::before {
content: '\f053';
content: '\f104';
font-family: var(--ff-fontawesome);
padding-left: 50%;
font-size: var(--body-font-size-xxl);
font-size: var(--body-font-size-xxxl);
}

.carousel.block .carousel-arrow.arrow-prev.disabled, .carousel.block .carousel-arrow.arrow-next.disabled {
Expand Down
Binary file added cigaradvisor/fonts/fontawesome-webfont.woff
Binary file not shown.
7 changes: 7 additions & 0 deletions cigaradvisor/styles/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,10 @@
font-display: swap;
src: url('../fonts/alfaslabone.woff2') format('woff2');
}

@font-face {
font-family: 'Font Awesome';
font-style: normal;
font-display: swap;
src: url('../fonts/fontawesome-webfont.woff') format('woff2');
}
2 changes: 2 additions & 0 deletions cigaradvisor/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
--ff-opensans: 'Open Sans', 'Open Sans Fallback', sans-serif;
--ff-montserrat: 'Montserrat', 'Montserrat Fallback', sans-serif;
--ff-alfaslabone: 'Alfa Slab One', 'Alfa Slab One Fallback', cursive;
--ff-fontawesome: 'Font Awesome';

/* heading sizes */
--heading-font-size-xxs: 18px;
Expand All @@ -73,6 +74,7 @@
--body-font-size-l: 18px;
--body-font-size-xl: 20px;
--body-font-size-xxl: 24px;
--body-font-size-xxxl: 40px;

/* Line Heights */
--line-height-xs: 1.15em;
Expand Down

0 comments on commit 9c2088b

Please sign in to comment.