index.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  1. *{margin:0;padding:0;}
  2. body{
  3. height: 100vh;
  4. width: 100%;
  5. display: flex;
  6. }
  7. .cardContainer{
  8. display: flex;
  9. justify-content: space-around;
  10. flex-wrap: wrap;
  11. height: 100%;
  12. width: 100%;
  13. box-sizing: border-box;
  14. padding: 25px;
  15. overflow-y: auto;
  16. }
  17. .card{
  18. position: relative;
  19. display: flex;
  20. flex-direction: column;
  21. justify-content: space-between;
  22. align-items: center;
  23. text-align: center;
  24. background: white;
  25. width: 300px;
  26. height: 300px;
  27. cursor: pointer;
  28. margin: 10px;
  29. padding: 25px;
  30. text-decoration: none;
  31. color: black;
  32. }
  33. .card:hover{
  34. box-shadow: 0 0 3px black;
  35. }
  36. .card h2{
  37. text-align: center;
  38. }
  39. .card img{
  40. margin-top: 10px;
  41. width: 90%;
  42. max-height: 150px;
  43. max-width: 150px;
  44. }
  45. .card p{
  46. text-align: justify;
  47. }
  48. .card > *{
  49. margin: 10px 0;
  50. }
  51. .card.backCard{
  52. justify-content: center;
  53. }
  54. .borderLine{
  55. border-bottom: 1px solid black;
  56. width: 100%;
  57. margin: 10px 0;
  58. }
  59. .center{
  60. text-align: center;
  61. }
  62. .boldy{
  63. font-weight: bold;
  64. }
  65. #mobileMenu{
  66. justify-content: space-between;
  67. height: 75px;
  68. background: #152730;
  69. width: 100%;
  70. color: white;
  71. }
  72. .displayMobileMenu{
  73. display: none;
  74. }
  75. #mobileMenu svg{
  76. height: 100%;
  77. padding: 15px;
  78. box-sizing: border-box;
  79. }
  80. #mobileMenuOptions{
  81. flex-direction: column;
  82. justify-content: space-between;
  83. align-items: center;
  84. position: fixed;
  85. padding: 75px 0 75px 0;
  86. background: #152730;
  87. height: 100vh;
  88. width: 100vw;
  89. box-sizing: border-box;
  90. z-index: 100;
  91. }
  92. .mobileChoice{
  93. display: flex;
  94. align-items: center;
  95. color: white;
  96. text-decoration: none;
  97. height: 55px;
  98. width: 85%;
  99. background: rgb(196, 198, 192);
  100. border: none;
  101. color: black;
  102. border-radius: 10px;
  103. font-size: 25px;
  104. }
  105. .mobileChoice:active{
  106. background: rgb(118, 119, 115);
  107. }
  108. .mobileChoice svg{
  109. margin: 0 35px 0 15px;
  110. }
  111. #closeMobileMenu{
  112. position: absolute;
  113. top: 0;
  114. left: 15px;
  115. height: 55px;
  116. width: 55px;
  117. height: 75px;
  118. }
  119. #menu{
  120. display: flex;
  121. flex-direction: column;
  122. align-items: center;
  123. background: #152730;
  124. width: 100px;
  125. height: 100vh;
  126. }
  127. #menu > button{
  128. display: flex;
  129. flex-direction: column;
  130. justify-content: center;
  131. align-items: center;
  132. height: 100px;
  133. width: 100px;
  134. color: #5FECE0;
  135. cursor: pointer;
  136. background: none;
  137. border: none;
  138. }
  139. #menu .active{
  140. background: rgb(196, 198, 192);
  141. cursor: default;
  142. color: #152730;
  143. }
  144. #main{
  145. flex-direction: column;
  146. align-items: center;
  147. justify-content: space-around;
  148. background: rgb(196, 198, 192);
  149. height: 100vh;
  150. width: 100%;
  151. }
  152. #about{
  153. display: flex;
  154. flex-direction: column-reverse;
  155. align-items: center;
  156. }
  157. #about h2{
  158. text-decoration: underline;
  159. margin-bottom: 15px;
  160. }
  161. .aboutCenter{
  162. max-width: 700px;
  163. }
  164. .aboutCenter h1{
  165. text-align: center;
  166. }
  167. .aboutCenter p{
  168. margin: 25px 35px;
  169. font-size: 18px;
  170. }
  171. .aboutRight{
  172. display: flex;
  173. margin-bottom: auto;
  174. }
  175. .meLink{
  176. display: flex;
  177. align-items: center;
  178. color: black;
  179. margin: 15px;
  180. }
  181. .meLink img{
  182. height: 24px;
  183. width: 24px;
  184. }
  185. #ageDiv > p, #deathDiv > p{
  186. margin-top: 5px;
  187. }
  188. #blog{
  189. display: flex;
  190. flex-direction: column;
  191. align-items: center;
  192. height: 100vh;
  193. }
  194. #gallery{
  195. display: flex;
  196. flex-direction: column;
  197. align-items: center;
  198. height: 100vh;
  199. overflow-y: auto;
  200. }
  201. #galleryContainer{
  202. display: flex;
  203. flex-wrap: wrap;
  204. justify-content: space-around;
  205. }
  206. #map{
  207. height: 50%;
  208. }
  209. .galleryPopup{
  210. text-decoration: none;
  211. color: black;
  212. }
  213. .popupImage{
  214. max-width: 100%;
  215. max-height: 100%;
  216. }
  217. .tag{
  218. display: flex;
  219. justify-content: center;
  220. align-items: center;
  221. background: #152730;
  222. color: #5FECE0;
  223. font-size: 20px;
  224. min-width: 75px;
  225. border-radius: 20px;
  226. height: 30px;
  227. border: none;
  228. padding: 0 25px;
  229. margin: 10px;
  230. cursor: pointer;
  231. }
  232. .tag:hover{
  233. box-shadow: 0 0 5px black;
  234. }
  235. .tagContainer{
  236. display: flex;
  237. justify-content: center;
  238. flex-wrap: wrap;
  239. margin-bottom: 25px;
  240. width: 80vw;
  241. }
  242. #currency{
  243. display: flex;
  244. flex-direction: column;
  245. height: 100%;
  246. overflow-y: auto;
  247. }
  248. #currencyContainer{
  249. display: flex;
  250. flex-direction: column;
  251. }
  252. .currencyImages{
  253. display: flex;
  254. }
  255. .frontImage{
  256. margin-right: 35px;
  257. }
  258. #currency img{
  259. cursor: pointer;
  260. }
  261. .currency{
  262. margin: 25px 10px;
  263. }
  264. .curComment{
  265. padding-left: 25px;
  266. }
  267. #locations{
  268. display: flex;
  269. margin: 15px;
  270. flex-wrap: wrap;
  271. }
  272. .locationBtn{
  273. margin: 10px;
  274. padding: 5px;
  275. background: none;
  276. border: 1px solid black;
  277. cursor: pointer;
  278. }
  279. .curSelected{
  280. background: #152730;
  281. color: #5FECE0;
  282. }
  283. .fullImageBackground{
  284. display: flex;
  285. align-items: center;
  286. width: 100vw;
  287. height: 100vh;
  288. position: fixed;
  289. z-index: 100;
  290. }
  291. .paper{
  292. width: 100%;
  293. }
  294. .coin{
  295. width: 100%;
  296. }
  297. @media screen and (max-width: 500px){
  298. body{
  299. flex-direction: column;
  300. height: initial;
  301. }
  302. #main{
  303. height: initial;
  304. }
  305. #menu{
  306. display: none;
  307. }
  308. .displayMobileMenu{
  309. display: flex;
  310. }
  311. .hideMobileMenu{
  312. display: none;
  313. }
  314. .aboutRight{
  315. display: none;
  316. }
  317. .aboutCenter{
  318. padding-top: 35px;
  319. }
  320. .aboutCenter p{
  321. text-align: justify;
  322. }
  323. }
  324. @media screen and (max-width: 400px){
  325. .aboutCenter p{
  326. font-size: 16px;
  327. margin: 25px 5px;
  328. }
  329. }