djledda.de main
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 

271 lignes
4.4 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. text-align: center;
  41. button {
  42. margin-top: 10px;
  43. }
  44. @media (min-width: 370px) {
  45. display: flex;
  46. justify-content: space-between;
  47. button {
  48. margin: 0;
  49. }
  50. }
  51. }
  52. [data-tunit] {
  53. position: relative;
  54. transition: background 0.15s;
  55. }
  56. [data-tunit].swap {
  57. background-color: #bde4ff;
  58. }
  59. button.swap {
  60. background-color: rgb(96, 128, 96);
  61. height: 25px;
  62. width: 25px;
  63. font-size: 18px;
  64. border-radius: 6px;
  65. border: 0;
  66. cursor: pointer;
  67. position: absolute;
  68. color: white;
  69. top: 5px;
  70. right: 5px;
  71. opacity: 0%;
  72. font-weight: bold;
  73. transition: background-color 150ms, opacity 150ms;
  74. }
  75. button.swap:hover {
  76. background-color: rgb(57, 85, 57);
  77. }
  78. [data-tunit]:hover > button.swap {
  79. opacity: 100%;
  80. }
  81. .lang-en [data-tunit].swap :lang(de) {
  82. display: revert;
  83. }
  84. .lang-en [data-tunit].swap :lang(en) {
  85. display: none;
  86. }
  87. .lang-de [data-tunit].swap :lang(en) {
  88. display: revert;
  89. }
  90. .lang-de [data-tunit].swap :lang(de) {
  91. display: none;
  92. }
  93. .lang-en [data-tunit] :lang(de) {
  94. display: none;
  95. }
  96. .lang-de [data-tunit] :lang(en) {
  97. display: none;
  98. }
  99. }
  100. main {
  101. width: calc(100% - 20px);
  102. margin: auto;
  103. }
  104. @media (min-width: 900px) {
  105. main {
  106. max-width: 943px;
  107. min-width: 600px;
  108. }
  109. }
  110. li {
  111. margin-bottom: 8px;
  112. }
  113. header {
  114. margin: auto;
  115. text-align: center;
  116. }
  117. article {
  118. margin: auto;
  119. }
  120. .text-slab {
  121. margin-bottom: 15px;
  122. background-color: white;
  123. border-radius: 5px;
  124. padding: 10px;
  125. }
  126. .text-slab > p:first-of-type {
  127. margin-top: 0;
  128. }
  129. .text-slab > p:last-of-type {
  130. margin-bottom: 0;
  131. }
  132. form {
  133. display: block;
  134. text-align: center;
  135. margin: 40px;
  136. }
  137. label {
  138. display: block;
  139. }
  140. hr {
  141. border: 0;
  142. border-bottom: 1px dashed #ccc;
  143. background: #999;
  144. }
  145. footer {
  146. margin-bottom: 20px;
  147. .bottom {
  148. text-align: center;
  149. display: block;
  150. .dj-donate {
  151. margin-top: 16px;
  152. }
  153. img {
  154. display: inline-block;
  155. }
  156. }
  157. @media (min-width: 600px) {
  158. .bottom {
  159. text-align: left;
  160. display: flex;
  161. flex-direction: row;
  162. justify-content: space-between;
  163. align-items: center;
  164. > * {
  165. flex: 1;
  166. }
  167. .dj-donate {
  168. text-align: right;
  169. }
  170. }
  171. }
  172. }
  173. .ge-calculator {
  174. table {
  175. border-collapse: separate;
  176. margin: auto;
  177. margin-top: 20px;
  178. margin-bottom: 20px;
  179. border-radius: 5px;
  180. border-spacing: 0;
  181. border: 1px solid var(--text-color);
  182. }
  183. input {
  184. width: 70px;
  185. }
  186. tr:last-of-type td {
  187. border-bottom: none;
  188. }
  189. td {
  190. border-bottom: 1px solid var(--text-color);
  191. border-right: 1px solid var(--text-color);
  192. padding: 10px;
  193. }
  194. td:last-of-type {
  195. border-right: none;
  196. }
  197. td.right {
  198. text-align: center;
  199. }
  200. .breathe {
  201. padding-left: 4px;
  202. padding-right: 4px;
  203. }
  204. .separator::before {
  205. content: '—';
  206. }
  207. @media (min-width: 600px) {
  208. .separator::before {
  209. content: ':';
  210. padding-left: 4px;
  211. padding-right: 4px;
  212. }
  213. td.ratio {
  214. text-align: left;
  215. }
  216. td.right div {
  217. display: inline-block;
  218. }
  219. }
  220. }