您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

41 行
750 B

  1. const parallaxStyle = theme => ({
  2. parallax: {
  3. height: "90vh",
  4. maxHeight: "1000px",
  5. overflow: "hidden",
  6. position: "relative",
  7. backgroundPosition: "center top",
  8. backgroundSize: "cover",
  9. margin: "0",
  10. padding: "0",
  11. border: "0",
  12. display: "flex",
  13. alignItems: "center"
  14. },
  15. filter: {
  16. "&:before": {
  17. background: "#212121"
  18. },
  19. "&:after,&:before": {
  20. position: "absolute",
  21. zIndex: "1",
  22. width: "100%",
  23. height: "100%",
  24. display: "block",
  25. left: "0",
  26. top: "0",
  27. content: "''"
  28. }
  29. },
  30. small: {
  31. height: "380px"
  32. },
  33. parallaxResponsive: {
  34. [theme.breakpoints.down("md")]: {
  35. minHeight: "660px"
  36. }
  37. }
  38. });
  39. export default parallaxStyle;