style.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. *
  2. {
  3. padding: 0px;
  4. margin: 0px;
  5. font-family: "Lucida Console", Monaco, monospace;
  6. font-size: 18px;
  7. }
  8. body
  9. {
  10. background-color: #303030;
  11. min-height: 100%;
  12. position: relative;
  13. padding-bottom: 45px;
  14. }
  15. html
  16. {
  17. height: 100%;
  18. }
  19. /*
  20. --------------------------------------------------------------------------------
  21. Navbar
  22. --------------------------------------------------------------------------------
  23. */
  24. nav
  25. {
  26. background-color: #602020;
  27. color: #FFFFFF;
  28. margin-bottom: 10px;
  29. border-width: 2px !important;
  30. border-color: #000000 !important;
  31. border-style: solid !important;
  32. }
  33. nav a
  34. {
  35. color: #FFFFFF !important;
  36. }
  37. nav a:hover
  38. {
  39. color: #CCCCCC !important;
  40. }
  41. nav button
  42. {
  43. border-color: #FFFFFF !important;
  44. }
  45. nav button:hover
  46. {
  47. background-color: #802525 !important;
  48. }
  49. nav button:focus
  50. {
  51. background-color: #802525 !important;
  52. }
  53. nav .navbar-toggler-icon
  54. {
  55. background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
  56. }
  57. .navbar-brand
  58. {
  59. font-size: 26px;
  60. }
  61. @media(max-width: 500px)
  62. {
  63. .navbar-brand
  64. {
  65. font-size: 22px;
  66. }
  67. }
  68. @media(max-width: 400px)
  69. {
  70. .navbar-brand
  71. {
  72. font-size: 18px;
  73. }
  74. }
  75. .nav_drop
  76. {
  77. background-color: #7C2929 !important;
  78. border-width: 2px !important;
  79. border-color: #000000 !important;
  80. border-style: solid !important;
  81. }
  82. .nav_drop_item
  83. {
  84. background-color: #7C2929 !important;
  85. }
  86. /*
  87. --------------------------------------------------------------------------------
  88. Main
  89. --------------------------------------------------------------------------------
  90. */
  91. main
  92. {
  93. padding: 0px !important;
  94. }
  95. main button
  96. {
  97. color: #FFFFFF;
  98. margin-top: 5px;
  99. margin-bottom: 5px;
  100. padding: 10px;
  101. background-color: #602020;
  102. border-radius: 5px !important;
  103. border-color: #000000 !important;
  104. border-width: 2px !important;
  105. border-style: solid !important;
  106. box-sizing: border-box;
  107. }
  108. main button:hover
  109. {
  110. background-color: #801010;
  111. }
  112. main button:focus
  113. {
  114. background-color: #801010;
  115. }
  116. /*
  117. --------------------------------------------------------------------------------
  118. fruits
  119. --------------------------------------------------------------------------------
  120. */
  121. #fruits img
  122. {
  123. border: 1px solid #707070;
  124. width: 100%;
  125. min-width: 120px;
  126. max-width: 200px;
  127. margin: 1px;
  128. border-radius: 8px;
  129. }
  130. #fruits table
  131. {
  132. width: 100%;
  133. border-collapse: collapse;
  134. background-color: #707070;
  135. margin-bottom: 15px;
  136. }
  137. #fruits tr:nth-of-type(odd)
  138. {
  139. background: #858585;
  140. }
  141. #fruits th
  142. {
  143. background: #601010;
  144. color: white;
  145. font-weight: bold;
  146. }
  147. #fruits td, #fruits th
  148. {
  149. padding: 12px;
  150. border: 2px solid #000000;
  151. text-align: left;
  152. }
  153. @media
  154. (max-width: 992px)
  155. {
  156. #fruits table, #fruits thead, #fruits tbody, #fruits th, #fruits td, #fruits tr
  157. {
  158. display: block;
  159. }
  160. #fruits thead tr
  161. {
  162. position: absolute;
  163. top: -9999px;
  164. left: -9999px;
  165. }
  166. #fruits td
  167. {
  168. border: none;
  169. border-bottom: 2px solid #000000;
  170. position: relative;
  171. padding-left: 40%;
  172. min-height: 50px;
  173. }
  174. #fruits td:before
  175. {
  176. position: absolute;
  177. top: 6px;
  178. left: 6px;
  179. padding-right: 10px;
  180. white-space: nowrap;
  181. }
  182. #fruits td:nth-of-type(1):before { content: "Name(n)"; }
  183. #fruits td:nth-of-type(2):before { content: "Bild"; }
  184. #fruits td:nth-of-type(3):before { content: "Fundort"; }
  185. #fruits td:nth-of-type(4):before { content: "Anleitung"; }
  186. #fruits td:nth-of-type(5):before { content: "Geschmack"; }
  187. }
  188. /*
  189. --------------------------------------------------------------------------------
  190. general stuff
  191. --------------------------------------------------------------------------------
  192. */
  193. .textContainer
  194. {
  195. margin-bottom: 10px;
  196. color: #000000;
  197. background-color: #707070;
  198. border-radius: 5px;
  199. padding-top: 8px;
  200. padding-bottom: 8px;
  201. padding-left: 16px;
  202. padding-right: 16px;
  203. word-wrap: break-word;
  204. }
  205. .center
  206. {
  207. text-align: center;
  208. }
  209. .left
  210. {
  211. text-align: left;
  212. }
  213. .spacer
  214. {
  215. background-color: #606060;
  216. padding-left: 25px;
  217. padding-right: 25px;
  218. }
  219. .title
  220. {
  221. background-color: #602020;
  222. margin-top: 10px;
  223. margin-bottom: 10px;
  224. padding-top: 8px;
  225. padding-bottom: 8px;
  226. text-align: center;
  227. color: #FFFFFF;
  228. border-radius: 5px;
  229. border-width: 2px;
  230. border-color: #202020;
  231. border-style: solid;
  232. font-weight: bold;
  233. }
  234. /*
  235. --------------------------------------------------------------------------------
  236. footer
  237. --------------------------------------------------------------------------------
  238. */
  239. footer
  240. {
  241. background-color: #602020;
  242. color: #FFFFFF;
  243. border-width: 2px !important;
  244. border-color: #000000 !important;
  245. border-style: solid !important;
  246. margin-top: 20px;
  247. padding: 10px;
  248. font-size: 14px;
  249. text-align: center;
  250. position: absolute;
  251. left: 0;
  252. right: 0;
  253. bottom: 0;
  254. height: 45px;
  255. }
  256. footer span
  257. {
  258. font-size: inherit;
  259. }
  260. .footerPipe
  261. {
  262. border-right-style: solid;
  263. border-right-width: 1px;
  264. border-right-color: #FFFFFF;
  265. padding-right: 10px;
  266. margin-right: 2px;
  267. }
  268. .login
  269. {
  270. color: #FFFFFF;
  271. font-size: 14px;
  272. text-decoration: none;
  273. }
  274. .login:hover
  275. {
  276. color: #CCCCCC;
  277. text-decoration: none;
  278. }
  279. .inputForm
  280. {
  281. border-radius: 5px;
  282. border-style: solid;
  283. border-width: 2px;
  284. border-color: #000000;
  285. background-color: #CCCCCC;
  286. padding: 5px;
  287. width: 100%;
  288. }
  289. .submitForm
  290. {
  291. border-radius: 5px;
  292. border-style: solid;
  293. border-width: 2px;
  294. border-color: #000000;
  295. background-color: #601010;
  296. color: #FFFFFF;
  297. padding: 5px;
  298. width: 100%;
  299. }
  300. .inputName
  301. {
  302. font-size: 24px;
  303. font-weight: bold;
  304. }