djledda.de main
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

244 righe
3.9 KiB

  1. :root {
  2. --text-color: #313131;
  3. --header-color: rgb(114, 132, 114);
  4. --bg-color-box: #ffffff;
  5. --bg-color: #f6f9f6;
  6. }
  7. body {
  8. font-family: "Roboto", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  9. color: #313131;
  10. background-color: var(--bg-color);
  11. }
  12. h1, h2, h3, h4, h5 {
  13. font-family: "Roboto Slab", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  14. color: var(--header-color);
  15. }
  16. .baustelle {
  17. text-align: center;
  18. display: block;
  19. }
  20. a.home-btn {
  21. display: block;
  22. text-align: center;
  23. &.hide {
  24. visibility: hidden;
  25. }
  26. }
  27. span.tag {
  28. margin-left: 4px;
  29. font-style: italic;
  30. &::before {
  31. content: '#';
  32. }
  33. }
  34. .ge-article {
  35. .title {
  36. text-align: center;
  37. }
  38. .header {
  39. margin-top: 20px;
  40. display: flex;
  41. justify-content: space-between;
  42. }
  43. [data-tunit] {
  44. position: relative;
  45. transition: background 0.15s;
  46. }
  47. [data-tunit].swap {
  48. background-color: #bde4ff;
  49. }
  50. button.swap {
  51. background-color: white;
  52. height: 25px;
  53. width: 25px;
  54. font-size: 16px;
  55. border-radius: 3px;
  56. border: solid 1px gray;
  57. cursor: pointer;
  58. position: absolute;
  59. top: 5px;
  60. right: 5px;
  61. opacity: 0%;
  62. transition: opacity 150ms;
  63. }
  64. button.swap:hover {
  65. background-color: lightgray;
  66. }
  67. [data-tunit]:hover > button.swap {
  68. opacity: 100%;
  69. }
  70. .lang-en [data-tunit].swap :lang(de) {
  71. display: revert;
  72. }
  73. .lang-en [data-tunit].swap :lang(en) {
  74. display: none;
  75. }
  76. .lang-de [data-tunit].swap :lang(en) {
  77. display: revert;
  78. }
  79. .lang-de [data-tunit].swap :lang(de) {
  80. display: none;
  81. }
  82. .lang-en [data-tunit] :lang(de) {
  83. display: none;
  84. }
  85. .lang-de [data-tunit] :lang(en) {
  86. display: none;
  87. }
  88. }
  89. main {
  90. width: calc(100% - 20px);
  91. margin: auto;
  92. }
  93. @media (min-width: 900px) {
  94. main {
  95. max-width: 943px;
  96. min-width: 600px;
  97. }
  98. }
  99. li {
  100. margin-bottom: 8px;
  101. }
  102. header {
  103. margin: auto;
  104. text-align: center;
  105. }
  106. article {
  107. margin: auto;
  108. }
  109. .text-slab {
  110. margin-bottom: 15px;
  111. background-color: white;
  112. border-radius: 5px;
  113. padding: 10px;
  114. }
  115. .text-slab > p:first-of-type {
  116. margin-top: 0;
  117. }
  118. .text-slab > p:last-of-type {
  119. margin-bottom: 0;
  120. }
  121. form {
  122. display: block;
  123. text-align: center;
  124. margin: 40px;
  125. }
  126. label {
  127. display: block;
  128. }
  129. hr {
  130. border: 0;
  131. border-bottom: 1px dashed #ccc;
  132. background: #999;
  133. }
  134. footer {
  135. margin-bottom: 20px;
  136. .bottom {
  137. display: flex;
  138. flex-direction: row;
  139. justify-content: space-between;
  140. align-items: center;
  141. > * {
  142. flex: 1;
  143. }
  144. .dj-donate {
  145. text-align: right;
  146. }
  147. img {
  148. display: inline-block;
  149. }
  150. }
  151. }
  152. .ge-calculator {
  153. table {
  154. border-collapse: separate;
  155. margin: auto;
  156. margin-top: 20px;
  157. margin-bottom: 20px;
  158. border-radius: 5px;
  159. border-spacing: 0;
  160. border: 1px solid var(--text-color);
  161. }
  162. input {
  163. width: 70px;
  164. }
  165. tr:last-of-type td {
  166. border-bottom: none;
  167. }
  168. td {
  169. border-bottom: 1px solid var(--text-color);
  170. border-right: 1px solid var(--text-color);
  171. padding: 10px;
  172. }
  173. td:last-of-type {
  174. border-right: none;
  175. }
  176. td.right {
  177. text-align: center;
  178. }
  179. .breathe {
  180. padding-left: 4px;
  181. padding-right: 4px;
  182. }
  183. .separator::before {
  184. content: '—';
  185. }
  186. @media (min-width: 600px) {
  187. .separator::before {
  188. content: ':';
  189. padding-left: 4px;
  190. padding-right: 4px;
  191. }
  192. td.ratio {
  193. text-align: left;
  194. }
  195. td.right div {
  196. display: inline-block;
  197. }
  198. }
  199. }