djledda.de main
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

235 líneas
3.7 KiB

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