Skip to content

Commit

Permalink
Merge branch 'main' into feat/sedes-responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedsoupe authored Sep 25, 2024
2 parents 73031c1 + 544e21c commit f794664
Show file tree
Hide file tree
Showing 19 changed files with 802 additions and 251 deletions.
3 changes: 3 additions & 0 deletions assets/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ body {
font-size: 62.5%;
font-weight: 400;
position: relative;
overflow-x: hidden;
}

.grid {
Expand Down Expand Up @@ -154,6 +155,7 @@ footer {
@import "./button.scss";
@import "./checkbox.scss";
@import "./flash.scss";
@import "./footer.scss";
@import "./get_in_touch.scss";
@import "./input.scss";
@import "./landing.scss";
Expand Down Expand Up @@ -181,6 +183,7 @@ footer {
@import "./article.scss";
@import "./boletins.scss";
@import "./noticias.scss";
@import "./cards.scss";

// Com autenticação
@import "./pages/app/researcher/profile.scss";
Expand Down
38 changes: 24 additions & 14 deletions assets/css/boletins.scss
Original file line number Diff line number Diff line change
@@ -1,32 +1,42 @@
.boletim-wrapper {
.links-item {
width: 15.5rem;
.card-links{
border-radius: none;

.card-item {
width: 16.5rem;
}
}
}

@media (min-width: 530px) and (max-width: 770px){

.boletim-wrapper {
.links-item {
@apply flex flex-col justify-start items-start m-8;
width: 60%;
height: 16rem;
.card-links{
border-radius: 8px;
box-sizing: border-box;
background: linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, #101010 100%);
.card-item {
@apply flex flex-col justify-start items-start m-8;
width: 50%;
height: 16rem;
border-radius: 8px;
box-sizing: border-box;
background: linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, #101010 100%);
}
}
}
}
@media (min-width: 350px) and (max-width: 529px){

.boletim-wrapper {
.links-item {
@apply flex flex-col justify-start items-start m-8;
width: 70%;
height: 13rem;
.card-links{
border-radius: 8px;
box-sizing: border-box;
background: linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, #101010 100%);
.card-item {
@apply flex flex-col justify-start items-start m-8;
width: 70%;
height: 15rem;
border-radius: 8px;
box-sizing: border-box;
background: linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, #101010 100%);
}
}
}
}
77 changes: 77 additions & 0 deletions assets/css/cards.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
.card-links {
@apply flex flex-wrap justify-center;


.card-item {
@apply flex flex-col justify-start items-start m-8;
width: 20.125rem;
height: 20.875rem;
border-radius: 8px;
box-sizing: border-box;
background: linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, #101010 100%);

a {
@apply flex flex-col mt-auto;
}

img {
@apply absolute;
z-index: -10;
height: inherit;
width: inherit;
}

h3 {
padding-left: 1rem;
}

p {
text-wrap: wrap;
margin-top: 0.5rem;
padding: 0 1rem 1.5rem 1rem;
}

button {
width: 100%;
padding: 0 1rem 1.5rem 0;
background-color: transparent;

p {
display: inline-flex;
width: inherit;

&:hover {
text-decoration: underline;
}
}
}
}
}

@media (max-width: 768px) and (min-width: 577px){
.card-links{
.card-item{
width: 70%;
height: 16rem;

img{
border-radius: 8px;
}
}
}

}

@media (min-width: 350px) and (max-width: 576px){
.card-links{
.card-item{
width: 80%;
height: 14rem;

img{
border-radius: 8px;
}
}
}

}
32 changes: 32 additions & 0 deletions assets/css/footer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
footer {
@apply flex items-center justify-center fixed bg-white-100;
gap: 2rem;
bottom: 0;
padding: 1.5rem 13.5rem;
width: 100%;

stroke-width: 1px;
stroke: var(--NEUTRAS-20, #CFCFCF);

p {
font-size: 0.75rem;
font-style: normal;
font-weight: 400;
line-height: 1.25rem;
}
}

@media (max-width: 768px) {
footer {
@apply absolute flex-wrap;
padding: 1.5rem 1rem;
align-items: center;

stroke-width: 0;
box-shadow: 0px 0px 20px 2px rgba(64, 64, 64, 0.10);

p {
text-align: center;
}
}
}
2 changes: 2 additions & 0 deletions assets/css/get_in_touch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@

@media (max-width: 767px) {
.onde-nos-encontrar-wrapper {
margin: 0;

.redes-sociais-wrapper {
margin: 1rem;

Expand Down
2 changes: 1 addition & 1 deletion assets/css/landing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -682,4 +682,4 @@
.nossas-equipes-container {
width: 1360px;
}
}
}
Loading

0 comments on commit f794664

Please sign in to comment.