You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
213 lines
3.8 KiB
CSS
213 lines
3.8 KiB
CSS
:root{
|
|
--pantone1: #b0d;
|
|
--baseline: 5mm;
|
|
--margin-left: 40mm;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'worksans';
|
|
src: url('../fonts/worksans/WorkSans-Medium.woff') format('opentype');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'worksans';
|
|
src: url('../fonts/worksans/WorkSans-Bold.woff') format('opentype');
|
|
font-weight: bold;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'worksans';
|
|
src: url('../fonts/worksans/WorkSans-MediumItalic.woff') format('opentype');
|
|
font-weight: normal;
|
|
font-style: oblique;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'worksans';
|
|
src: url('../fonts/worksans/WorkSans-BoldItalic.woff') format('opentype');
|
|
font-weight: bold;
|
|
font-style: oblique;
|
|
}
|
|
|
|
@media print{
|
|
|
|
@page{
|
|
size: 145mm 210mm;
|
|
bleed: 5mm;
|
|
marks: crop cross;
|
|
margin: 10mm 10mm 20mm 50mm;
|
|
@bottom{
|
|
color: var(--pantone1);
|
|
font-weight: 600;
|
|
}
|
|
@bottom-right{
|
|
color: var(--pantone1);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
content: counter(page);
|
|
text-align: right;
|
|
}
|
|
@bottom-left{
|
|
color: var(--pantone1);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
content: "La pratique de l'enquête ⟶" string(title);
|
|
position: relative;
|
|
left: -40mm;
|
|
overflow: visible;
|
|
width: 80mm;
|
|
/* width: calc(100% + 40mm); */
|
|
/* text-align: right; */
|
|
}
|
|
/* @bottom-left::after{width: 80mm} */
|
|
}
|
|
|
|
}
|
|
|
|
a {
|
|
color: var(--pantone1);
|
|
}
|
|
a:hover{
|
|
color: #000;
|
|
}
|
|
body{
|
|
font-family: 'worksans', sans-serif;
|
|
font-weight: 400;
|
|
font-size: 15px;
|
|
line-height: var(--baseline);
|
|
max-width: 90%;
|
|
margin: 0 auto 3rem;
|
|
overflow-x: hidden;
|
|
}
|
|
.grid-wrap{
|
|
display: grid;
|
|
gap: 5%;
|
|
grid-template-columns: 30% 30% 30%;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6{
|
|
/* color: var(--pantone1); */
|
|
margin: 0;
|
|
}
|
|
|
|
h1{
|
|
font-size: 80pt;
|
|
line-height: calc(4 * var(--baseline));
|
|
position: relative;
|
|
top: -1.75mm;
|
|
string-set: title content(text);
|
|
padding: 2rem 0 12rem;
|
|
}
|
|
h1 svg{
|
|
position: absolute;
|
|
overflow: hidden;
|
|
width: 106vw;
|
|
right: -6vw;
|
|
top: 0rem;
|
|
z-index: 2;
|
|
pointer-events: none;
|
|
}
|
|
.home h1 svg{
|
|
position: absolute;
|
|
overflow: hidden;
|
|
width: 106vw;
|
|
right: -6vw;
|
|
top: -12rem;
|
|
z-index: -2;
|
|
}
|
|
h3{
|
|
font-size: 1.9rem;
|
|
line-height: calc(2 * var(--baseline));
|
|
position: relative;
|
|
top: -2mm;
|
|
margin-bottom:5mm;
|
|
}
|
|
img{
|
|
max-width: 100%;
|
|
}
|
|
.margin-note{
|
|
line-height: 3.75mm;
|
|
padding: 0 5mm;
|
|
text-align: left;
|
|
}
|
|
nav ul{
|
|
padding: 0;
|
|
}
|
|
|
|
nav ul li{
|
|
text-decoration: none;
|
|
display: inline;
|
|
padding-right: 2rem;
|
|
/* float: right; */
|
|
}
|
|
.note-call::after{
|
|
|
|
}
|
|
|
|
p{
|
|
margin: 0 0 5mm;
|
|
position: relative;
|
|
top: 1.2mm;
|
|
/* text-align: justify; */
|
|
}
|
|
.purple-image{
|
|
filter: invert(2%) sepia(0%) saturate(150%) hue-rotate(800deg) brightness(90%) contrast(150%);
|
|
}
|
|
section.full-width{
|
|
grid-column: 1 / -1;
|
|
}
|
|
section.left{
|
|
grid-column: 1;
|
|
}
|
|
section.left2{
|
|
grid-column: 1 / 3;
|
|
}
|
|
section.middle{
|
|
grid-column: 2;
|
|
}
|
|
section.right{
|
|
grid-column: 3;
|
|
}
|
|
section.right2{
|
|
grid-column: 2 / -1;
|
|
}
|
|
sup{
|
|
color: var(--pantone1);
|
|
line-height: 0.5;
|
|
}
|
|
svg{
|
|
color: var(--pantone1);
|
|
margin: 0;
|
|
}
|
|
.animated-path {
|
|
stroke-dasharray: 1000;
|
|
stroke-dashoffset: -1000;
|
|
animation: dash 5s linear forwards;
|
|
}
|
|
|
|
@keyframes dash {
|
|
to {
|
|
stroke-dashoffset: 0;
|
|
}
|
|
}
|
|
#image{
|
|
max-width: 100%;
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
.grid-wrap{
|
|
grid-template-columns: 100%;
|
|
}
|
|
h1 svg{
|
|
top: -4rem;
|
|
right: -3rem;
|
|
width: 260vw;
|
|
}
|
|
section.full-width, section.left, section.left2, section.middle, section.right, section.right2{
|
|
grid-column: 1;
|
|
}
|
|
}
|