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.

166 lines
3.0 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;
2 years ago
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} */
}
}
2 years ago
a {
color: var(--pantone1);
}
a:hover{
color: #000;
}
body{
font-family: 'worksans', sans-serif;
font-weight: 400;
font-size: 15px;
line-height: var(--baseline);
2 years ago
max-width: 90%;
margin: 0 auto;
}
.grid-wrap{
display: grid;
grid-template-columns: 33% 33% 33%;
}
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);
2 years ago
padding: 6rem 0 8rem;
2 years ago
}
h1 svg{
position: absolute;
width: 100vw;
right: -6vw;
top: -8rem;
z-index: -1;
}
h3{
font-size: 15pt;
line-height: calc(2 * var(--baseline));
position: relative;
top: -2mm;
margin-bottom:10mm;
width: calc(100% + 40mm);
}
.margin-note{
line-height: 3.75mm;
padding: 0 5mm;
text-align: left;
}
2 years ago
nav ul li{
text-decoration: none;
display: inline;
2 years ago
padding-right: 2rem;
/* float: right; */
2 years ago
}
.note-call::after{
}
p{
margin: 0 0 5mm;
position: relative;
top: 1.2mm;
/* text-align: justify; */
}
section.right{
grid-column: 3;
}
sup{
color: var(--pantone1);
line-height: 0.5;
}
svg{
color: var(--pantone1);
margin: 0;
}
#image{
max-width: 100%;
}
2 years ago
@media only screen and (max-width: 600px) {
.grid-wrap{
grid-template-columns: 100%;
}
h1 svg{
top: 4rem;
right: -10rem;
width: 200vw;
}
section.right{
grid-column: 1;
}
}