Skip to content

Commit

Permalink
bring descriptions into itd home page
Browse files Browse the repository at this point in the history
  • Loading branch information
SallyMcGrath committed Oct 24, 2024
1 parent 75781e1 commit 21b1f50
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common-theme/assets/styles/04-components/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
position: relative;
grid-template:
". . . . ." var(--theme-spacing--gutter)
". title . image ." minmax(7ch, auto)
". meta . image ." minmax(0, 1fr)
". title . image ." minmax(1em, auto)
". meta . image ." minmax(0, auto)
". description . image ." minmax(0, 1fr)
". . . . ." var(--theme-spacing--gutter)
/ var(--theme-spacing--gutter) minmax(
Expand Down
15 changes: 15 additions & 0 deletions org-cyf-itd/assets/custom-theme/04-components/card-for-itd.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.c-map .c-card {
&__description {
position: static;
font-size: inherit;
opacity: 100%;
background-color: transparent;
}
&:hover,
&:focus,
&:active {
.c-card__description {
animation: none;
}
}
}

0 comments on commit 21b1f50

Please sign in to comment.