Skip to content

Commit

Permalink
Organizing better the code
Browse files Browse the repository at this point in the history
Leaving in flex-cards only the code related to the component, instead of all the code for that page layout.
  • Loading branch information
francesca-paris committed Jun 11, 2022
1 parent c3a8e7d commit 353d820
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
27 changes: 0 additions & 27 deletions css/flex-cards-page.css
Original file line number Diff line number Diff line change
Expand Up @@ -256,25 +256,6 @@ section#challenge {
margin-top: unset;
line-height: 1.1;
}

.grid-needs {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 32px;
}

.needs-description {
margin-top: 60px;
}

.final-screens.mobile-only {
display: none;
}

.final-screens.mobile-only img {
max-width: unset;
}
}

/* small screens */
Expand Down Expand Up @@ -308,12 +289,4 @@ section#challenge {
display: flex;
flex-direction: column;
}

.needs-section {
padding-top: 40px;
}

.needs-description {
margin-top: 20px;
}
}
27 changes: 27 additions & 0 deletions css/quick-tasty.css
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,25 @@ COLOURS
padding-left: unset;
padding-right: unset;
}

.grid-needs {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 32px;
}

.needs-description {
margin-top: 60px;
}

.final-screens.mobile-only {
display: none;
}

.final-screens.mobile-only img {
max-width: unset;
}
}

/* small screens */
Expand Down Expand Up @@ -151,6 +170,14 @@ COLOURS
overflow-x: scroll;
overflow-y: hidden;
}

.needs-section {
padding-top: 40px;
}

.needs-description {
margin-top: 20px;
}
}

/* large screens */
Expand Down

0 comments on commit 353d820

Please sign in to comment.