BA_index.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. * {
  2. padding: 0;
  3. margin: 0;
  4. }
  5. input::-webkit-outer-spin-button,
  6. input::-webkit-inner-spin-button {
  7. -webkit-appearance: none;
  8. }
  9. input[type="number"] {
  10. -moz-appearance: textfield;
  11. }
  12. body {
  13. /* background: blueviolet url(king.png) no-repeat; */
  14. background-color: rgb(80, 32, 125);
  15. }
  16. .bg {
  17. width: 100%;
  18. height: 300px;
  19. background: url(../img/king.png) no-repeat;
  20. background-size: 100%;
  21. background-position: 0 100%;
  22. /* border: solid greenyellow; */
  23. position: absolute;
  24. top: 0;
  25. opacity: .5;
  26. }
  27. header {
  28. width: 100%;
  29. height: 200px;
  30. /* border: solid purple; */
  31. background-color: #4a0d7f;
  32. }
  33. header .content {
  34. width: 950px;
  35. height: 100%;
  36. /* border: solid red; */
  37. margin: 0 auto;
  38. position: relative;
  39. }
  40. header img {
  41. width: 160px;
  42. height: 120px;
  43. position: absolute;
  44. bottom: 0;
  45. cursor: pointer;
  46. /* border: solid red; */
  47. }
  48. /* 文字特效 */
  49. @keyframes tex {
  50. from {
  51. background-image: -webkit-linear-gradient(right bottom, plum, gold);
  52. -webkit-background-clip: text;
  53. -webkit-text-fill-color: transparent;
  54. }
  55. to {
  56. background-image: -webkit-linear-gradient(right bottom, gold, plum);
  57. -webkit-background-clip: text;
  58. -webkit-text-fill-color: transparent;
  59. }
  60. }
  61. header .content .box {
  62. width: 200px;
  63. height: 130px;
  64. /* border: solid red; */
  65. position: absolute;
  66. left: 160px;
  67. bottom: 0;
  68. font-size: 30px;
  69. font-weight: bold;
  70. color: white;
  71. margin-left: 10px;
  72. animation-name: tex;
  73. animation-duration: 2s;
  74. animation-iteration-count: 5;
  75. }
  76. /* ljk */
  77. .info {
  78. width: 100%;
  79. height: 0;
  80. /* border: solid pink; */
  81. position: absolute;
  82. top: 205px;
  83. z-index: 3;
  84. }
  85. .info .James {
  86. background: white;
  87. width: 1000px;
  88. height: 0;
  89. /* margin-left: 150px; */
  90. margin: 0 auto;
  91. /* border: solid rgb(111, 8, 179) 1px; */
  92. box-shadow: 0 0 10px 0 rgb(143, 6, 216);
  93. /* display: none; */
  94. }
  95. .info .font1,
  96. .info .font2,
  97. .info .shuzi {
  98. float: right;
  99. margin: 30px;
  100. }
  101. .info .shuzi {
  102. font-size: 44px;
  103. color: sandybrown;
  104. padding-right: 30px;
  105. border-right: 1px grey solid;
  106. position: absolute;
  107. left: 560px;
  108. }
  109. .info h1 {
  110. color: white;
  111. text-align: center;
  112. margin-top: 50px;
  113. }
  114. .info .datatable {
  115. width: 1000px;
  116. height: 30px;
  117. text-align: center;
  118. margin-left: 150px;
  119. /* margin-top: 30px; */
  120. }
  121. .info .datatable td {
  122. width: 240px;
  123. }
  124. .more_list {
  125. width: 700px;
  126. height: 0;
  127. /* border: solid rgb(29, 189, 34); */
  128. position: absolute;
  129. top: 50px;
  130. right: -300px;
  131. z-index: 4;
  132. font-size: 16px;
  133. display: none;
  134. }
  135. .more_list h1 {
  136. color: white;
  137. text-align: center;
  138. /* margin-top: 50px; */
  139. }
  140. .more_list .datatable {
  141. width: 100%;
  142. height: 30px;
  143. text-align: center;
  144. /* margin-left: 150px; */
  145. /* margin-top: 30px; */
  146. }
  147. .more_list .datatable td {
  148. width: 240px;
  149. }
  150. /* 导航栏 */
  151. #banner {
  152. width: 100%;
  153. height: 70px;
  154. background-color: #7239ae;
  155. margin-top: 20px;
  156. }
  157. #banner .content {
  158. width: 950px;
  159. height: 100%;
  160. margin: 0 auto;
  161. /* border: solid blue; */
  162. position: relative;
  163. }
  164. #banner li {
  165. list-style-type: none;
  166. float: left;
  167. width: 100px;
  168. height: 100%;
  169. /* border: solid pink; */
  170. text-align: center;
  171. line-height: 70px;
  172. font-size: 20px;
  173. cursor: pointer;
  174. }
  175. #banner li:hover {
  176. background-color: #6a19c1 !important;
  177. border-radius: 7px;
  178. box-shadow: 0 0 10px 0 #6a19c1 !important;
  179. }
  180. #banner a {
  181. text-decoration: none;
  182. color: white;
  183. }
  184. #banner li:hover a,
  185. #banner .more:hover .iconfont {
  186. color: #008c8c !important;
  187. }
  188. #banner .more {
  189. width: 50px;
  190. height: 50px;
  191. /* background-color: red; */
  192. position: absolute;
  193. right: 50px;
  194. top: 15%;
  195. /* border-radius: 50%; */
  196. cursor: pointer;
  197. font-size: 40px;
  198. /* border: solid gold; */
  199. display: none;
  200. }
  201. /* temp */
  202. #banner .more:hover .more_list {
  203. display: block;
  204. }
  205. /* 工具箱*/
  206. .tools {
  207. width: 50px;
  208. height: 50px;
  209. /* border: solid skyblue; */
  210. border-radius: 50%;
  211. position: absolute;
  212. right: 100px;
  213. top: 300px;
  214. z-index: 3;
  215. }
  216. .iconfont {
  217. text-align: center;
  218. line-height: 50px;
  219. font-size: 50px;
  220. }
  221. .tools:hover {
  222. /* background-color: pink; */
  223. color: gold;
  224. cursor: pointer;
  225. }
  226. .tools>.lis {
  227. width: 250px;
  228. /* height: 300px; */
  229. /* border: solid pink; */
  230. position: absolute;
  231. right: -95px;
  232. top: 50px;
  233. visibility: hidden;
  234. }
  235. .tools .lineList {
  236. display: none;
  237. }
  238. .tools .pieList {
  239. display: block;
  240. }
  241. .tools input {
  242. width: 150px;
  243. height: 35px;
  244. /* border: #562581 solid 1.5px; */
  245. outline: none;
  246. padding-left: 5px;
  247. color: purple;
  248. font-size: 17px;
  249. border-radius: 5px;
  250. }
  251. input::-webkit-input-placeholder {
  252. font-style: italic;
  253. color: rgba(179, 141, 179, 0.53);
  254. }
  255. .tools button:nth-of-type(1),
  256. .tools button:nth-of-type(3) {
  257. outline: none;
  258. position: absolute;
  259. top: 23px;
  260. width: 76px;
  261. height: 74.5px;
  262. right: 10px;
  263. cursor: pointer;
  264. transition: 1s;
  265. background-color: skyblue;
  266. border: none;
  267. font-size: 24px;
  268. color: purple;
  269. }
  270. .tools button:nth-of-type(1):hover,
  271. .tools button:nth-of-type(3):hover {
  272. background-color: rgb(251, 107, 155);
  273. border-radius: 50%;
  274. }
  275. .tools button:nth-of-type(2) {
  276. outline: none;
  277. width: 50px;
  278. height: 36.5px;
  279. position: absolute;
  280. top: 150px;
  281. right: 25px;
  282. background-color: skyblue;
  283. color: purple;
  284. border: none;
  285. transition: .5s;
  286. cursor: pointer;
  287. }
  288. .tools button:nth-of-type(2):hover {
  289. border-radius: 7px;
  290. background-color: rgb(251, 107, 155);
  291. }
  292. .tools button:nth-of-type(3) {
  293. top: 246px;
  294. }
  295. /* 主内容 */
  296. #content {
  297. width: 950px;
  298. height: 1400px;
  299. /* border: red solid; */
  300. margin: 10px auto 0;
  301. position: relative;
  302. }
  303. /* 尾部 */
  304. footer {
  305. width: 100%;
  306. height: 200px;
  307. background-color: rgb(50, 50, 50);
  308. text-align: center;
  309. position: relative;
  310. }
  311. footer img {
  312. width: 130px;
  313. height: 90px;
  314. margin-left: -20%;
  315. margin-top: 10px;
  316. }
  317. footer span {
  318. position: absolute;
  319. top: 35px;
  320. left: 45%;
  321. color: white;
  322. font-size: 20px;
  323. font-weight: bold;
  324. }
  325. footer span:nth-child(3) {
  326. top: 80px;
  327. font-size: 15px;
  328. font-weight: normal;
  329. }
  330. /*统计图*/
  331. #bar {
  332. /* display: none; */
  333. width: 100%;
  334. height: 600px;
  335. /* border: solid gold; */
  336. visibility: hidden;
  337. background-color: white;
  338. }
  339. #pie {
  340. width: 100%;
  341. height: 600px;
  342. /* margin-top: -15px; */
  343. /* border: solid purple; */
  344. position: absolute;
  345. left: 0;
  346. right: 0;
  347. top: 0;
  348. margin: 0 auto;
  349. /* display: none; */
  350. background-color: white;
  351. }
  352. #line {
  353. width: 100%;
  354. height: 600px;
  355. display: block;
  356. /* border: solid purple; */
  357. position: absolute;
  358. top: 0;
  359. /* visibility: hidden; */
  360. background-color: white;
  361. }
  362. #rect {
  363. width: 100%;
  364. height: 600px;
  365. /* border: solid green; */
  366. position: absolute;
  367. bottom: 0;
  368. background-color: white !important;
  369. }
  370. .digital {
  371. width: 100%;
  372. height: 140px;
  373. /* border: solid black; */
  374. margin-top: 13px;
  375. overflow: hidden;
  376. }
  377. .digital h3 {
  378. color: white;
  379. text-align: center;
  380. }
  381. .digital .datatable {
  382. width: 100%;
  383. height: 30px;
  384. text-align: center;
  385. }
  386. .digital .datatable td {
  387. width: 240px;
  388. }