index.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. *{margin:0;padding:0;}
  2. body{
  3. height: 100vh;
  4. width: 100vw;
  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. #menu{
  55. display: flex;
  56. flex-direction: column;
  57. align-items: center;
  58. background: #152730;
  59. width: 100px;
  60. height: 100vh;
  61. }
  62. #menu > button{
  63. display: flex;
  64. flex-direction: column;
  65. justify-content: center;
  66. align-items: center;
  67. height: 100px;
  68. width: 100px;
  69. color: #5FECE0;
  70. cursor: pointer;
  71. background: none;
  72. border: none;
  73. }
  74. #menu .active{
  75. background: rgb(196, 198, 192);
  76. cursor: default;
  77. color: #152730;
  78. }
  79. #main{
  80. flex-direction: column;
  81. align-items: center;
  82. justify-content: space-around;
  83. background: rgb(196, 198, 192);
  84. height: 100vh;
  85. width: 100%;
  86. }
  87. #blog{
  88. display: flex;
  89. flex-direction: column;
  90. align-items: center;
  91. height: 100vh;
  92. }
  93. #gallery{
  94. display: flex;
  95. flex-direction: column;
  96. align-items: center;
  97. height: 100vh;
  98. overflow-y: auto;
  99. }
  100. #galleryContainer{
  101. display: flex;
  102. flex-wrap: wrap;
  103. justify-content: space-around;
  104. }
  105. #map{
  106. height: 50%;
  107. }
  108. .galleryPopup{
  109. text-decoration: none;
  110. color: black;
  111. }
  112. .popupImage{
  113. max-width: 100%;
  114. max-height: 100%;
  115. }
  116. .tag{
  117. display: flex;
  118. justify-content: center;
  119. align-items: center;
  120. background: #152730;
  121. color: #5FECE0;
  122. font-size: 20px;
  123. min-width: 75px;
  124. border-radius: 20px;
  125. height: 30px;
  126. border: none;
  127. padding: 0 25px;
  128. margin: 10px;
  129. cursor: pointer;
  130. }
  131. .tag:hover{
  132. box-shadow: 0 0 5px black;
  133. }
  134. .tagContainer{
  135. display: flex;
  136. justify-content: center;
  137. flex-wrap: wrap;
  138. margin-bottom: 25px;
  139. width: 80vw;
  140. }