This commit is contained in:
parent
8fc46375a0
commit
610bee465c
17 changed files with 601 additions and 29 deletions
|
|
@ -5,16 +5,13 @@
|
|||
|
||||
|
||||
header{
|
||||
.page-type{
|
||||
// text-transform: uppercase;
|
||||
color: var(--color-txt-light);
|
||||
margin-bottom: calc(var(--spacing)*0.5);
|
||||
}
|
||||
|
||||
.page-title{
|
||||
text-transform: uppercase;
|
||||
font-weight: normal;
|
||||
font-size: var(--fs-big);
|
||||
line-height: var(--leading-tight);
|
||||
margin-top: calc(var(--spacing)*1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
206
assets/css/template/_investigation.scss
Normal file
206
assets/css/template/_investigation.scss
Normal file
|
|
@ -0,0 +1,206 @@
|
|||
:root{
|
||||
--rapport-w: 280px;
|
||||
}
|
||||
|
||||
#rapport{
|
||||
margin-bottom: 20vh;
|
||||
padding-left: var(--rapport-w);
|
||||
padding-bottom: 10vh;
|
||||
margin: 0 auto;
|
||||
max-width: calc(var(--max-w-content) + var(--rapport-w));
|
||||
|
||||
.rapport__header{
|
||||
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 140px;
|
||||
column-gap: calc(var(--spacing)*1.5);
|
||||
row-gap: calc(var(--spacing)*2);
|
||||
|
||||
margin-top: calc(var(--spacing)*2);
|
||||
max-width: var(--max-w-content);
|
||||
padding-bottom: calc(var(--spacing)*0.5);
|
||||
|
||||
|
||||
.rapport__title-group{
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.title{
|
||||
text-transform: uppercase;
|
||||
font-weight: normal;
|
||||
font-size: var(--fs-big);
|
||||
line-height: var(--leading-tight);
|
||||
font-weight: normal;
|
||||
margin-top: calc(var(--spacing)*1);
|
||||
}
|
||||
|
||||
.subtitle{
|
||||
font-size: var(--fs-big);
|
||||
line-height: var(--leading-tight);
|
||||
margin-top: calc(var(--spacing)*0.5);
|
||||
font-weight: normal;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
dl{
|
||||
align-self: end;
|
||||
font-size: var(--fs-small);
|
||||
border-bottom: var(--border-light);
|
||||
flex-grow: 2;
|
||||
align-items: flex-start;
|
||||
.dl__group{
|
||||
@include grid-content();
|
||||
border-top: var(--border-light);
|
||||
padding: calc(var(--spacing)*0.5) 0;
|
||||
}
|
||||
|
||||
dt{
|
||||
color: var(--color-txt-light);
|
||||
padding-right: 1ch;
|
||||
}
|
||||
}
|
||||
|
||||
.thumbnail-pdf{
|
||||
width: 140px;
|
||||
figure{
|
||||
border: var(--border-medium);
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.btn--small{
|
||||
width: 100%;
|
||||
margin-top: calc(var(--spacing)*0.25);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.rapport__content{
|
||||
max-width: var(--max-w-content);
|
||||
margin-top: calc(var(--spacing)*3);
|
||||
|
||||
|
||||
.section-content{
|
||||
margin-bottom: calc(var(--spacing)*3);
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
.section-title{
|
||||
font-size: var(--fs-medium);
|
||||
margin-bottom: var(--spacing);
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: calc(var(--spacing)*0.5) 0;
|
||||
}
|
||||
|
||||
ul{
|
||||
padding-left: 3ch;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#rapport__aside{
|
||||
width: var(--rapport-w);
|
||||
position: fixed;
|
||||
top: calc(var(--header-h) + var(--padding-body));
|
||||
left: var(--padding-body);
|
||||
border: var(--border-light);
|
||||
// border-radius: var(--radius-small);
|
||||
height: calc(100vh - var(--header-h) - var(--padding-body)*2);
|
||||
|
||||
.tabs{
|
||||
display: flex;
|
||||
border-bottom: var(--border-light);
|
||||
height: calc(var(--h-block)*1.25);
|
||||
|
||||
.tab{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: var(--fs-small);
|
||||
font-weight: bold;
|
||||
padding-left: 2ch;
|
||||
padding-top: 3px;
|
||||
}
|
||||
|
||||
.tab[for="tab-print"]{
|
||||
width: calc(var(--h-block)*1.5);
|
||||
border-right: var(--border-light);
|
||||
padding-left: 0;
|
||||
justify-content: center;
|
||||
.icon{
|
||||
|
||||
svg{
|
||||
width: 18px;
|
||||
fill: var(--color-txt);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content-aside{
|
||||
padding: var(--padding-body);
|
||||
height: calc(100% - var(--h-block)*1.25);
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
|
||||
#toc{
|
||||
ul{ list-style: none;}
|
||||
|
||||
li{
|
||||
font-size: var(--fs-small);
|
||||
padding: 5px 1ch;
|
||||
padding-top: 7px;
|
||||
|
||||
|
||||
}
|
||||
|
||||
li.selected{
|
||||
// color: var(--color-accent);
|
||||
background-color: var(--grey-800);
|
||||
}
|
||||
|
||||
.toc-level-1{
|
||||
margin-bottom: calc(var(--spacing)*0.5);
|
||||
font-weight: bold;
|
||||
}
|
||||
.toc-level-2{
|
||||
margin-bottom: calc(var(--spacing)*0.25);
|
||||
padding-left: 4ch;
|
||||
}
|
||||
a{
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
#tab-print, #tab-toc{ display: none; }
|
||||
#tab-print:checked ~ .content-aside #toc{ display: none; }
|
||||
#tab-print:checked ~ .content-aside #print-features{ display: block; }
|
||||
|
||||
#tab-toc:checked ~ .content-aside #toc{ display: block; }
|
||||
#tab-toc:checked ~ .content-aside #print-features{ display: none; }
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
|
||||
grid-auto-rows: minmax(100px, auto);
|
||||
grid-gap: var(--padding-body);
|
||||
grid-gap: calc(var(--padding-body)*1.5);
|
||||
margin-bottom: 10vh;
|
||||
}
|
||||
@media #{$x-small}{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue