flyer.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600&display=swapp');
  2. * {
  3. font-family: 'Roboto', sans-serif;
  4. padding: 0;
  5. margin: 0;
  6. box-sizing: border-box;
  7. }
  8. body {
  9. background: #efefef;
  10. -webkit-print-color-adjust: exact;
  11. }
  12. @media print {
  13. .print-none {
  14. display: none;
  15. }
  16. }
  17. .sh-container {
  18. width: 8.5in;
  19. height: 11in;
  20. overflow: hidden;
  21. margin-inline:auto;
  22. }
  23. .coupon-container {
  24. width: 8.5in;
  25. height: 10in;
  26. overflow: hidden;
  27. margin-inline:auto;
  28. background-color: #ffffff !important;
  29. -webkit-print-color-adjust: exact;
  30. display: flex;
  31. flex-direction: column;
  32. }
  33. .primary-bg {
  34. background-color: var(--pry-color);
  35. -webkit-print-color-adjust: exact;
  36. color: #fff;
  37. }
  38. .primary-color {
  39. color: var(--pry-color);
  40. }
  41. .crop-markers {
  42. height: .125in;
  43. width:.125in;
  44. border:1px dashed #000;
  45. display: block;
  46. position: absolute;
  47. }
  48. .header {
  49. padding: 30px 60px;
  50. text-align: center;
  51. position: relative;
  52. }
  53. .header .crop-markers {
  54. top:0;
  55. border-top:0;
  56. }
  57. .crop-left {
  58. left: 0;
  59. border-left:0;
  60. }
  61. .crop-right {
  62. right: 0;
  63. border-right:0;
  64. }
  65. .footer {
  66. margin-top: auto;
  67. padding: 20px 20px 30.125px 20px;
  68. text-align: center;
  69. position: relative;
  70. }
  71. .footer .crop-markers {
  72. bottom:0;
  73. border-bottom:0;
  74. }
  75. .flyer-pp-container {
  76. height: 280px;
  77. width: 280px;
  78. display: grid;
  79. place-items: center;
  80. }
  81. .flyer-pp-container img{
  82. height: 240px;
  83. width: 240px;
  84. object-fit: contain;
  85. }
  86. .qr_code {
  87. height: 70px;
  88. width: 70px;
  89. object-fit: contain;
  90. }
  91. @media print {
  92. body {
  93. background-color: #ffffff;
  94. }
  95. .coupon-container {
  96. width: auto;
  97. }
  98. }