1
1

images.scss 1010 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //@import "_animations";
  2. #mainPage.mobile .contentImage {
  3. height: 10ex; // It's a good idea to make these smaller on mobile.
  4. }
  5. .contentImage {
  6. background-size: contain;
  7. background-repeat: no-repeat;
  8. background-position: center center;
  9. height: 25ex; // size in ex guarantees the image will look about the same size on every screen
  10. &:hover {
  11. cursor: pointer;
  12. &:active {
  13. opacity: 0.7;
  14. }
  15. }
  16. }
  17. #imageViewer {
  18. display: none;
  19. background-size: contain;
  20. background-repeat: no-repeat;
  21. background-position: center center;
  22. height: 100%;
  23. width: 100%;
  24. position: fixed;
  25. z-index: 1000000;
  26. top: 0px;
  27. left: 0px;
  28. margin: 0px;
  29. background-color: rgba(0,0,0,.8);
  30. &:hover {
  31. cursor: pointer;
  32. }
  33. }
  34. .image001 {
  35. &.contentImage {
  36. // define height for content image
  37. height: 3em;
  38. }
  39. //background-image: inline-image("001.png");
  40. background-image: url("https://i.imgur.com/EvUe1bv.png");
  41. }
  42. .introLogo {
  43. background-image: inline-image("IntroLogo.svg");
  44. }