index.css 2.3 KB

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