index.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  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. margin: 15px;
  129. }
  130. .meLink img{
  131. height: 24px;
  132. width: 24px;s
  133. }
  134. #ageDiv > p, #deathDiv > p{
  135. margin-top: 5px;
  136. }
  137. #blog{
  138. display: flex;
  139. flex-direction: column;
  140. align-items: center;
  141. height: 100vh;
  142. }
  143. #gallery{
  144. display: flex;
  145. flex-direction: column;
  146. align-items: center;
  147. height: 100vh;
  148. overflow-y: auto;
  149. }
  150. #galleryContainer{
  151. display: flex;
  152. flex-wrap: wrap;
  153. justify-content: space-around;
  154. }
  155. #map{
  156. height: 50%;
  157. }
  158. .galleryPopup{
  159. text-decoration: none;
  160. color: black;
  161. }
  162. .popupImage{
  163. max-width: 100%;
  164. max-height: 100%;
  165. }
  166. .tag{
  167. display: flex;
  168. justify-content: center;
  169. align-items: center;
  170. background: #152730;
  171. color: #5FECE0;
  172. font-size: 20px;
  173. min-width: 75px;
  174. border-radius: 20px;
  175. height: 30px;
  176. border: none;
  177. padding: 0 25px;
  178. margin: 10px;
  179. cursor: pointer;
  180. }
  181. .tag:hover{
  182. box-shadow: 0 0 5px black;
  183. }
  184. .tagContainer{
  185. display: flex;
  186. justify-content: center;
  187. flex-wrap: wrap;
  188. margin-bottom: 25px;
  189. width: 80vw;
  190. }