style.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. body {
  2. border: 1px solid yellow;
  3. font: 18px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  4. color: #c9d1d9;
  5. background: #0d1117;
  6. display: flex;
  7. justify-content: space-between;
  8. }
  9. h1, h2, h3 {
  10. line-height: 1.2;
  11. }
  12. h1 {
  13. /* margin: 0 0 .2em; */
  14. margin: 0 0 .1em;
  15. color: #ff6e40;
  16. /* font-size: 20mm; */
  17. font-size: 10mm;
  18. }
  19. .subtitle {
  20. font-size: 14px;
  21. }
  22. h3 {
  23. margin-top: 0;
  24. margin-bottom: .2em;
  25. color: #ff6e40;
  26. }
  27. .intestazione {
  28. /* padding: 1.5rem; */
  29. padding: 0.5rem 1.5rem;
  30. display: grid;
  31. grid-template-columns: auto auto auto;
  32. /* margin-bottom: 1.5rem; */
  33. margin-bottom: 0.5rem;
  34. }
  35. .logo,
  36. .qrcode {
  37. display: flex;
  38. align-items: center;
  39. height: 100%;
  40. }
  41. .qrcode {
  42. justify-content: flex-end;
  43. }
  44. .logo img,
  45. .qrcode img {
  46. /* width: 25%; */
  47. width: 15%;
  48. }
  49. #events {
  50. display: grid;
  51. /* grid-template-columns: 33% 33% 33%; */
  52. grid-template-columns: auto auto auto auto;
  53. grid-template-rows: auto auto auto auto auto;
  54. /* grid-gap: 1.5em; */
  55. grid-gap: 0.5em;
  56. /* border: 1px dotted black; */
  57. padding-left: 24px;
  58. padding-right: 24px;
  59. }
  60. .event {
  61. background-color: #1e1e1e;
  62. border-radius: 4px;
  63. box-shadow: 0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);
  64. }
  65. .event_info {
  66. margin: 0.5rem 1rem;
  67. }
  68. .event_info svg {
  69. /* height: 24px;
  70. width: 24px; */
  71. height: 12px;
  72. width: 12px;
  73. fill: white;
  74. margin-right: 0.2em;
  75. }
  76. .title {
  77. /* font-size: 16px; */
  78. font-size: 14px;
  79. }
  80. .place_name,
  81. .flex {
  82. /* font-size: 14px; */
  83. font-size: 12px;
  84. }
  85. .title,
  86. .flex,
  87. .location {
  88. /* margin: .5rem 1rem; */
  89. }
  90. .center {
  91. display: flex;
  92. flex-direction: column;
  93. align-items: center;
  94. }
  95. .flex,
  96. .location {
  97. /* display: grid;
  98. grid-template-columns: auto auto;
  99. justify-content: start; */
  100. display: flex;
  101. align-items: center;
  102. }
  103. .place_name {
  104. color: #ff6e40;
  105. }
  106. .flyer-container {
  107. background: #0d1117;
  108. }
  109. .flyer {
  110. width: 100%;
  111. object-fit: cover;
  112. /* max-height: 40mm; */
  113. max-height: 30mm;
  114. border-radius: 4px 4px 0 0;
  115. }
  116. footer {
  117. width: 100%;
  118. padding: 1rem;
  119. display: grid;
  120. grid-template-columns: 66% 33%;
  121. padding-left: 24px;
  122. padding-right: 24px;
  123. }
  124. .contacts {
  125. padding-left: 24px;
  126. }
  127. .contacts span {
  128. padding-right: 1rem;
  129. }
  130. .contacts svg {
  131. width: 1rem;
  132. fill:#c9d1d9;
  133. }
  134. .published {
  135. text-align: right;
  136. padding-right: 24px;
  137. }