2
0

_elements.scss 605 B

1234567891011121314151617181920212223242526272829303132333435
  1. html {
  2. background: $color-grey-4;
  3. height: 100%;
  4. }
  5. body {
  6. overflow-x: hidden;
  7. position: relative;
  8. &:after {
  9. content: '';
  10. position: fixed;
  11. transition: visibility 0s linear 0s, opacity 0.2s ease-out;
  12. background: rgba(255, 255, 255, 0.5);
  13. width: 100%;
  14. height: 100%;
  15. top: 0;
  16. left: 0;
  17. z-index: 5;
  18. opacity: 0;
  19. visibility: hidden;
  20. }
  21. }
  22. hr {
  23. border: 1px solid $color-grey-4;
  24. border-width: 1px 0 0;
  25. margin: 1.5em 0;
  26. }
  27. // general image style
  28. img {
  29. max-width: 100%;
  30. height: auto;
  31. }