Skip to content

Commit

Permalink
Changes for grants page (#133)
Browse files Browse the repository at this point in the history
* changes for grants page

* Update cards.css

* Update cards.css

* Update cards.css

* Update cards.css

---------

Co-authored-by: Ritwik Srivastava <[email protected]>
  • Loading branch information
RitwikSrivastava and Ritwik Srivastava authored Oct 16, 2023
1 parent 7e01ec6 commit da1eb55
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions blocks/cards/cards.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,6 @@
padding: 0 1rem;
}

.section.cards-container h1,
.section.cards-container h2,
.section.cards-container h3,
.section.cards-container h4,
.section.cards-container h5,
.section.cards-container h6 {
text-align: center;
}

main .block.cards {
margin: 0 auto 3.75rem;
}
Expand Down Expand Up @@ -136,8 +127,9 @@ main .cards.features-items ul > li {
/* Styles for machine parts cards */

main .cards.machine-parts .cards-card-image {
width: 100%;
height: 100%;
width: 16rem;
height: 9rem;
flex-shrink: 0;
}

main .cards.machine-parts .cards-card-body {
Expand Down Expand Up @@ -178,7 +170,6 @@ main .cards.machine-parts .cards-card-body p:last-child {

main .cards.machine-parts .cards-card-body a {
line-height: 1;
display: inline-block;
width: 100%;
font-weight: var(--font-weight-medium);
font-size: var(--body-font-size-m);
Expand Down Expand Up @@ -248,6 +239,7 @@ main .cards-wrapper .machine-parts .cards-card-body h3{

.section.cards-container h2 {
max-width: 71.25rem;
margin:0;
}

main .block.cards {
Expand Down Expand Up @@ -304,6 +296,12 @@ main .cards-wrapper .machine-parts .cards-card-body h3{
text-align: center;
}

main .cards.machine-parts .cards-card-image {
width: 100%;
height: 100%;
padding-top: 2rem;
}

main .nolink .cards > ul > li .cards-card-image {
height: auto;
width: auto;
Expand Down Expand Up @@ -358,7 +356,8 @@ main .cards-wrapper .machine-parts .cards-card-body h3{
display: flex;
align-items: center;
border-bottom: 1px solid var(--text-h2-underline-color);
padding: 2rem;
padding-top: 2rem;
padding-bottom: 2rem;
width: auto;
height: 12.1875rem;
flex: 1;
Expand Down

0 comments on commit da1eb55

Please sign in to comment.