index.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. #gallery{
  88. display: flex;
  89. flex-direction: column;
  90. align-items: center;
  91. }
  92. #galleryTags{
  93. margin: 50px 0 25px 0;
  94. display: flex;
  95. justify-content: center;
  96. width: 90%;
  97. overflow-x: auto;
  98. }
  99. #galleryTags button{
  100. display: flex;
  101. justify-content: center;
  102. align-items: center;
  103. background: #152730;
  104. color: #5FECE0;
  105. font-size: 20px;
  106. min-width: 75px;
  107. border-radius: 20px;
  108. height: 30px;
  109. border: 1px solid black;
  110. padding: 0 25px;
  111. margin: 10px;
  112. cursor: pointer;
  113. }
  114. #galleryTags button:hover{
  115. box-shadow: 0 0 5px black;
  116. }