index.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. *{margin:0;padding:0;}
  2. body{
  3. background: rgb(196, 198, 192);
  4. }
  5. h1{
  6. margin: 25px 0;
  7. text-align: center;
  8. }
  9. #tags{
  10. display: flex;
  11. justify-content: center;
  12. width: 75%;
  13. margin: auto;
  14. }
  15. #tags *{
  16. display: flex;
  17. align-items: center;
  18. background: #152730;
  19. color: #5FECE0;
  20. border-radius: 20px;
  21. padding: 0 25px;
  22. margin: 10px;
  23. border: none;
  24. font-size: 20px;
  25. min-width: 75px;
  26. height: 30px;
  27. }
  28. #tags button{
  29. cursor: pointer;
  30. }
  31. #tags button:hover{
  32. box-shadow: 0 0 5px black;
  33. }
  34. #images{
  35. display: flex;
  36. flex-wrap: wrap;
  37. justify-content: space-around;
  38. width: 100%;
  39. }
  40. #images img{
  41. max-height: 250px;
  42. margin: 25px;
  43. cursor: pointer;
  44. box-shadow: 0 0 5px black;
  45. }
  46. #images img:hover{
  47. box-shadow: 0 0 10px black;
  48. }
  49. #fullPage{
  50. position: fixed;
  51. top: 0;
  52. left: 0;
  53. justify-content: center;
  54. align-items: center;
  55. height: 100vh;
  56. width: 100vw;
  57. background: rgba(0, 0, 0, 0.85);
  58. z-index: 1;
  59. }
  60. #fullPage img{
  61. max-height: 90%;
  62. max-width: 90%;
  63. cursor: default;
  64. box-shadow: none;
  65. }
  66. #fullPage svg{
  67. position: absolute;
  68. color: white;
  69. cursor: pointer;
  70. border-radius: 50%;
  71. padding: 5px;
  72. z-index: 2;
  73. }
  74. #fullPage svg:hover{
  75. background: white;
  76. color: black;
  77. }
  78. #closeImg{
  79. top: 25px;
  80. right: 25px;
  81. }
  82. #nextImg{
  83. right: 50px;
  84. }
  85. #previousImg{
  86. left: 50px;
  87. }
  88. #galleryBody{
  89. display: flex;
  90. flex-direction: column;
  91. align-items: center;
  92. }
  93. #container{
  94. display: flex;
  95. justify-content: center;
  96. flex-wrap: wrap;
  97. }
  98. .card{
  99. display: flex;
  100. flex-direction: column;
  101. justify-content: space-around;
  102. align-items: center;
  103. text-align: center;
  104. background: white;
  105. width: 300px;
  106. height: 300px;
  107. cursor: pointer;
  108. margin: 10px;
  109. padding: 25px;
  110. text-decoration: none;
  111. color: black;
  112. }
  113. .card:hover{
  114. box-shadow: 0 0 3px black;
  115. }
  116. .card img{
  117. max-height: 75%;
  118. max-width: 75%;
  119. }