This commit is contained in:
parent
8fc46375a0
commit
610bee465c
17 changed files with 601 additions and 29 deletions
|
|
@ -26,7 +26,7 @@
|
|||
}
|
||||
|
||||
--leading-tight: 1.05;
|
||||
--leading-normal: 1.2;
|
||||
--leading-normal: 1.3;
|
||||
// --leading-relaxed: 1.4;
|
||||
// --leading-loose: 1.8;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
font-size: var(--fs-medium);
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
flex-grow: 2;
|
||||
// flex-grow: 2;
|
||||
|
||||
a{ text-decoration: none;}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,18 @@
|
|||
#hero{
|
||||
width: 100vw;
|
||||
width: calc(100vw - var(--padding-body)*4);
|
||||
position: relative;
|
||||
left: calc(var(--padding-body)*-1);
|
||||
left: calc(var(--padding-body)*1);
|
||||
|
||||
@media #{$medium}{
|
||||
width: calc(100vw - var(--padding-body)*2);
|
||||
position: relative;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
@media #{$small}{
|
||||
width: 100vw;
|
||||
left: calc(var(--padding-body)*-1);
|
||||
}
|
||||
|
||||
figcaption{
|
||||
color: var(--color-txt-light);
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
// border-radius: calc(var(--h-block)*0.75/2);
|
||||
border-radius: var(--radius-small);
|
||||
|
||||
display: flex;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0 1.5ch;
|
||||
|
|
@ -18,5 +18,30 @@
|
|||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.tag-inline{
|
||||
|
||||
height: calc(var(--h-block)*0.75);
|
||||
// border-radius: calc(var(--h-block)*0.75/2);
|
||||
border-radius: var(--radius-small);
|
||||
border: var(--border-medium);
|
||||
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0 1.5ch;
|
||||
padding-top: 3px;
|
||||
|
||||
font-size: var(--fs-small);
|
||||
line-height: 1;
|
||||
|
||||
background-color: var(--color-bg);
|
||||
color: var(--color-txt-light);
|
||||
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-transform: uppercase;
|
||||
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
background-color: var(--dark);
|
||||
padding: calc(var(--padding-body)*2) var(--padding-body);
|
||||
z-index: 500;
|
||||
|
||||
|
||||
.logo {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
--max-w-content: 700px;
|
||||
--max-w-container: 1280px;
|
||||
--leading-tight: 1.05;
|
||||
--leading-normal: 1.2;
|
||||
--leading-normal: 1.3;
|
||||
--fw-normal: 400;
|
||||
--fw-medium: 500;
|
||||
--fw-bold: 600;
|
||||
|
|
@ -441,7 +441,7 @@ button:disabled {
|
|||
.tag {
|
||||
height: calc(var(--h-block) * 0.75);
|
||||
border-radius: var(--radius-small);
|
||||
display: flex;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0 1.5ch;
|
||||
|
|
@ -454,6 +454,24 @@ button:disabled {
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.tag-inline {
|
||||
height: calc(var(--h-block) * 0.75);
|
||||
border-radius: var(--radius-small);
|
||||
border: var(--border-medium);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0 1.5ch;
|
||||
padding-top: 3px;
|
||||
font-size: var(--fs-small);
|
||||
line-height: 1;
|
||||
background-color: var(--color-bg);
|
||||
color: var(--color-txt-light);
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.keywords {
|
||||
list-style: none;
|
||||
}
|
||||
|
|
@ -513,9 +531,22 @@ button:disabled {
|
|||
}
|
||||
|
||||
#hero {
|
||||
width: 100vw;
|
||||
width: calc(100vw - var(--padding-body) * 4);
|
||||
position: relative;
|
||||
left: calc(var(--padding-body) * -1);
|
||||
left: calc(var(--padding-body) * 1);
|
||||
}
|
||||
@media screen and (max-width: 1080px) {
|
||||
#hero {
|
||||
width: calc(100vw - var(--padding-body) * 2);
|
||||
position: relative;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
#hero {
|
||||
width: 100vw;
|
||||
left: calc(var(--padding-body) * -1);
|
||||
}
|
||||
}
|
||||
#hero figcaption {
|
||||
color: var(--color-txt-light);
|
||||
|
|
@ -969,7 +1000,6 @@ button:disabled {
|
|||
font-size: var(--fs-medium);
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
flex-grow: 2;
|
||||
}
|
||||
.card--article .title a {
|
||||
text-decoration: none;
|
||||
|
|
@ -1434,6 +1464,7 @@ body.menu-open #menu-toggle .close {
|
|||
#site-footer {
|
||||
background-color: var(--dark);
|
||||
padding: calc(var(--padding-body) * 2) var(--padding-body);
|
||||
z-index: 500;
|
||||
}
|
||||
#site-footer .logo {
|
||||
margin-top: calc(var(--spacing) * 0.25);
|
||||
|
|
@ -1523,7 +1554,7 @@ body main {
|
|||
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;
|
||||
}
|
||||
}
|
||||
|
|
@ -1552,15 +1583,12 @@ body main {
|
|||
[data-template=investigation-summary] main {
|
||||
position: relative;
|
||||
}
|
||||
[data-template=investigation-summary] main header .page-type {
|
||||
color: var(--color-txt-light);
|
||||
margin-bottom: calc(var(--spacing) * 0.5);
|
||||
}
|
||||
[data-template=investigation-summary] main header .page-title {
|
||||
text-transform: uppercase;
|
||||
font-weight: normal;
|
||||
font-size: var(--fs-big);
|
||||
line-height: var(--leading-tight);
|
||||
margin-top: calc(var(--spacing) * 1);
|
||||
}
|
||||
[data-template=investigation-summary] main .section__article a:hover {
|
||||
color: var(--grey-200);
|
||||
|
|
@ -1777,4 +1805,170 @@ body main {
|
|||
max-width: var(--max-w-content);
|
||||
margin: calc(var(--spacing) * 3) auto;
|
||||
}
|
||||
}
|
||||
: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 .rapport__header {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 140px;
|
||||
-moz-column-gap: calc(var(--spacing) * 1.5);
|
||||
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 .rapport__header .rapport__title-group {
|
||||
grid-column: span 2;
|
||||
}
|
||||
#rapport .rapport__header .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);
|
||||
}
|
||||
#rapport .rapport__header .subtitle {
|
||||
font-size: var(--fs-big);
|
||||
line-height: var(--leading-tight);
|
||||
margin-top: calc(var(--spacing) * 0.5);
|
||||
font-weight: normal;
|
||||
}
|
||||
#rapport .rapport__header dl {
|
||||
align-self: end;
|
||||
font-size: var(--fs-small);
|
||||
border-bottom: var(--border-light);
|
||||
flex-grow: 2;
|
||||
align-items: flex-start;
|
||||
}
|
||||
#rapport .rapport__header dl .dl__group {
|
||||
display: grid;
|
||||
grid-gap: var(--padding-inner);
|
||||
grid-template-columns: 2fr 3fr;
|
||||
position: relative;
|
||||
border-top: var(--border-light);
|
||||
padding: calc(var(--spacing) * 0.5) 0;
|
||||
}
|
||||
#rapport .rapport__header dl dt {
|
||||
color: var(--color-txt-light);
|
||||
padding-right: 1ch;
|
||||
}
|
||||
#rapport .rapport__header .thumbnail-pdf {
|
||||
width: 140px;
|
||||
}
|
||||
#rapport .rapport__header .thumbnail-pdf figure {
|
||||
border: var(--border-medium);
|
||||
display: flex;
|
||||
}
|
||||
#rapport .rapport__header .thumbnail-pdf .btn--small {
|
||||
width: 100%;
|
||||
margin-top: calc(var(--spacing) * 0.25);
|
||||
}
|
||||
#rapport .rapport__content {
|
||||
max-width: var(--max-w-content);
|
||||
margin-top: calc(var(--spacing) * 3);
|
||||
}
|
||||
#rapport .rapport__content .section-content {
|
||||
margin-bottom: calc(var(--spacing) * 3);
|
||||
}
|
||||
#rapport .rapport__content .section-title {
|
||||
font-size: var(--fs-medium);
|
||||
margin-bottom: var(--spacing);
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
#rapport .rapport__content p {
|
||||
margin: calc(var(--spacing) * 0.5) 0;
|
||||
}
|
||||
#rapport .rapport__content 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);
|
||||
height: calc(100vh - var(--header-h) - var(--padding-body) * 2);
|
||||
}
|
||||
#rapport__aside .tabs {
|
||||
display: flex;
|
||||
border-bottom: var(--border-light);
|
||||
height: calc(var(--h-block) * 1.25);
|
||||
}
|
||||
#rapport__aside .tabs .tab {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: var(--fs-small);
|
||||
font-weight: bold;
|
||||
padding-left: 2ch;
|
||||
padding-top: 3px;
|
||||
}
|
||||
#rapport__aside .tabs .tab[for=tab-print] {
|
||||
width: calc(var(--h-block) * 1.5);
|
||||
border-right: var(--border-light);
|
||||
padding-left: 0;
|
||||
justify-content: center;
|
||||
}
|
||||
#rapport__aside .tabs .tab[for=tab-print] .icon svg {
|
||||
width: 18px;
|
||||
fill: var(--color-txt);
|
||||
}
|
||||
#rapport__aside .content-aside {
|
||||
padding: var(--padding-body);
|
||||
height: calc(100% - var(--h-block) * 1.25);
|
||||
overflow: scroll;
|
||||
}
|
||||
#rapport__aside #toc ul {
|
||||
list-style: none;
|
||||
}
|
||||
#rapport__aside #toc li {
|
||||
font-size: var(--fs-small);
|
||||
padding: 5px 1ch;
|
||||
padding-top: 7px;
|
||||
}
|
||||
#rapport__aside #toc li.selected {
|
||||
background-color: var(--grey-800);
|
||||
}
|
||||
#rapport__aside #toc .toc-level-1 {
|
||||
margin-bottom: calc(var(--spacing) * 0.5);
|
||||
font-weight: bold;
|
||||
}
|
||||
#rapport__aside #toc .toc-level-2 {
|
||||
margin-bottom: calc(var(--spacing) * 0.25);
|
||||
padding-left: 4ch;
|
||||
}
|
||||
#rapport__aside #toc 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;
|
||||
}/*# sourceMappingURL=style.css.map */
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -34,5 +34,6 @@
|
|||
|
||||
@import 'template/investigations';
|
||||
@import 'template/investigation-summary';
|
||||
@import 'template/investigation';
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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}{
|
||||
|
|
|
|||
1
assets/icons/printer.svg
Normal file
1
assets/icons/printer.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 18h-8v-1h8v1zm-2 1h-6v1h6v-1zm10-14v13h-4v6h-16v-6h-4v-13h4v-5h16v5h4zm-18 0h12v-3h-12v3zm12 10h-12v7h12v-7zm4-8h-20v9h2v-3h16v3h2v-9zm-1.5 1c-.276 0-.5.224-.5.5s.224.5.5.5.5-.224.5-.5-.224-.5-.5-.5z"/></svg>
|
||||
|
After Width: | Height: | Size: 304 B |
BIN
assets/images/cover-rapport.png
Normal file
BIN
assets/images/cover-rapport.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 717 KiB |
BIN
assets/images/image-rapport.png
Normal file
BIN
assets/images/image-rapport.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 620 KiB |
Loading…
Add table
Add a link
Reference in a new issue