common.scss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. $pptItemW:900PX;
  2. $pptItemH:630PX;
  3. .ppt-item-box{
  4. width: $pptItemW;
  5. height: $pptItemH;
  6. background-image: url('/pptImg/pptitem_bg.png');
  7. background-size: cover;
  8. background-repeat: no-repeat;
  9. margin-bottom: 10PX;
  10. position: relative;
  11. overflow: hidden;
  12. // border: 4PX solid transparent;
  13. .ppt-title-box{
  14. width: 68%;
  15. height: 7%;
  16. position: absolute;
  17. top: 5.5%;
  18. left: 10%;
  19. z-index: 100;
  20. display: flex;
  21. font-size: 24PX;
  22. color: #333;
  23. align-items: center;
  24. transform-origin: 0 0;
  25. }
  26. .ppt-content-box{
  27. position: relative;
  28. top: 14%;
  29. width: 100%;
  30. height: 86%;
  31. display: flex;
  32. justify-content: center;
  33. align-items: center;
  34. .container{
  35. width: 90%;
  36. height: 90%;
  37. margin: auto;
  38. }
  39. .layer-wrap{
  40. top: 0;
  41. left: 0;
  42. width: 100%;
  43. height: 100%;
  44. position: absolute;
  45. z-index: 5;
  46. pointer-events: none;
  47. }
  48. }
  49. }
  50. .ppt-item-box_en{
  51. background-image: url('/pptImg/pptitem_bg_en.png');
  52. }