index-main/assets/css/template/_home.scss
Julie Blanc 8a4f9d6b64
All checks were successful
Deploy / Deploy to Production (push) Successful in 12s
starting home
2026-01-27 19:09:56 +01:00

80 lines
No EOL
1.5 KiB
SCSS

.section--home{
margin: calc(var(--spacing)*3);
min-height: calc(100vh - var(--header-h)*2);
border-bottom: var(--border-light);
.section--inner{
display: grid;
grid-template-columns: 50% 50%;
}
.col-left{
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
}
.col-right{
width: 100%;
height: 100%;
background-color: yellow;
}
.title-section{
font-size: var(--fs-medium);
font-weight: normal;
text-transform: uppercase;
font-size: var(--fs-big);
margin-bottom: calc(var(--spacing)*1);
}
.description{
font-size: var(--fs-medium);
line-height: 1.1;
margin-bottom: calc(var(--spacing)*1.5);
}
}
#home__investigations{
.container-cards{
max-width: var(--max-w-container);
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
grid-auto-rows: minmax(100px, auto);
grid-gap: calc(var(--padding-body)*1.5);
margin-bottom: 10vh;
}
}
#home__description{
.section--inner{
max-width: var(--max-w-container);
}
p{
font-size: var(--fs-big);
max-width: var(--max-w-content);
}
button{
margin-top: calc(var(--spacing)*1);
}
button .icon svg{
width: 11px;
}
}