Sin descripción

rule.css 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. * {
  2. font-size: .14rem;
  3. font-family: 'PingFangSC-Normal';
  4. box-sizing: border-box;
  5. }
  6. li {
  7. list-style: none;
  8. }
  9. .rule {
  10. position: absolute;
  11. right: 0;
  12. top: .8rem;
  13. width: .58rem;
  14. height: .22rem;
  15. line-height: .22rem;
  16. font-size: .12rem;
  17. padding-left: .08rem;
  18. color: #F54100;
  19. border-top-left-radius: .11rem;
  20. border-bottom-left-radius: .11rem;
  21. background: linear-gradient(90deg,#FEE302,#FFAB1F);
  22. }
  23. .mask {
  24. width: 100%;
  25. height: 100%;
  26. position: fixed;
  27. top: 0;
  28. left: 0;
  29. z-index: 1;
  30. background: rgba(0,0,0,.7);
  31. display: none;
  32. }
  33. .rule_content {
  34. width: 3.05rem;
  35. position: absolute;
  36. top: 1.7rem;
  37. left: 50%;
  38. transform: translate(-50%,0);
  39. background-image: url("../img/ruleback.png");
  40. background-size: 100% 100%;
  41. padding: .64rem .27rem .35rem;
  42. z-index: 99;
  43. display: none;
  44. }
  45. .rule_content p {
  46. line-height: .21rem;
  47. color: #5F3C38;
  48. font-size: .15rem;
  49. }
  50. .rule_content button {
  51. border: none;
  52. outline: 0;
  53. width: 1.81rem;
  54. height: .42rem;
  55. line-height: .42rem;
  56. text-align: center;
  57. margin: .16rem auto 0;
  58. display: block;
  59. background: #FB4605;
  60. color: #fff;
  61. border-radius: .4rem;
  62. font-size: .16rem;
  63. }
  64. .back {
  65. position: absolute;
  66. top: .3rem;
  67. left: .1rem;
  68. width: .2rem;
  69. height: .2rem;
  70. z-index: 1;
  71. }
  72. .head11 {
  73. position: absolute;
  74. top: .31rem;
  75. left: 50%;
  76. transform: translate(-50%,0);
  77. z-index: 1;
  78. color: #333;
  79. font-size: .16rem;
  80. }