main.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. /*! Generated by Font Squirrel (https://www.fontsquirrel.com) on May 15, 2020 */
  2. @font-face {
  3. font-family: 'cardobold';
  4. src: url('../fonts/cardo-bold-webfont.woff2') format('woff2'),
  5. url('../fonts/cardo-bold-webfont.woff') format('woff');
  6. font-weight: normal;
  7. font-style: normal;
  8. }
  9. @font-face {
  10. font-family: 'cardoregular';
  11. src: url('../fonts/cardo-regular-webfont.woff2') format('woff2'),
  12. url('../fonts/cardo-regular-webfont.woff') format('woff');
  13. font-weight: normal;
  14. font-style: normal;
  15. }
  16. @font-face {
  17. font-family: 'afta_serifregular';
  18. src: url('../fonts/aftaserifthin-regular-webfont.woff2') format('woff2'),
  19. url('../fonts/aftaserifthin-regular-webfont.woff') format('woff');
  20. font-weight: normal;
  21. font-style: normal;
  22. }
  23. @font-face {
  24. font-family: 'cardoitalic';
  25. src: url('../fonts/cardo-italic-webfont.woff2') format('woff2'),
  26. url('../fonts/cardo-italic-webfont.woff') format('woff');
  27. font-weight: normal;
  28. font-style: normal;
  29. }
  30. /*
  31. * Codice css per l'applicazione
  32. */
  33. body {
  34. /* background-image: url(../images/agricoltura_bene_comune.png);*/
  35. background-position: center;
  36. background-repeat: space;
  37. }
  38. header.page-header {
  39. margin-top: 0;
  40. }
  41. header.page-header img {
  42. margin-top: 9px;
  43. background-color: white;
  44. border-radius: 5px;
  45. border-top-left-radius: 50px;
  46. border-top-right-radius: 50px;
  47. }
  48. header.page-header nav {
  49. margin-top: 15px;
  50. }
  51. section.page-body {
  52. margin-top: 20px;
  53. margin-bottom: 20px;
  54. }
  55. .card.accordion.shuffle-item.filtered {
  56. border: solid 1px goldenrod;
  57. }
  58. /*grid per schermi grandi ed orizzontali*/
  59. .card {
  60. display: flex;
  61. }
  62. .card-body {
  63. order: 1;
  64. max-width: 50%;
  65. padding: 2em;
  66. }
  67. .logo {
  68. background-image: url("/images/campiapertilogo.png");
  69. height: 8em;
  70. background-repeat: no-repeat;
  71. margin-left: 40%;
  72. }
  73. .descrizione {
  74. background-color: black;
  75. color: white;
  76. padding: 2em;
  77. font-family: afta_serifregular;
  78. font-weight: 600;
  79. font-size: 10pt;
  80. }
  81. p.descrive:first-letter {
  82. color: gold;
  83. font-size: 2.6em;
  84. }
  85. .card-header {
  86. order: 2;
  87. min-width: 35%;
  88. }
  89. .card-hidden {
  90. }
  91. h1 {
  92. margin: 1em 0em 0.1em 0em;;
  93. font-weight: 600;
  94. text-transform: uppercase;
  95. font-size: 2.6em;
  96. font-family: afta_serifregular;
  97. }
  98. p.prodotti {
  99. background: gold;
  100. padding: 0.1em 0.5em;
  101. color: #333;
  102. }
  103. p.tratteggio {
  104. border-bottom: dotted;
  105. transform: rotate(1deg) translate(-17px, 0px);
  106. padding-bottom: 0.5em;
  107. margin-bottom: 1.5em;
  108. }
  109. /*lato destro*/
  110. p.luogo {
  111. margin-bottom: 2em;
  112. }
  113. /*tuttu*/
  114. span {
  115. line-height: 1;
  116. }
  117. span.info {
  118. line-height: 1;
  119. margin-bottom: 1em;
  120. display: inline-block;
  121. }
  122. .uppercase {
  123. text-transform: uppercase;
  124. }
  125. span.info {
  126. line-height: 1;
  127. margin-bottom: 1em;
  128. display: inline-block;
  129. }
  130. div.comics-container {
  131. padding: 5px;
  132. text-align: center;
  133. height: auto;
  134. background: white;
  135. }
  136. article.comics {
  137. border: 1px solid #ccc;
  138. }
  139. img.cover {
  140. max-height: 253px;
  141. }
  142. footer.page-footer,
  143. header.page-header.aziende {
  144. background-color: goldenrod;
  145. }
  146. header.page-header.ingressi {
  147. background-color: forestgreen;
  148. }
  149. header.page-header.scartati {
  150. background-color: grey;
  151. }
  152. hide {
  153. display: none !important;
  154. height: 0;
  155. }
  156. .container-fluid {
  157. /* max-width: 1048px;*/
  158. }
  159. @page default {
  160. margin: 2cm;
  161. }
  162. @page :left {
  163. margin: 0.8cm;
  164. }
  165. @page :right {
  166. margin: 0.8cm;
  167. }
  168. @media print {
  169. div.card {
  170. font-size: 12pt !important;
  171. line-height: 1;
  172. }
  173. h5 {
  174. margin: 10px 0px;
  175. font-weight: 600;
  176. text-transform: uppercase;
  177. }
  178. input, .noprint {
  179. display: none !important;
  180. }
  181. div.card {
  182. page-break-after: always !important;
  183. page-break-inside: avoid !important;
  184. }
  185. .card.accordion.shuffle-item.filtered {
  186. border: none;
  187. }
  188. .descrizione {
  189. background-color: black !important;
  190. color: none !important;
  191. }
  192. p.descrive, p.collabora, p.collabora span{
  193. color: white !important;
  194. }
  195. /* div.card{page-break-after: always}*/
  196. /*div.filtered { }*/
  197. /*div.card.accordion.shuffle-item.filtered { display:none !important;}*/
  198. }