This commit is contained in:
parent
9444a59260
commit
d758cd0843
4 changed files with 62 additions and 126 deletions
|
|
@ -1855,9 +1855,17 @@ body main {
|
||||||
#rapport .rapport__header {
|
#rapport .rapport__header {
|
||||||
margin-top: calc(var(--spacing) * 2);
|
margin-top: calc(var(--spacing) * 2);
|
||||||
max-width: var(--max-w-content);
|
max-width: var(--max-w-content);
|
||||||
padding-bottom: calc(var(--spacing) * 0.5);
|
margin-bottom: calc(var(--spacing) * 2.5);
|
||||||
|
display: grid;
|
||||||
|
-moz-column-gap: var(--padding-inner);
|
||||||
|
column-gap: var(--padding-inner);
|
||||||
|
row-gap: calc(var(--spacing) * 1);
|
||||||
|
grid-template-columns: 30% 70%;
|
||||||
|
grid-template-rows: auto auto 1fr;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
#rapport .rapport__header .rapport__title-group {
|
#rapport .rapport__header .rapport__title-group {
|
||||||
|
grid-row: 1;
|
||||||
grid-column: span 2;
|
grid-column: span 2;
|
||||||
}
|
}
|
||||||
#rapport .rapport__header .rapport__title-group .title {
|
#rapport .rapport__header .rapport__title-group .title {
|
||||||
|
|
@ -1874,10 +1882,10 @@ body main {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
#rapport .rapport__header .rapport__figure {
|
#rapport .rapport__header .rapport__figure {
|
||||||
display: none;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
aspect-ratio: 2/1;
|
aspect-ratio: 4/5;
|
||||||
margin-top: calc(var(--spacing) * 2);
|
grid-row: span 2;
|
||||||
|
grid-column: 1;
|
||||||
}
|
}
|
||||||
#rapport .rapport__header .rapport__figure img {
|
#rapport .rapport__header .rapport__figure img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -1886,10 +1894,12 @@ body main {
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
#rapport .rapport__header .rapport__dl {
|
#rapport .rapport__header .rapport__dl {
|
||||||
|
grid-row: 2;
|
||||||
|
grid-column: 2;
|
||||||
|
align-self: start;
|
||||||
font-size: var(--fs-small);
|
font-size: var(--fs-small);
|
||||||
border-bottom: var(--border-light);
|
border-bottom: var(--border-light);
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
margin-top: calc(var(--spacing) * 1);
|
|
||||||
}
|
}
|
||||||
#rapport .rapport__header .rapport__dl .dl__group {
|
#rapport .rapport__header .rapport__dl .dl__group {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|
@ -1903,15 +1913,22 @@ body main {
|
||||||
color: var(--color-txt-light);
|
color: var(--color-txt-light);
|
||||||
padding-right: 1ch;
|
padding-right: 1ch;
|
||||||
}
|
}
|
||||||
#rapport .rapport__header .thumbnail--group {
|
|
||||||
display: flex;
|
|
||||||
gap: calc(var(--spacing) * 0.5);
|
|
||||||
margin-top: calc(var(--spacing) * 1);
|
|
||||||
}
|
|
||||||
#rapport .rapport__header .btn--group {
|
#rapport .rapport__header .btn--group {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: start;
|
||||||
|
align-items: start;
|
||||||
gap: calc(var(--spacing) * 0.5);
|
gap: calc(var(--spacing) * 0.5);
|
||||||
position: relative;
|
position: relative;
|
||||||
|
grid-row: 3;
|
||||||
|
grid-column: 2;
|
||||||
|
}
|
||||||
|
#rapport .rapport__header .btn--group button, #rapport .rapport__header .btn--group label {
|
||||||
|
min-width: 28ch;
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
#rapport .rapport__header .btn--group button a, #rapport .rapport__header .btn--group label a {
|
||||||
|
justify-content: flex-start;
|
||||||
}
|
}
|
||||||
#rapport .rapport__header .modal--share {
|
#rapport .rapport__header .modal--share {
|
||||||
max-width: 240px;
|
max-width: 240px;
|
||||||
|
|
@ -1928,51 +1945,9 @@ body main {
|
||||||
top: -10px;
|
top: -10px;
|
||||||
right: calc(var(--h-block) * 1.5);
|
right: calc(var(--h-block) * 1.5);
|
||||||
}
|
}
|
||||||
#rapport .rapport__header .thumbnail {
|
|
||||||
max-width: 260px;
|
|
||||||
display: grid;
|
|
||||||
display: none;
|
|
||||||
grid-template-columns: 2fr 3fr;
|
|
||||||
-moz-column-gap: calc(var(--padding-inner) * 1);
|
|
||||||
column-gap: calc(var(--padding-inner) * 1);
|
|
||||||
padding: calc(var(--padding-inner) * 0.5);
|
|
||||||
border: var(--border-light);
|
|
||||||
}
|
|
||||||
#rapport .rapport__header .thumbnail figure {
|
|
||||||
display: flex;
|
|
||||||
aspect-ratio: 4/3;
|
|
||||||
grid-column: 1;
|
|
||||||
grid-row: 1/3;
|
|
||||||
}
|
|
||||||
#rapport .rapport__header .thumbnail figure img {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
-o-object-fit: cover;
|
|
||||||
object-fit: cover;
|
|
||||||
}
|
|
||||||
#rapport .rapport__header .thumbnail .thumbnail__title {
|
|
||||||
padding-top: calc(var(--padding-inner) * 0.5);
|
|
||||||
}
|
|
||||||
#rapport .rapport__header .thumbnail .thumbnail__title a {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
#rapport .rapport__header .thumbnail button {
|
|
||||||
align-self: end;
|
|
||||||
display: flex;
|
|
||||||
align-items: end;
|
|
||||||
justify-content: end;
|
|
||||||
padding-right: calc(var(--padding-inner) * 0.5);
|
|
||||||
padding-bottom: calc(var(--padding-inner) * 0.5);
|
|
||||||
}
|
|
||||||
#rapport .rapport__header .thumbnail button svg {
|
|
||||||
width: 15px;
|
|
||||||
height: 15px;
|
|
||||||
fill: var(--color-txt);
|
|
||||||
}
|
|
||||||
|
|
||||||
#rapport .rapport__content {
|
#rapport .rapport__content {
|
||||||
max-width: var(--max-w-content);
|
max-width: var(--max-w-content);
|
||||||
margin-top: calc(var(--spacing) * 3);
|
|
||||||
}
|
}
|
||||||
#rapport .rapport__content .section-content {
|
#rapport .rapport__content .section-content {
|
||||||
margin-bottom: calc(var(--spacing) * 3);
|
margin-bottom: calc(var(--spacing) * 3);
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -15,11 +15,20 @@
|
||||||
#rapport .rapport__header{
|
#rapport .rapport__header{
|
||||||
margin-top: calc(var(--spacing)*2);
|
margin-top: calc(var(--spacing)*2);
|
||||||
max-width: var(--max-w-content);
|
max-width: var(--max-w-content);
|
||||||
padding-bottom: calc(var(--spacing)*0.5);
|
margin-bottom: calc(var(--spacing)*2.5);
|
||||||
|
|
||||||
|
display: grid;
|
||||||
|
column-gap: var(--padding-inner);
|
||||||
|
row-gap: calc(var(--spacing)*1);
|
||||||
|
grid-template-columns: 30% 70%;
|
||||||
|
grid-template-rows: auto auto 1fr;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
|
||||||
.rapport__title-group{
|
.rapport__title-group{
|
||||||
|
grid-row: 1;
|
||||||
grid-column: span 2;
|
grid-column: span 2;
|
||||||
|
// padding-bottom: calc(var(--spacing)*1);
|
||||||
|
|
||||||
.title{
|
.title{
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|
@ -41,10 +50,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.rapport__figure{
|
.rapport__figure{
|
||||||
display: none;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
aspect-ratio: 2/1;
|
aspect-ratio: 4/5;
|
||||||
margin-top: calc(var(--spacing)*2);
|
grid-row: span 2;
|
||||||
|
grid-column: 1;
|
||||||
|
|
||||||
|
|
||||||
img{
|
img{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
@ -54,12 +65,16 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.rapport__dl{
|
.rapport__dl{
|
||||||
|
grid-row: 2;
|
||||||
|
grid-column: 2;
|
||||||
|
align-self: start;
|
||||||
|
|
||||||
// align-self: start;
|
// align-self: start;
|
||||||
font-size: var(--fs-small);
|
font-size: var(--fs-small);
|
||||||
border-bottom: var(--border-light);
|
border-bottom: var(--border-light);
|
||||||
// flex-grow: 2;
|
// flex-grow: 2;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
margin-top: calc(var(--spacing)*1);
|
// margin-top: calc(var(--spacing)*1);
|
||||||
.dl__group{
|
.dl__group{
|
||||||
@include grid-content();
|
@include grid-content();
|
||||||
border-top: var(--border-light);
|
border-top: var(--border-light);
|
||||||
|
|
@ -73,18 +88,25 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.thumbnail--group{
|
|
||||||
display: flex;
|
|
||||||
gap: calc(var(--spacing)*0.5);
|
|
||||||
margin-top: calc(var(--spacing)*1);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.btn--group{
|
.btn--group{
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: start;
|
||||||
|
align-items: start;
|
||||||
gap: calc(var(--spacing)*0.5);
|
gap: calc(var(--spacing)*0.5);
|
||||||
position: relative;
|
position: relative;
|
||||||
|
grid-row: 3;
|
||||||
|
grid-column: 2;
|
||||||
|
|
||||||
|
button, label{
|
||||||
|
min-width: 28ch;
|
||||||
|
justify-content: flex-start;
|
||||||
|
a{
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -110,50 +132,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.thumbnail{
|
|
||||||
max-width: 260px;
|
|
||||||
display: grid;
|
|
||||||
display: none;
|
|
||||||
grid-template-columns: 2fr 3fr;
|
|
||||||
column-gap: calc(var(--padding-inner)*1);
|
|
||||||
padding: calc(var(--padding-inner)*0.5);
|
|
||||||
border: var(--border-light);
|
|
||||||
figure{
|
|
||||||
display: flex;
|
|
||||||
aspect-ratio: 4/3;
|
|
||||||
grid-column: 1;
|
|
||||||
grid-row: 1/3;
|
|
||||||
img{
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
object-fit: cover;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.thumbnail__title{
|
|
||||||
padding-top: calc(var(--padding-inner)*0.5);
|
|
||||||
a{
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
button{
|
|
||||||
align-self: end;
|
|
||||||
display: flex;
|
|
||||||
align-items: end;
|
|
||||||
justify-content: end;
|
|
||||||
padding-right: calc(var(--padding-inner)*0.5);
|
|
||||||
padding-bottom: calc(var(--padding-inner)*0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
button svg{
|
|
||||||
width: 15px;
|
|
||||||
height: 15px;
|
|
||||||
fill: var(--color-txt);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -162,7 +140,7 @@
|
||||||
|
|
||||||
.rapport__content{
|
.rapport__content{
|
||||||
max-width: var(--max-w-content);
|
max-width: var(--max-w-content);
|
||||||
margin-top: calc(var(--spacing)*3);
|
// margin-top: calc(var(--spacing)*0.5);
|
||||||
|
|
||||||
|
|
||||||
.section-content{
|
.section-content{
|
||||||
|
|
|
||||||
|
|
@ -84,23 +84,6 @@
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
<div class="thumbnail--group">
|
|
||||||
<div class="thumbnail thumbnail-pdf">
|
|
||||||
<figure><img src="/assets/images/cover-rapport.png"></figure>
|
|
||||||
<p class="thumbnail__title"><a href="#">Télégarcher le PDF</a></p>
|
|
||||||
<button><?= svg('assets/icons/arrow-left.svg') ?></button>
|
|
||||||
<a class="link-block" href="#"></a>
|
|
||||||
</div>
|
|
||||||
<div class="thumbnail thumbnail-summary">
|
|
||||||
<figure><img src="/assets/images/Nidal-Khaled-Amirah.png"></figure>
|
|
||||||
<p class="thumbnail__title"><a href="#">Voir la synthèse</a></p>
|
|
||||||
<button><?= svg('assets/icons/arrow-left.svg') ?></button>
|
|
||||||
<a class="link-block" href="/enquetes/l-execution-de-nidal-et-khaled-amirah-a-naplouse"></a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="btn--group">
|
<div class="btn--group">
|
||||||
<button class="btn--bold-inline btn--light">
|
<button class="btn--bold-inline btn--light">
|
||||||
<a href="#">
|
<a href="#">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue