This commit is contained in:
parent
da79013711
commit
563e9b9fd4
6 changed files with 209 additions and 161 deletions
|
|
@ -1,33 +1,21 @@
|
|||
.section--home {
|
||||
|
||||
.btn--bold-inline {
|
||||
text-transform: none;
|
||||
margin-top: calc(var(--spacing)*1.5);
|
||||
|
||||
svg {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
top: 0px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.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-section {
|
||||
max-width: 42ch;
|
||||
font-size: var(--fs-medium);
|
||||
font-size: var(--fs-normal);
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.btn--home{
|
||||
margin-top: calc(var(--spacing)*2);
|
||||
}
|
||||
|
||||
|
||||
@media #{$medium-up} {
|
||||
|
||||
|
|
@ -35,7 +23,7 @@
|
|||
|
||||
.section--inner {
|
||||
max-width: 1280px;
|
||||
margin: calc(var(--spacing)*3) auto;
|
||||
margin: calc(var(--spacing)*4) auto;
|
||||
display: grid;
|
||||
--gap: calc(var(--padding-body)*2);
|
||||
grid-template-columns: 1fr 640px;
|
||||
|
|
@ -61,67 +49,52 @@
|
|||
|
||||
@media #{$medium} {
|
||||
|
||||
&#home__investigations,
|
||||
&#home__hero {
|
||||
border-bottom: var(--border-light);
|
||||
}
|
||||
// &#home__investigations,
|
||||
// &#home__hero {
|
||||
// border-bottom: var(--border-light);
|
||||
// }
|
||||
|
||||
.section--inner {
|
||||
margin-top: calc(var(--spacing)*3);
|
||||
margin-bottom: calc(var(--spacing)*4);
|
||||
}
|
||||
// .section--inner {
|
||||
// margin-top: calc(var(--spacing)*3);
|
||||
// margin-bottom: calc(var(--spacing)*4);
|
||||
// }
|
||||
|
||||
.col-left {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
margin-bottom: calc(var(--spacing)*2);
|
||||
// .col-left {
|
||||
// display: flex;
|
||||
// flex-wrap: wrap;
|
||||
// align-items: flex-end;
|
||||
// justify-content: space-between;
|
||||
// margin-bottom: calc(var(--spacing)*2);
|
||||
|
||||
.title-section {
|
||||
width: 100%;
|
||||
}
|
||||
// .title-section {
|
||||
// width: 100%;
|
||||
// }
|
||||
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
@media #{$x-small} {
|
||||
.section--inner {
|
||||
margin-top: calc(var(--spacing)*2);
|
||||
margin-bottom: calc(var(--spacing)*4);
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
// .section--inner {
|
||||
// margin-top: calc(var(--spacing)*2);
|
||||
// margin-bottom: calc(var(--spacing)*4);
|
||||
// margin-bottom: 0px;
|
||||
// }
|
||||
|
||||
.col-left{
|
||||
margin-bottom: calc(var(--spacing)*1.5);
|
||||
}
|
||||
// .col-left{
|
||||
// margin-bottom: calc(var(--spacing)*1.5);
|
||||
// }
|
||||
|
||||
|
||||
.title-section {
|
||||
margin-bottom: calc(var(--spacing)*0.25);
|
||||
}
|
||||
// .title-section {
|
||||
// margin-bottom: calc(var(--spacing)*0.25);
|
||||
// }
|
||||
|
||||
.description-section {
|
||||
max-width: 42ch;
|
||||
font-size: var(--fs-normal);
|
||||
}
|
||||
// .description-section {
|
||||
// max-width: 42ch;
|
||||
// font-size: var(--fs-normal);
|
||||
// }
|
||||
|
||||
.btn--bold-inline {
|
||||
color: var(--color-txt-light);
|
||||
border-color: var(--color-txt-light);
|
||||
height: calc(var(--h-block) * 0.75);
|
||||
// margin: 0 auto;
|
||||
margin-top: calc(var(--spacing)*0.75);
|
||||
|
||||
a {
|
||||
padding: 0 1ch;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
svg {
|
||||
fill: var(--color-txt-light);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -176,13 +149,9 @@
|
|||
}
|
||||
|
||||
.baseline {
|
||||
font-size: 45px;
|
||||
font-size: var(--fs-big);
|
||||
line-height: 1.1;
|
||||
max-width: 32ch;
|
||||
|
||||
@media #{$x-small} {
|
||||
font-size: 34px;
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
|
|
@ -198,4 +167,35 @@
|
|||
.card--folder {
|
||||
margin-bottom: calc(var(--spacing)*0.5);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media #{$medium} {
|
||||
|
||||
.section--home:not(#home-hero) {
|
||||
border-bottom: var(--border);
|
||||
padding-bottom: calc(var(--spacing)*4);
|
||||
margin-bottom: calc(var(--spacing)*4);
|
||||
|
||||
.col-left{
|
||||
margin-bottom: calc(var(--spacing)*3);
|
||||
}
|
||||
}
|
||||
|
||||
#home__hero{
|
||||
height: calc(100vh - var(--header-h));
|
||||
margin: 0!important;
|
||||
border-bottom: none!important;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
padding-bottom: 25vh!important;
|
||||
|
||||
}
|
||||
|
||||
#home__investigations{
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue