base.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. @font-face {
  2. font-family: 'SYST';
  3. src: url('./SiYuanSongTiRegular/SourceHanSerifCN-Bold-2.otf');
  4. font-weight: normal;
  5. font-style: normal;
  6. }
  7. * {
  8. margin: 0;
  9. padding: 0;
  10. box-sizing: border-box;
  11. }
  12. a {
  13. text-decoration: none;
  14. }
  15. ul,
  16. ol {
  17. margin: 0;
  18. padding: 0;
  19. list-style: none;
  20. }
  21. /* 移动端图⽚边框相当于 border:0 */
  22. img {
  23. vertical-align: top;
  24. }
  25. /* -webkit-tap-highlight-color:rgba(0,0,0,0);//透明度设置为0,去掉点击链接和⽂本框对象时默认的灰⾊半透明覆盖层(iOS)或者虚框(Android) */
  26. a,
  27. input,
  28. button {
  29. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  30. }
  31. /* 取消chrome下默认的⽂本框聚焦样式 */
  32. input,
  33. textarea {
  34. outline: none
  35. }
  36. /* 去掉IOS移除原⽣控件样式 */
  37. /* -webkit-appearance: none; */
  38. /* 消除输⼊框和按钮的原⽣外观,在iOS上加上这个属性才能给按钮和输⼊框⾃定义样式 */
  39. input,
  40. button {
  41. -webkit-appearance: none;
  42. border-radius: 0;
  43. }
  44. /* -webkit-touch-callout:none; */
  45. /* 禁⽤长按页⾯时的弹出菜单 */
  46. /* -webkit-user-select: none; */
  47. /* 禁⽌页⾯⽂字选择,此属性不继承,⼀般加在body上规定整个body的⽂字都不会⾃动调整 */
  48. /* 禁⽌移动端⽤户进⾏复制.选择. */
  49. body {
  50. margin: 0;
  51. -webkit-user-select: none;
  52. -webkit-touch-callout: none;
  53. }
  54. body * {
  55. -webkit-user-select: none;
  56. font-family: Helvetica;
  57. }
  58. body {
  59. -webkit-text-size-adjust: 100%;
  60. }
  61. /* 移动端横竖屏字体乎⼤乎⼩ */
  62. /* -webkit-text-size-adjust: none; */
  63. /* 禁⽌⽂字⾃动调整⼤⼩(默认情况下旋转设备的时候⽂字⼤⼩会发⽣变化),此属性也不继承,⼀般加在body上规定整个body的⽂字都不会⾃动调整 */
  64. .comTit{
  65. width: 100%;
  66. height: 80px;
  67. display: flex;
  68. justify-content: center;
  69. align-items: center;
  70. }
  71. .comTit img{
  72. width: 20px;
  73. margin-top: 2px;
  74. }
  75. .comTit span{
  76. display: inline-block;
  77. font-family: 'SYST';
  78. font-size: 18px;
  79. color: #9F171C;
  80. margin: 0 10px;
  81. }
  82. .opcBase{
  83. opacity: 0 !important;
  84. }
  85. .conShowLoad{
  86. position: absolute;
  87. top: 0;
  88. left: 0;
  89. width: 100%;
  90. height: 100%;
  91. display: flex;
  92. justify-content: center;
  93. align-items: center;
  94. }
  95. .videoName>p{
  96. padding: 0px 10px;
  97. z-index: 99;
  98. width: 100%;
  99. word-break:break-all;
  100. }
  101. .videoName .videoPlay{
  102. width: 50px;
  103. position: absolute;
  104. top: 50%;
  105. left: 50%;
  106. z-index: 100;
  107. transform: translate(-50%,-50%);
  108. }
  109. .videoName .videoPlay img{
  110. width: 100%;
  111. }