index.css 1.1 KB

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