This commit is contained in:
parent
e69e765586
commit
1fedb2392c
10 changed files with 202 additions and 91 deletions
|
|
@ -487,17 +487,24 @@ button:disabled {
|
|||
height: calc(var(--h-block) * 1);
|
||||
border: var(--border);
|
||||
border-radius: var(--radius-btn);
|
||||
font-size: var(--fs-xsmall);
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
font-size: var(--fs-small);
|
||||
line-height: 1;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.btn--bold .icon,
|
||||
.btn--bold-inline .icon {
|
||||
display: flex;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
.btn--bold .icon svg,
|
||||
.btn--bold-inline .icon svg {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
.btn--bold svg,
|
||||
.btn--bold-inline svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
|
|
@ -509,7 +516,7 @@ button:disabled {
|
|||
gap: 1ch;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0 2ch;
|
||||
padding: 0 1.25ch;
|
||||
padding-top: 4px;
|
||||
}
|
||||
.btn--bold.no-link,
|
||||
|
|
@ -518,7 +525,7 @@ button:disabled {
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 1ch;
|
||||
padding: 0 2ch;
|
||||
padding: 0 1.25ch;
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
|
|
@ -543,9 +550,6 @@ button:disabled {
|
|||
.btn--bold-inline {
|
||||
background-color: var(--color-bg);
|
||||
}
|
||||
.btn--bold-inline svg {
|
||||
fill: var(--color-txt);
|
||||
}
|
||||
.btn--bold-inline:hover {
|
||||
background-color: var(--grey-950);
|
||||
color: var(--grey-100);
|
||||
|
|
@ -1436,6 +1440,15 @@ button.sort[data-sort-type=up] .arrow {
|
|||
margin-inline: auto;
|
||||
border: 1px solid var(--grey-600);
|
||||
padding: calc(var(--padding-inner) * 3);
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.main__single .page__content .insert,
|
||||
#investigation__content .insert {
|
||||
padding: calc(var(--padding-inner) * 1);
|
||||
}
|
||||
}
|
||||
.main__single .page__content .insert,
|
||||
#investigation__content .insert {
|
||||
background-color: var(--grey-800);
|
||||
}
|
||||
.main__single .page__content .insert .insert--inner,
|
||||
|
|
@ -1449,6 +1462,15 @@ button.sort[data-sort-type=up] .arrow {
|
|||
#investigation__content .insert h5 {
|
||||
margin-top: 0;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.main__single .page__content .insert h3, .main__single .page__content .insert h4, .main__single .page__content .insert h5,
|
||||
#investigation__content .insert h3,
|
||||
#investigation__content .insert h4,
|
||||
#investigation__content .insert h5 {
|
||||
margin-top: calc(var(--spacing) * 0.5);
|
||||
margin-bottom: calc(var(--spacing) * 0.75);
|
||||
}
|
||||
}
|
||||
.main__single .page__content > .insert, .main__single .page__content > .swiper, .main__single .page__content > .slider-before-after, .main__single .page__content > figure,
|
||||
#investigation__content > .insert,
|
||||
#investigation__content > .swiper,
|
||||
|
|
@ -1656,12 +1678,6 @@ button.sort[data-sort-type=up] .arrow {
|
|||
object-fit: cover;
|
||||
transition: cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s;
|
||||
}
|
||||
@media screen and (max-width: 560px) {
|
||||
.card--package figure,
|
||||
.card--article-small figure {
|
||||
margin-left: 0px;
|
||||
}
|
||||
}
|
||||
.card--package .type,
|
||||
.card--article-small .type {
|
||||
display: inline-flex;
|
||||
|
|
@ -1753,8 +1769,8 @@ button.sort[data-sort-type=up] .arrow {
|
|||
@media screen and (max-width: 768px) {
|
||||
.card--package .btn--go-to svg,
|
||||
.card--article-small .btn--go-to svg {
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 560px) {
|
||||
|
|
@ -1765,8 +1781,8 @@ button.sort[data-sort-type=up] .arrow {
|
|||
}
|
||||
.card--package .btn--go-to svg,
|
||||
.card--article-small .btn--go-to svg {
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
}
|
||||
.card--package:hover .btn--go-to,
|
||||
|
|
@ -1803,10 +1819,6 @@ button.sort[data-sort-type=up] .arrow {
|
|||
.card--article-small:hover::before {
|
||||
border-color: var(--color-txt);
|
||||
}
|
||||
.card--package .keywords,
|
||||
.card--article-small .keywords {
|
||||
display: none;
|
||||
}
|
||||
@media screen and (max-width: 1080px) {
|
||||
.card--package .title,
|
||||
.card--article-small .title {
|
||||
|
|
@ -1814,23 +1826,34 @@ button.sort[data-sort-type=up] .arrow {
|
|||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 560px) {
|
||||
@media screen and (max-width: 768px) {
|
||||
.card--package,
|
||||
.card--article-small {
|
||||
row-gap: 0;
|
||||
display: block;
|
||||
}
|
||||
.card--package .content,
|
||||
.card--article-small .content {
|
||||
display: contents;
|
||||
padding: calc(var(--spacing) * 0.5) var(--padding-inner);
|
||||
}
|
||||
.card--package .type,
|
||||
.card--article-small .type {
|
||||
margin-bottom: calc(var(--spacing) * 0.75);
|
||||
}
|
||||
.card--package .title,
|
||||
.card--article-small .title {
|
||||
font-size: var(--fs-small);
|
||||
padding-top: calc(var(--spacing) * 0.25);
|
||||
margin-bottom: calc(var(--spacing) * 0.25);
|
||||
}
|
||||
.card--package figure,
|
||||
.card--article-small figure {
|
||||
grid-row: 1/3;
|
||||
.card--package .details,
|
||||
.card--package .date,
|
||||
.card--article-small .details,
|
||||
.card--article-small .date {
|
||||
margin-top: calc(var(--spacing) * 0.5);
|
||||
}
|
||||
.card--package .description,
|
||||
.card--article-small .description {
|
||||
grid-column: span 2;
|
||||
.card--package .btn--go-to,
|
||||
.card--article-small .btn--go-to {
|
||||
bottom: calc(var(--padding-inner) * 0.75);
|
||||
right: calc(var(--padding-inner) * 0.75);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2031,8 +2054,8 @@ button.sort[data-sort-type=up] .arrow {
|
|||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.card--impact-small .btn--go-to svg {
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 560px) {
|
||||
|
|
@ -2041,8 +2064,8 @@ button.sort[data-sort-type=up] .arrow {
|
|||
bottom: calc(var(--padding-inner) * 0.25);
|
||||
}
|
||||
.card--impact-small .btn--go-to svg {
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
}
|
||||
.card--impact-small:hover .btn--go-to {
|
||||
|
|
@ -2906,23 +2929,45 @@ main .page__header .date {
|
|||
margin-bottom: calc(var(--spacing) * 2);
|
||||
color: var(--color-txt-light);
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
main .page__header .date {
|
||||
margin-bottom: calc(var(--spacing) * 1);
|
||||
margin-top: calc(var(--spacing) * -0.75);
|
||||
}
|
||||
}
|
||||
main .page__header .page__description {
|
||||
font-size: var(--fs-text);
|
||||
margin-bottom: calc(var(--spacing) * 3);
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
main .page__header .page__description {
|
||||
margin-bottom: calc(var(--spacing) * 1.5);
|
||||
}
|
||||
}
|
||||
main .page__header .page__description {
|
||||
max-width: var(--max-w-content);
|
||||
}
|
||||
|
||||
.page__aside,
|
||||
.investigation__aside {
|
||||
.page__aside {
|
||||
max-width: var(--max-w-cards);
|
||||
margin-inline: auto;
|
||||
padding-top: calc(var(--spacing) * 4);
|
||||
}
|
||||
.page__aside .aside__title,
|
||||
.investigation__aside .aside__title {
|
||||
@media screen and (max-width: 768px) {
|
||||
.page__aside {
|
||||
padding-top: calc(var(--spacing) * 2);
|
||||
}
|
||||
}
|
||||
.page__aside .aside__title {
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: calc(var(--spacing) * 1);
|
||||
font-size: 1.2em;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.page__aside .aside__title {
|
||||
font-size: var(--fs-normal);
|
||||
}
|
||||
}
|
||||
|
||||
.container-cards {
|
||||
|
|
@ -3057,6 +3102,11 @@ main .page__header .page__description {
|
|||
max-width: var(--max-w-content);
|
||||
margin-top: calc(var(--spacing) * 3);
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.main__single .page__content {
|
||||
margin-top: calc(var(--spacing) * 1.25);
|
||||
}
|
||||
}
|
||||
|
||||
[data-template=investigation] main {
|
||||
position: relative;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue