index.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. border-bottom: 2px solid black;
  9. }
  10. #tags{
  11. display: flex;
  12. justify-content: center;
  13. width: 75%;
  14. margin: auto;
  15. }
  16. #tags > *{
  17. background: #152730;
  18. color: #5FECE0;
  19. border-radius: 25px;
  20. padding: 2px 10px;
  21. margin: 0 5px;
  22. }
  23. #images{
  24. display: flex;
  25. flex-wrap: wrap;
  26. justify-content: space-around;
  27. width: 100%;
  28. }
  29. #images img{
  30. max-height: 250px;
  31. margin: 25px;
  32. cursor: pointer;
  33. box-shadow: 0 0 5px black;
  34. }
  35. #images img:hover{
  36. box-shadow: 0 0 10px black;
  37. }
  38. #fullPage{
  39. position: fixed;
  40. top: 0;
  41. left: 0;
  42. justify-content: center;
  43. align-items: center;
  44. height: 100vh;
  45. width: 100vw;
  46. background: rgba(0, 0, 0, 0.85);
  47. z-index: 1;
  48. }
  49. #fullPage img{
  50. max-height: 90%;
  51. max-width: 90%;
  52. cursor: default;
  53. box-shadow: none;
  54. }
  55. #fullPage svg{
  56. position: absolute;
  57. color: white;
  58. cursor: pointer;
  59. border-radius: 50%;
  60. padding: 5px;
  61. z-index: 2;
  62. }
  63. #fullPage svg:hover{
  64. background: white;
  65. color: black;
  66. }
  67. #closeImg{
  68. top: 25px;
  69. right: 25px;
  70. }
  71. #nextImg{
  72. right: 50px;
  73. }
  74. #previousImg{
  75. left: 50px;
  76. }