-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/responsive landing/cooperativas (#196)
* add hamburger menu * add hamburger menu * fix: revert phoenix version * refactor landing page with responsive layout * fix: position in a row when is small screen * fix: padding between components * fix: gallery responsive * cooperativas page responsive * refactor navbar component * resolve conflicts * add responsive code * fix hamburger menu * fix height of menu * run mix format * add pass package * fix width image carousel
- Loading branch information
1 parent
c5978a8
commit d116e7f
Showing
16 changed files
with
747 additions
and
447 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
.cooperativas-wrapper { | ||
@apply flex flex-col; | ||
|
||
.cooperativas-container { | ||
@apply flex flex-col; | ||
gap: 5rem; | ||
margin-bottom: 5rem; | ||
|
||
.header { | ||
@apply relative; | ||
|
||
.header-content { | ||
img { | ||
width: 100%; | ||
height: auto; | ||
} | ||
|
||
h2 { | ||
@apply absolute; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
text-align: center; | ||
} | ||
} | ||
} | ||
|
||
.block { | ||
@apply flex flex-row; | ||
gap: 3.5rem; | ||
margin: 0 2.5rem 0 2.5rem; | ||
|
||
.block-content { | ||
@apply flex flex-col; | ||
gap: 2.5rem; | ||
width: 50%; | ||
} | ||
|
||
img { | ||
width: 50%; | ||
} | ||
} | ||
} | ||
} | ||
|
||
@media (max-width: 768px) { | ||
.cooperativas-wrapper { | ||
.cooperativas-container { | ||
@apply flex flex-wrap; | ||
gap: 4rem; | ||
|
||
.header { | ||
height: 16.25rem; | ||
|
||
.header-content { | ||
img { | ||
height: 16.25rem; | ||
object-fit: none; | ||
} | ||
} | ||
} | ||
|
||
.block { | ||
@apply flex-wrap; | ||
gap: 4rem; | ||
margin: 0 1rem 0 1rem; | ||
|
||
.block-content { | ||
width: 100%; | ||
|
||
h1 { | ||
font-size: 2rem; | ||
} | ||
} | ||
|
||
img { | ||
width: 100%; | ||
border-radius: 0.5rem; | ||
} | ||
|
||
&:nth-child(3) { | ||
@apply flex flex-col-reverse; | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.