Skip to content

Commit

Permalink
Fix research page icons (#519)
Browse files Browse the repository at this point in the history
Co-authored-by: Satya Deep Maheshwari <[email protected]>
  • Loading branch information
sdmcraft and Satya Deep Maheshwari authored Dec 6, 2023
1 parent 7204f86 commit fd5a7e3
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 2 deletions.
10 changes: 10 additions & 0 deletions blocks/cards/cards.css
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,18 @@ main .cards.machine-parts .cards-card-image {
height: 9rem;
flex-shrink: 0;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
}

main .cards .cards-card-image span.icon.icon-scientific-literature-1 {
background-image: url("/icons/scientific-literature-1.svg");
width: 84px;
height: 84px;
}


main .cards.machine-parts .cards-card-body {
width: auto;
padding: 1.5rem 1rem;
Expand Down
22 changes: 20 additions & 2 deletions blocks/image-collage/image-collage.css
Original file line number Diff line number Diff line change
Expand Up @@ -195,16 +195,34 @@ main div.autoblocked.image-collage[class*='boxy-col-'].caption-above.block > div
flex-direction: column-reverse;
}

image-collage.medium {
.image-collage.medium {
font-size: var(--font-size-small);
color: #0d66c2;
}

.medium .icon {
.image-collage.medium .icon {
width: auto;
height: auto;
}

.image-collage.medium .icon.icon-mouth-and-body {
background-image: url("/icons/mouth-and-body.svg");
width: 120px;
height: 120px;
}

.image-collage.medium .icon.icon-health-and-beauty {
background-image: url("/icons/health-and-beauty.svg");
width: 120px;
height: 120px;
}

.image-collage.medium .icon.icon-safety-and-environment {
background-image: url("/icons/safety-and-environment.svg");
width: 120px;
height: 120px;
}

main .image-collage.native-image-sizes img {
width: auto;
}
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
1 change: 1 addition & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,7 @@ main .block.centered {
position: relative;
}


/* START Section Styles START */

/* stylelint-disable-next-line no-descending-specificity */
Expand Down

0 comments on commit fd5a7e3

Please sign in to comment.