_variables.scss 506 B

123456789101112131415161718192021222324
  1. $linkColor: #3370ff;
  2. a {
  3. text-decoration: none;
  4. color: $linkColor;
  5. }
  6. :root {
  7. --link-color: #1a1;
  8. }
  9. html,
  10. body {
  11. margin: 0;
  12. scroll-behavior:smooth;
  13. overflow-x:hidden;
  14. touch-action: pan-y;
  15. }
  16. .relatives {
  17. width: 100%;
  18. height: 600px;
  19. // background: url(~/public/image/img_home.png) no-repeat;
  20. // background: url(https://imgcdn.gongyoubao.net/meloinfo/hrshuke.png) no-repeat;
  21. background: url(https://imgcdn.gongyoubao.net/meloinfo/hrshuke.webp) no-repeat;
  22. background-size: cover;
  23. }