templates/pdf/mdd/twig/style.html.twig line 1

Open in your IDE?
  1. {% set primaryColor = '#000000' %}
  2. <style>
  3.     @page {
  4.         margin: 0;
  5.         padding: 0;
  6.     }
  7.     html,
  8.     body {
  9.         font-size: 16px;
  10.         font-family: "Times New Roman", Times, serif;    
  11.         color: {{primaryColor}};
  12.         padding: 5rem 5.6rem 2rem 5.6rem;
  13.     }
  14.     p {
  15.         text-align: justify;
  16.           text-justify: inter-word;
  17.         line-height: 1.1;
  18.     }
  19.     .page_break { page-break-before: always; }
  20.     .center {
  21.         text-align: center;
  22.     }
  23.     .absolute {
  24.         position: absolute;
  25.     }
  26.     p.input, span.input {
  27.         font-size: 16px;
  28.         border-bottom: 1px solid #000000;
  29.     }
  30.     img.checkbox_yes {
  31.         left: 150px;
  32.         top: 730px;
  33.         z-index: 200;
  34.     }
  35.     img.autorizzo.yes {
  36.         left: 100px;
  37.         top: 720px;
  38.         width: 30px;
  39.         height: 30px;
  40.         z-index: 201;
  41.     }
  42.     p.label_yes {
  43.         left: 150px;
  44.         top: 730px;
  45.     }
  46.     p.label_no {
  47.         left: 450px;
  48.         top: 715px;
  49.     }
  50.     img.checkbox_no {
  51.         left: 450px;
  52.         top: 715px;
  53.         z-index: 200;
  54.     }
  55.     img.autorizzo.no {
  56.         left: 410px;
  57.         top: 720px;
  58.         width: 30px;
  59.         height: 30px;
  60.     }
  61.     p.nomeCognome {
  62.         left: 230px;
  63.         top: 805px;
  64.         z-index: 99;
  65.         height: 20px;
  66.     }
  67.     p.dataCompilazione {
  68.         left: 140px;
  69.         top: 845px;
  70.         z-index: 100;
  71.         height: 20px;
  72.     }
  73.     img.imgURL {
  74.         left: 200px;
  75.         top: 910px;
  76.         z-index: 101;
  77.         width: 400px;
  78.     }
  79. </style>