index-main/assets/css/template/_home.scss

107 lines
1.8 KiB
SCSS
Raw Normal View History

2026-01-13 12:13:02 +01:00
.section--home{
2026-01-27 19:09:56 +01:00
border-bottom: var(--border-light);
2026-01-27 22:24:47 +01:00
.btn--bold-inline{
text-transform: none;
svg{
width: 12px;
height: 12px;
top: 0px;
}
}
2026-01-27 19:09:56 +01:00
.section--inner{
2026-01-27 22:24:47 +01:00
max-width: 1300px;
margin: calc(var(--spacing)*3) auto;
2026-01-27 19:09:56 +01:00
display: grid;
2026-01-27 19:58:53 +01:00
--gap: calc(var(--padding-body)*2);
grid-template-columns: repeat(2, calc((100% - var(--gap))*0.5));
grid-gap: var(--gap);
2026-01-27 19:09:56 +01:00
}
.col-left{
height: 100%;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.col-right{
width: 100%;
height: 100%;
}
2026-01-13 12:13:02 +01:00
.title-section{
font-size: var(--fs-medium);
font-weight: normal;
text-transform: uppercase;
2026-01-27 19:09:56 +01:00
font-size: var(--fs-big);
margin-bottom: calc(var(--spacing)*1);
}
2026-01-27 21:28:14 +01:00
.description-section{
2026-01-27 19:09:56 +01:00
font-size: var(--fs-medium);
line-height: 1.1;
margin-bottom: calc(var(--spacing)*1.5);
2026-01-13 12:13:02 +01:00
}
}
2026-01-13 12:18:22 +01:00
2026-01-27 19:58:53 +01:00
2026-01-13 12:18:22 +01:00
#home__investigations{
2026-01-27 19:58:53 +01:00
2026-01-27 21:28:14 +01:00
.home-investigations-slider{
max-width: 500px;
height: auto;
}
2026-01-27 19:58:53 +01:00
.card--article{
2026-01-27 21:28:14 +01:00
align-items: flex-start;
justify-content: flex-start;
2026-01-27 22:24:47 +01:00
.time-alone{ display: block; }
.description, .dl, .pin{
display: none;
2026-01-27 19:58:53 +01:00
}
2026-01-13 12:18:22 +01:00
}
2026-01-27 19:58:53 +01:00
2026-01-13 12:18:22 +01:00
}
2026-01-13 12:13:02 +01:00
2026-01-27 22:24:47 +01:00
#home__hero{
margin-top: calc(var(--spacing)*3);
margin-bottom: calc(var(--spacing)*3);
2026-01-13 12:13:02 +01:00
.section--inner{
2026-01-27 22:24:47 +01:00
display: block;
2026-01-13 12:13:02 +01:00
}
2026-01-27 22:24:47 +01:00
.baseline{
font-family: var(--title);
font-size: 45px;
line-height: 1.1;
max-width: 26ch;
// max-width: var(--max-w-content);
2026-01-13 12:13:02 +01:00
}
button{
margin-top: calc(var(--spacing)*1);
}
2026-01-27 22:24:47 +01:00
2026-01-13 12:13:02 +01:00
2026-01-27 22:24:47 +01:00
}
#home__folders{
.card--folder{
margin-bottom: calc(var(--spacing)*0.5);
}
2026-01-13 12:13:02 +01:00
}