index.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. *{
  2. padding: 0;
  3. margin: 0;
  4. font-family:"Microsoft YaHei",微软雅黑,"MicrosoftJhengHei",华文细黑,STHeiti,MingLiu;
  5. line-height: 1;
  6. }
  7. ::-webkit-scrollbar {
  8. width: 0.6rem;
  9. height: 1rem;
  10. background-color: #71471d;
  11. }
  12. ::-webkit-scrollbar-thumb {
  13. height: 5rem;
  14. background-color: #EA9649;
  15. outline: 0.5rem solid #EA9649;
  16. outline-offset: -0.5rem;
  17. }
  18. ::-webkit-scrollbar-thumb:hover {
  19. height: 5rem;
  20. background-color: #EA9649;
  21. }
  22. li{
  23. list-style: none;
  24. }
  25. html,body{
  26. width: 100%;
  27. height: 100%;
  28. font-size: 34px;
  29. }
  30. body{
  31. position: relative;
  32. color: #EA9649;
  33. max-width: 100%;
  34. margin: 0 auto;
  35. }
  36. button,input{
  37. border: none;
  38. outline: none;
  39. background: none;
  40. font-size: 1rem;
  41. }
  42. .body{
  43. width: 100%;
  44. height: 100%;
  45. }
  46. .bg{
  47. width: 100%;
  48. top: 0;
  49. position: absolute;
  50. z-index: -1;
  51. }
  52. .content{
  53. width: 1000px;
  54. height: 500px;
  55. margin: 0 auto;
  56. }
  57. .title{
  58. text-align: center;
  59. padding-top: 6%;
  60. }
  61. .input{
  62. height: 60px;
  63. display: flex;
  64. width: 100%;
  65. font-size: 0;
  66. position: relative;
  67. }
  68. .input input{
  69. font-size: 24px;
  70. border: #EA9649 5px solid;
  71. border-right: none;
  72. background: none;
  73. color: #EA9649;
  74. padding-left: 0.63rem;
  75. padding-right: 2.63rem;
  76. margin: 0;
  77. flex: 30;
  78. }
  79. .input span{
  80. padding: 0 10px;
  81. height: 50px;
  82. border-top: #EA9649 5px solid;
  83. border-bottom: #EA9649 5px solid;
  84. flex: 1;
  85. text-align: center;
  86. display: flex;
  87. justify-content: center;
  88. align-items: center;
  89. }
  90. .input span img{
  91. vertical-align: middle;
  92. display: inline-block;
  93. width: 30px;
  94. height: 30px;
  95. opacity: 0;
  96. }
  97. .input .button{
  98. flex: 3;
  99. background: #EA9649;
  100. margin: 0;
  101. font-size:24px;
  102. height: 60px;
  103. line-height: 60px;
  104. margin: 0 auto;
  105. color: #000;
  106. min-width: 15%;
  107. text-align: center;
  108. }
  109. .result{
  110. display: flex;
  111. width: 100%;
  112. margin: 10px 0;
  113. height: 70px;
  114. }
  115. .result li{
  116. font-size: 20px;
  117. list-style: none;
  118. display: inline-block;
  119. margin-right: 0.38rem;
  120. padding: 0.13rem 0.25rem;
  121. vertical-align: middle;
  122. }
  123. .result li:last-of-type{
  124. margin-right: 0;
  125. }
  126. .result li img{
  127. margin-top: 20px;
  128. width: 30px;
  129. vertical-align: middle;
  130. }
  131. .result .active{
  132. background: #EA9649;
  133. color: #000;
  134. }
  135. #canvasWrap {
  136. position:relative;
  137. margin:0 auto;
  138. width:990px;
  139. height:340px;
  140. border:5px solid #EA9649;
  141. font-size: 0;
  142. }
  143. #clear{
  144. opacity: 0;
  145. }
  146. .cls{
  147. text-align: center;
  148. width: 100%;
  149. position: fixed;
  150. left: 50%;
  151. transform: translateX(-50%);
  152. }
  153. .cls img{
  154. width: 1.88rem;
  155. }
  156. .result-page{
  157. display: none;
  158. }
  159. .reload{
  160. margin-top: 0.5rem;
  161. text-align: right;
  162. }
  163. #reload{
  164. width: 1rem;
  165. }
  166. .result-page ul {
  167. margin-left: 0.63rem;
  168. margin-top: 0.5rem;
  169. user-select: none;
  170. }
  171. .result-page ul li{
  172. display: flex;
  173. align-items: center;
  174. margin-top: 0.63rem;
  175. font-size: 24px;
  176. }
  177. .result-page ul li img{
  178. width: 150px;
  179. height: 150px;
  180. object-fit: cover;
  181. margin-right: 1.88rem;
  182. }
  183. .result-page ul li span{
  184. width: 15.63rem;
  185. line-height: 1.5;
  186. }
  187. .no-result{
  188. box-sizing: border-box;
  189. text-align: center;
  190. margin-top: 20px;
  191. display: none;
  192. }
  193. .no-result img{
  194. width: 200px;
  195. height:auto;
  196. }
  197. .no-result p{
  198. line-height: 1.5;
  199. }
  200. .result-page{
  201. box-sizing: border-box;
  202. }
  203. .reload{
  204. padding-right: 30px;
  205. }
  206. ::-webkit-scrollbar{
  207. height: 0 !important;
  208. }