forms_print.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. /**
  2. * Print stylesheet for yourwebsite.com
  3. * @version 1.0
  4. * @lastmodified 16.06.2016
  5. */
  6. @media print {
  7. #content, #page {
  8. width: 100% !important;
  9. margin: 15px 15px 15px 25px;
  10. float: none;
  11. }
  12. .container {
  13. width: 90%;
  14. padding: 0;
  15. margin: 18px 18px 18px 45px;
  16. position: relative;
  17. }
  18. #heading {
  19. margin: 6px;
  20. }
  21. .page-break {
  22. page-break-before: always;
  23. }
  24. h3 {
  25. font-size: 1.8rem;
  26. }
  27. h4 {
  28. font-size: 1.4rem;
  29. }
  30. @page {
  31. size: A4 portrait;
  32. margin: 0.50cm;
  33. }
  34. .divFooter {
  35. position: fixed;
  36. bottom: 0;
  37. display: block;
  38. background-color: #DA291C;
  39. color: white;
  40. }
  41. #page_number:after {
  42. position: fixed;
  43. bottom: 0;
  44. display: block;
  45. counter-increment: page;
  46. content: counter(page);
  47. }
  48. .no-pad,.no-pad [class*='col-']{
  49. padding:0
  50. }
  51. /*
  52. table {
  53. border: 3px solid black;
  54. }
  55. */
  56. td {
  57. padding: 2px;
  58. color: black;
  59. }
  60. .footer {
  61. color: grey;
  62. }
  63. body{
  64. font-size:12px;
  65. line-height:1.4;
  66. font-family:'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  67. width: 100%;
  68. }
  69. #border {
  70. color: black;
  71. }
  72. #formNo {
  73. line-height: 1;
  74. }
  75. #form {
  76. line-height: 1;
  77. }
  78. #codes {
  79. line-height: 1;
  80. }
  81. @media (max-width: 991px) {
  82. [class*='col']{
  83. width:100%;
  84. left:0;
  85. right:0;
  86. padding:0 10px;
  87. margin-bottom: 0px;
  88. }
  89. .grid {
  90. padding: 0px 10px 5px 10px;
  91. }
  92. .gigantic, .huge, .large, .bigger, .big, h1, h2, h3, h4, h5, h6 {
  93. margin-bottom: 2px;
  94. }
  95. .large, h2 {
  96. font-size: 25px;
  97. line-height: 1;
  98. }
  99. .bigger, h3 {
  100. font-size: 20px;
  101. line-height: 1.1;
  102. padding: 1px;
  103. }
  104. th,td {
  105. padding: 2px;
  106. font-size: 12px;
  107. }
  108. table {
  109. margin-bottom: 0px;
  110. }
  111. .pdf-button {
  112. display: none;
  113. }
  114. .pdf-hide {
  115. display: none;
  116. }
  117. .logo {
  118. display: block;
  119. }
  120. .logo-header {
  121. float: right;
  122. text-align:right;
  123. padding: 15px 15px 0 40px;
  124. font-weight: bold;
  125. font-size: 25px;
  126. }
  127. [class*='col-'] {
  128. margin-bottom: 5px;
  129. }
  130. hr {
  131. margin-top: 20px;
  132. margin-bottom: 40px;
  133. border-width: 0;
  134. /* border-top: 1px solid #e1e1e1 */
  135. }
  136. hr.spacer {
  137. border-top: 1px solid transparent
  138. }
  139. }
  140. @media (max-width: 767px) {
  141. [class*='col']{
  142. width:25%;
  143. left:0;
  144. right:0;
  145. padding:0 10px;
  146. font-size: 16px;
  147. }
  148. .col-17{
  149. width:17%;
  150. }
  151. .col-20{
  152. width:20%;
  153. }
  154. .col-10{
  155. width:10%;
  156. }
  157. .col-28{
  158. width:28%;
  159. }
  160. .col-30{
  161. width:30%;
  162. }
  163. .col-35{
  164. width: 30%;
  165. }
  166. .grid {
  167. padding: 0px 10px 5px 0px;
  168. }
  169. .gigantic, .huge, .large, .bigger, .big, h1, h2, h3, h4, h5, h6 {
  170. margin-bottom: 2px;
  171. }
  172. .large, h2 {
  173. font-size: 25px;
  174. line-height: 1;
  175. }
  176. .bigger, h3 {
  177. font-size: 20px;
  178. line-height: 1.1;
  179. padding: 1px;
  180. }
  181. th,td {
  182. padding: 2px;
  183. font-size: 12px;
  184. }
  185. table {
  186. margin-bottom: 0px;
  187. }
  188. .pdf-button {
  189. display: none;
  190. }
  191. .pdf-hide {
  192. display: none;
  193. }
  194. .logo {
  195. display: block;
  196. padding-left: 0px;
  197. /* height: 10%; */
  198. width: 40%;
  199. }
  200. .no-pad,.no-pad [class*='col-']{
  201. padding: 0 5px 0 5px;
  202. }
  203. }
  204. }