djledda.de main
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 月之前
2 月之前
2 月之前
2 月之前
2 月之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  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. a.home-btn {
  15. display: block;
  16. text-align: center;
  17. &.hide {
  18. visibility: hidden;
  19. }
  20. }
  21. .ge-article {
  22. .header {
  23. margin-top: 20px;
  24. display: flex;
  25. justify-content: space-between;
  26. }
  27. p {
  28. position: relative;
  29. transition: background 0.15s;
  30. }
  31. p.swap {
  32. background-color: #bde4ff;
  33. }
  34. button.swap {
  35. background-color: white;
  36. height: 25px;
  37. width: 25px;
  38. font-size: 16px;
  39. border-radius: 3px;
  40. border: solid 1px gray;
  41. cursor: pointer;
  42. position: absolute;
  43. top: 5px;
  44. right: 5px;
  45. opacity: 0%;
  46. transition: opacity 150ms;
  47. }
  48. button.swap:hover {
  49. background-color: lightgray;
  50. }
  51. p:hover > button.swap {
  52. opacity: 100%;
  53. }
  54. .lang-en p.swap > span:lang(de) {
  55. display: revert;
  56. }
  57. .lang-en p.swap > span:lang(en) {
  58. display: none;
  59. }
  60. .lang-de p.swap > span:lang(en) {
  61. display: revert;
  62. }
  63. .lang-de p.swap > span:lang(de) {
  64. display: none;
  65. }
  66. .lang-en *:lang(de) {
  67. display: none;
  68. }
  69. .lang-de *:lang(en) {
  70. display: none;
  71. }
  72. }
  73. main {
  74. width: 100%;
  75. }
  76. @media (min-width: 600px) {
  77. main {
  78. max-width: 1340px;
  79. margin: auto;
  80. min-width: 600px;
  81. width: 60%;
  82. }
  83. }
  84. header {
  85. margin: auto;
  86. text-align: center;
  87. }
  88. article {
  89. margin: auto;
  90. }
  91. .text-slab {
  92. margin-bottom: 15px;
  93. background-color: white;
  94. border-radius: 5px;
  95. padding: 10px;
  96. }
  97. .text-slab > p:first-of-type {
  98. margin-top: 0;
  99. }
  100. .text-slab > p:last-of-type {
  101. margin-bottom: 0;
  102. }
  103. form {
  104. display: block;
  105. text-align: center;
  106. margin: 40px;
  107. }
  108. label {
  109. display: block;
  110. }
  111. hr {
  112. border: 0;
  113. border-bottom: 1px dashed #ccc;
  114. background: #999;
  115. }
  116. footer {
  117. margin-bottom: 20px;
  118. .bottom {
  119. display: flex;
  120. flex-direction: row;
  121. justify-content: space-between;
  122. align-items: center;
  123. > * {
  124. flex: 1;
  125. }
  126. .dj-donate {
  127. text-align: right;
  128. }
  129. img {
  130. display: inline-block;
  131. }
  132. }
  133. }
  134. .ge-calculator {
  135. table {
  136. border-collapse: separate;
  137. margin: auto;
  138. margin-top: 20px;
  139. margin-bottom: 20px;
  140. border-radius: 5px;
  141. border-spacing: 0;
  142. border: 1px solid var(--text-color);
  143. }
  144. input {
  145. width: 70px;
  146. }
  147. tr:last-of-type td {
  148. border-bottom: none;
  149. }
  150. td {
  151. border-bottom: 1px solid var(--text-color);
  152. border-right: 1px solid var(--text-color);
  153. padding: 10px;
  154. }
  155. td:last-of-type {
  156. border-right: none;
  157. }
  158. .breathe {
  159. padding-left: 4px;
  160. padding-right: 4px;
  161. }
  162. @media (min-width: 600px) {
  163. td.right div {
  164. display: inline-block;
  165. }
  166. }
  167. }