index.css 1.2 KB

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