index.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  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. #menu{
  66. display: flex;
  67. flex-direction: column;
  68. align-items: center;
  69. background: #152730;
  70. width: 100px;
  71. height: 100vh;
  72. }
  73. #menu > button{
  74. display: flex;
  75. flex-direction: column;
  76. justify-content: center;
  77. align-items: center;
  78. height: 100px;
  79. width: 100px;
  80. color: #5FECE0;
  81. cursor: pointer;
  82. background: none;
  83. border: none;
  84. }
  85. #menu .active{
  86. background: rgb(196, 198, 192);
  87. cursor: default;
  88. color: #152730;
  89. }
  90. #main{
  91. flex-direction: column;
  92. align-items: center;
  93. justify-content: space-around;
  94. background: rgb(196, 198, 192);
  95. height: 100vh;
  96. width: 100%;
  97. }
  98. #about{
  99. display: flex;
  100. height: 100%;
  101. }
  102. #about h2{
  103. text-decoration: underline;
  104. margin-bottom: 15px;
  105. }
  106. .aboutLeft{
  107. width: 25%;
  108. padding: 10px;
  109. border-right: 1px solid black;
  110. height: 100%;
  111. box-sizing: border-box;
  112. }
  113. .aboutCenter{
  114. width: 60%;
  115. border-right: 1px solid black;
  116. }
  117. .aboutCenter h1{
  118. text-align: center;
  119. }
  120. .aboutCenter p{
  121. margin: 25px 35px;
  122. font-size: 25px;
  123. }
  124. .meLink{
  125. display: flex;
  126. align-items: center;
  127. color: black;
  128. }
  129. .meLink img{
  130. height: 24px;
  131. width: 24px;s
  132. }
  133. #ageDiv > p, #deathDiv > p{
  134. margin-top: 5px;
  135. }
  136. #blog{
  137. display: flex;
  138. flex-direction: column;
  139. align-items: center;
  140. height: 100vh;
  141. }
  142. #gallery{
  143. display: flex;
  144. flex-direction: column;
  145. align-items: center;
  146. height: 100vh;
  147. overflow-y: auto;
  148. }
  149. #galleryContainer{
  150. display: flex;
  151. flex-wrap: wrap;
  152. justify-content: space-around;
  153. }
  154. #map{
  155. height: 50%;
  156. }
  157. .galleryPopup{
  158. text-decoration: none;
  159. color: black;
  160. }
  161. .popupImage{
  162. max-width: 100%;
  163. max-height: 100%;
  164. }
  165. .tag{
  166. display: flex;
  167. justify-content: center;
  168. align-items: center;
  169. background: #152730;
  170. color: #5FECE0;
  171. font-size: 20px;
  172. min-width: 75px;
  173. border-radius: 20px;
  174. height: 30px;
  175. border: none;
  176. padding: 0 25px;
  177. margin: 10px;
  178. cursor: pointer;
  179. }
  180. .tag:hover{
  181. box-shadow: 0 0 5px black;
  182. }
  183. .tagContainer{
  184. display: flex;
  185. justify-content: center;
  186. flex-wrap: wrap;
  187. margin-bottom: 25px;
  188. width: 80vw;
  189. }