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.
125 lines
2.5 KiB
CSS
125 lines
2.5 KiB
CSS
:root{
|
|
--pantone1: #7C3BC8;
|
|
--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} */
|
|
}
|
|
|
|
}
|
|
body{
|
|
font-family: 'worksans', sans-serif;
|
|
font-weight: 500;
|
|
font-size: 15px;
|
|
line-height: var(--baseline);
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6{
|
|
font-family: 'worksans', serif;
|
|
color: var(--pantone1);
|
|
margin: 0;
|
|
}
|
|
|
|
h2{
|
|
font-size: 48pt;
|
|
line-height: calc(4 * var(--baseline));
|
|
position: relative;
|
|
top: -1.75mm;
|
|
left: -40mm;
|
|
width: calc(100% + 40mm);
|
|
string-set: title content(text);
|
|
}
|
|
h3{
|
|
font-size: 15pt;
|
|
line-height: calc(2 * var(--baseline));
|
|
position: relative;
|
|
top: -2mm;
|
|
margin-bottom:10mm;
|
|
left: -40mm;
|
|
width: calc(100% + 40mm);
|
|
}
|
|
.margin-note{
|
|
/* color: var(--pantone1) */
|
|
line-height: 3.75mm;
|
|
padding: 0 5mm;
|
|
text-align: left;
|
|
}
|
|
.note-call::after{
|
|
|
|
/* height: 0; */
|
|
}
|
|
|
|
p{
|
|
margin: 0 0 5mm;
|
|
position: relative;
|
|
top: 1.2mm;
|
|
text-align: justify;
|
|
}
|
|
|
|
sup{
|
|
color: var(--pantone1);
|
|
line-height: 0.5;
|
|
}
|
|
#image{
|
|
max-width: 100%;
|
|
}
|