aside investigatins
This commit is contained in:
parent
243583d024
commit
0c767e2e5e
15 changed files with 418 additions and 725 deletions
|
|
@ -1,67 +1,74 @@
|
|||
[data-template="investigation"] main {
|
||||
position: relative;
|
||||
|
||||
|
||||
|
||||
|
||||
.page__header {
|
||||
margin-inline: auto;
|
||||
max-width: var(--max-w-content);
|
||||
}
|
||||
|
||||
.panel-left {
|
||||
width: calc((100vw - var(--max-w-cards) - var(--padding-body) * 4) * 0.5);
|
||||
.page__content{
|
||||
max-width: 100%;
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1340px) {
|
||||
margin-left: auto;
|
||||
margin-right: calc(var(--padding-body) * 3);
|
||||
.panel-left {
|
||||
width: calc(100vw - var(--max-w-cards) - var(--padding-body) * 6);
|
||||
}
|
||||
.investigation__content{
|
||||
font-size: var(--fs-text);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1220px) {
|
||||
margin-left: auto;
|
||||
margin-right: 0px;
|
||||
width: calc(100% - var(--panel-w) * 0.5 - var(--padding-body));
|
||||
.panel-left {
|
||||
width: calc(var(--panel-w) * 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
.section__article {
|
||||
margin-top: calc(var(--spacing) * 3);
|
||||
margin-bottom: calc(var(--spacing) * 3);
|
||||
max-width: var(--max-w-content);
|
||||
margin-inline: auto;
|
||||
|
||||
&:target {
|
||||
padding-top: calc(var(--header-h) + var(--spacing) * 1);
|
||||
}
|
||||
// @media screen and (max-width: 1340px) {
|
||||
// margin-left: auto;
|
||||
// margin-right: calc(var(--padding-body) * 3);
|
||||
// .panel-left {
|
||||
// width: calc(100vw - var(--max-w-cards) - var(--padding-body) * 6);
|
||||
// }
|
||||
// }
|
||||
|
||||
a:hover {
|
||||
color: var(--grey-200);
|
||||
}
|
||||
// @media screen and (max-width: 1220px) {
|
||||
// margin-left: auto;
|
||||
// margin-right: 0px;
|
||||
// width: calc(100% - var(--panel-w) * 0.5 - var(--padding-body));
|
||||
// .panel-left {
|
||||
// width: calc(var(--panel-w) * 0.5);
|
||||
// }
|
||||
// }
|
||||
|
||||
.section__title {
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: calc(var(--spacing) * 1);
|
||||
padding-right: 2ch;
|
||||
text-wrap: balance;
|
||||
}
|
||||
}
|
||||
// .section__article {
|
||||
// background-color: red;
|
||||
// margin-top: calc(var(--spacing) * 3);
|
||||
// margin-bottom: calc(var(--spacing) * 3);
|
||||
// max-width: var(--max-w-content);
|
||||
// margin-inline: auto;
|
||||
|
||||
#section__dl,
|
||||
#section__impacts,
|
||||
#section__package,
|
||||
#section__related-articles {
|
||||
font-size: var(--fs-small);
|
||||
}
|
||||
// &:target {
|
||||
// padding-top: calc(var(--header-h) + var(--spacing) * 1);
|
||||
// }
|
||||
|
||||
#section__dl {
|
||||
// a:hover {
|
||||
// color: var(--grey-200);
|
||||
// }
|
||||
|
||||
// .section__title {
|
||||
// font-weight: 500;
|
||||
// text-transform: uppercase;
|
||||
// margin-bottom: calc(var(--spacing) * 1);
|
||||
// padding-right: 2ch;
|
||||
// text-wrap: balance;
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
|
||||
#investigation__dl {
|
||||
margin-top: calc(var(--spacing) * 1.5);
|
||||
border-bottom: var(--border-light);
|
||||
max-width: var(--max-w-content);
|
||||
margin-inline: auto;
|
||||
font-size: var(--fs-normal);
|
||||
|
||||
.dl__group {
|
||||
@include grid-content();
|
||||
|
|
@ -84,92 +91,41 @@
|
|||
}
|
||||
}
|
||||
|
||||
#section__synthese {
|
||||
max-width: var(--max-w-content);
|
||||
margin-inline: auto;
|
||||
|
||||
p + p {
|
||||
margin-top: 1em;
|
||||
}
|
||||
.investigation__aside{
|
||||
max-width: var(--max-w-cards);
|
||||
margin: calc(var(--spacing)*4) auto;
|
||||
|
||||
h4 {
|
||||
margin-top: 2em;
|
||||
margin-bottom: 1em;
|
||||
font-size: var(--fs-normal);
|
||||
.aside__title{
|
||||
font-weight: 500;
|
||||
text-decoration: 1px underline var(--color-txt-light);
|
||||
text-underline-offset: 3px;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: calc(var(--spacing)*1)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.panel-left {
|
||||
//background-color: yellow;
|
||||
|
||||
|
||||
height: calc(100vh - var(--header-h));
|
||||
position: fixed;
|
||||
left: var(--padding-body);
|
||||
padding-bottom: calc(var(--padding-body) * 1);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
z-index: calc(var(--z-header) - 1);
|
||||
|
||||
#nav--page {
|
||||
padding-bottom: var(--spacing);
|
||||
width: calc(var(--panel-w) * 0.5);
|
||||
ul {
|
||||
list-style: none;
|
||||
|
||||
li {
|
||||
text-align: center;
|
||||
color: var(--color-txt-light);
|
||||
margin-bottom: 4px;
|
||||
font-weight: 500;
|
||||
font-size: var(--fs-small);
|
||||
|
||||
a {
|
||||
display: block;
|
||||
padding: 5px 1ch;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.btn--group {
|
||||
width: calc(var(--panel-w) * 0.5);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: calc(var(--spacing) * 0.25);
|
||||
|
||||
button,
|
||||
.dropdown {
|
||||
flex-grow: 1;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// SMALL ----------------------------------------------------------
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
@media #{$small} {
|
||||
[data-template="investigation"] main {
|
||||
width: 100%;
|
||||
// @media #{$small} {
|
||||
// [data-template="investigation"] main {
|
||||
// width: 100%;
|
||||
|
||||
header {
|
||||
margin-bottom: calc(var(--spacing) * 1);
|
||||
}
|
||||
// header {
|
||||
// margin-bottom: calc(var(--spacing) * 1);
|
||||
// }
|
||||
|
||||
.section__article {
|
||||
margin-top: calc(var(--spacing) * 2);
|
||||
margin-bottom: calc(var(--spacing) * 2);
|
||||
}
|
||||
// .section__article {
|
||||
// margin-top: calc(var(--spacing) * 2);
|
||||
// margin-bottom: calc(var(--spacing) * 2);
|
||||
// }
|
||||
|
||||
// .panel-left {
|
||||
// display: none;
|
||||
// }
|
||||
// }
|
||||
|
||||
.panel-left {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue