style.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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 .1em;
  14. color: #ff6e40;
  15. font-size: 14mm;
  16. }
  17. .subtitle {
  18. font-size: 18px;
  19. }
  20. h3 {
  21. margin-top: 0;
  22. margin-bottom: .2em;
  23. color: #ff6e40;
  24. }
  25. .intestazione {
  26. padding: 0.5rem 1.5rem;
  27. display: grid;
  28. grid-template-columns: auto auto auto;
  29. margin-bottom: 0.5rem;
  30. }
  31. .logo,
  32. .qrcode {
  33. display: flex;
  34. align-items: center;
  35. height: 100%;
  36. }
  37. .qrcode {
  38. justify-content: flex-end;
  39. }
  40. .logo img,
  41. .qrcode img {
  42. width: 25%;
  43. }
  44. #events {
  45. display: grid;
  46. grid-template-columns: auto auto auto auto;
  47. grid-template-rows: auto auto auto auto auto;
  48. grid-gap: 0.5em;
  49. padding-left: 24px;
  50. padding-right: 24px;
  51. height: 100%;
  52. }
  53. .event {
  54. background-color: #1e1e1e;
  55. border-radius: 4px;
  56. 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);
  57. }
  58. .event_info {
  59. margin: 0.5rem 1rem;
  60. }
  61. .event_info svg {
  62. height: 12px;
  63. width: 12px;
  64. fill: white;
  65. margin-right: 0.2em;
  66. }
  67. .title {
  68. font-size: 14px;
  69. }
  70. .place_name,
  71. .time {
  72. font-size: 12px;
  73. }
  74. .center {
  75. display: flex;
  76. flex-direction: column;
  77. align-items: center;
  78. }
  79. .time,
  80. .location {
  81. display: flex;
  82. align-items: center;
  83. }
  84. .place_name {
  85. color: #ff6e40;
  86. }
  87. .flyer-container {
  88. background: transparent;
  89. }
  90. .flyer {
  91. width: 100%;
  92. object-fit: cover;
  93. max-height: 30mm;
  94. border-radius: 4px 4px 0 0;
  95. }
  96. footer {
  97. width: 100%;
  98. padding: 1rem;
  99. display: grid;
  100. grid-template-columns: 66% 33%;
  101. padding-left: 24px;
  102. padding-right: 24px;
  103. }
  104. .contacts {
  105. padding-left: 24px;
  106. }
  107. .contacts span {
  108. padding-right: 1rem;
  109. }
  110. .contacts svg {
  111. width: 1rem;
  112. fill:#c9d1d9;
  113. margin-right: 0.3rem;
  114. }
  115. .published {
  116. text-align: right;
  117. padding-right: 24px;
  118. }
  119. .flex {
  120. display: flex;
  121. }