setup.scss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /**
  2. * Defines and loads the rules that set the geometry of the page and its
  3. * representation on screen. This is the core of html2print.
  4. *
  5. * Customize the variables to your needs.
  6. */
  7. /* the geometry of the page */
  8. $page-width: mm2pt(200);
  9. $page-height: mm2pt(287);
  10. /* the size of the crop marks based on scribus defaults */
  11. $crop-size: mm2pt(2);
  12. /* the size of bleed */
  13. $bleed: mm2pt(3);
  14. /**
  15. * THE CODE BELOW IS NOT REQUIRED TO MAKE HTML2PRINT WORK, ALTHOUGH IT PROVES
  16. * USEFUL IN MANY SITUATIONS.
  17. *
  18. * YOU ARE ENCOURAGED TO CUSTOMIZE IT TO YOU NEEDS.
  19. */
  20. /**
  21. * Defines and generate helper css rules to absolutly position elements on a
  22. * grid.
  23. *
  24. * Customize the variables to your needs.
  25. */
  26. $col-number: 9;
  27. $col-gutter: mm2pt(3);
  28. //$row-number: 13;
  29. $row-number: 12;
  30. $row-gutter: mm2pt(4);
  31. $grid-color: rgba(255, 0, 0, 0.25);
  32. $baseline-grid-color: rgba(0, 255, 255, 0.15);
  33. /**
  34. * Defines and loads the rules that set the base layout of the document
  35. * (header, body, footer)
  36. *
  37. * Customize the variables to your needs.
  38. */
  39. // FIXME: make a case for single page layouts
  40. $page-margin-inside: mm2pt(7.5);
  41. $page-margin-outside: mm2pt(15);
  42. $page-margin-top: mm2pt(10);
  43. $page-margin-bottom: mm2pt(10);
  44. $line-height: mm2pt(4);
  45. $header-odd: "Libriis, default header";
  46. $header-even: "Libriis, default header";