index.css 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  1. html,
  2. body {
  3. width: 7680px;
  4. min-height: 2120px;
  5. height: 100%;
  6. font-size: 20px;
  7. color: #fff;
  8. font-family: 'Microsoft YaHei';
  9. overflow-y: hidden;
  10. }
  11. img *,
  12. *,
  13. *:before,
  14. *:after {
  15. padding: 0;
  16. margin: 0;
  17. box-sizing: border-box;
  18. }
  19. a {
  20. text-decoration: none;
  21. cursor: pointer;
  22. }
  23. [v-cloak] {
  24. display: none;
  25. }
  26. #app {
  27. background: url('../img/page-bg.png') center center no-repeat;
  28. background-size: 100% 100%;
  29. }
  30. .top {
  31. height: 180px;
  32. width: 100%;
  33. display: grid;
  34. grid-template-columns: repeat(3, 1fr);
  35. gap: 10px;
  36. }
  37. .top > div {
  38. display: flex;
  39. justify-content: center;
  40. align-items: center;
  41. flex-direction: column;
  42. font-size: 48px;
  43. font-weight: bold;
  44. letter-spacing: 5px;
  45. }
  46. .top .title>span:before {
  47. content: '';
  48. display: inline-block;
  49. width: 66px; /*图标宽度*/
  50. height: 42px; /*图标高度*/
  51. background: url('../img/title-left.png') no-repeat center center; /*图标路径*/
  52. background-size: contain; /*图标大小适应*/
  53. margin-right: 20px; /*图标与文字的间距*/
  54. }
  55. .top .title>div {
  56. height: 30px;
  57. width: 40%;
  58. background: url('../img/title-light.png') center bottom no-repeat;
  59. background-size: 100% 100%;
  60. }
  61. .top .title>span:after {
  62. content: '';
  63. display: inline-block;
  64. width: 66px; /*图标宽度*/
  65. height: 42px; /*图标高度*/
  66. background: url('../img/title-right.png') no-repeat center center; /*图标路径*/
  67. background-size: contain; /*图标大小适应*/
  68. margin-left: 20px; /*图标与文字的间距*/
  69. }
  70. .top .mainTitle {
  71. height: 70%;
  72. font-size: 80px;
  73. font-style: oblique;
  74. text-shadow: 2px 3px 1px black;
  75. letter-spacing: 5px;
  76. }
  77. .bottom {
  78. height: calc(100% - 180px);
  79. width: 100%;
  80. display: grid;
  81. grid-template-columns: repeat(3, 1fr);
  82. gap: 10px;
  83. padding: 0 1% 1% 1%;
  84. }
  85. .left,
  86. .center,
  87. .right {
  88. display: grid;
  89. grid-template-columns: repeat(2, 1fr);
  90. grid-template-rows: repeat(3, 1fr);
  91. gap: 10px;
  92. height: 100%;
  93. width: 100%;
  94. overflow: hidden;
  95. }
  96. .left > div,
  97. .center > div,
  98. .right > div {
  99. width: 100%;
  100. height: 100%;
  101. overflow: hidden;
  102. }
  103. .left .title {
  104. width: 100%;
  105. height: calc(100% / 7);
  106. overflow: hidden;
  107. background: url('../img/small-title.png') no-repeat center bottom; /*图标路径*/
  108. background-size: 100% 50%;
  109. display: flex;
  110. align-items: center;
  111. padding-left: 7%;
  112. font-size: 36px;
  113. font-style: oblique;
  114. text-shadow: 2px 3px 1px black;
  115. letter-spacing: 5px;
  116. }
  117. .left .content {
  118. width: 100%;
  119. height: calc(100% - 100% / 7);
  120. overflow: hidden;
  121. padding: 1%;
  122. }
  123. .left1 {
  124. display: grid;
  125. grid-template-rows: 1fr 1.6fr;
  126. }
  127. .left1 > div:first-child {
  128. display: flex;
  129. align-items: center;
  130. justify-content: space-around;
  131. }
  132. .left1 .child {
  133. width: 47%;
  134. height: 100%;
  135. background: url('../img/left1.png') no-repeat center center; /*图标路径*/
  136. background-size: 100% 100%;
  137. display: grid;
  138. grid-template-columns: repeat(2, 1fr);
  139. grid-template-rows: repeat(3, 1fr);
  140. padding: 1% 3%;
  141. align-items: center;
  142. }
  143. .left1B{
  144. display: grid;
  145. grid-template-columns: 4fr 6fr;
  146. overflow: hidden;
  147. }
  148. .left1B>div:nth-child(1){
  149. overflow: hidden;
  150. background: url('../img/disk.png') no-repeat center center; /*图标路径*/
  151. background-size: 100% 100%;
  152. }
  153. .left1C{
  154. display: grid;
  155. grid-template-rows: 1fr 2fr 2fr;
  156. overflow: hidden;
  157. }
  158. .checkBg{
  159. background: url('../img/disk.png') no-repeat center center; /*图标路径*/
  160. background-size: 100% 100%;
  161. }
  162. /* 公共css */
  163. /* 宽高纵横比 */
  164. .font28{
  165. font-size: 28px;
  166. }
  167. .pointer {
  168. cursor: pointer;
  169. }
  170. i {
  171. font-style: normal !important;
  172. }
  173. .aspect-auto {
  174. aspect-ratio: auto;
  175. }
  176. .aspect-square {
  177. aspect-ratio: 1 / 1;
  178. }
  179. .aspect-video {
  180. aspect-ratio: 16 / 9;
  181. }
  182. /* aspect-[4/3] */
  183. /* 居中 */
  184. .mx-auto {
  185. margin: 0 auto;
  186. }
  187. /* 设置容器内的列数/每列距离 */
  188. .columns-1 {
  189. columns: 1;
  190. }
  191. /* columns-[20px] */
  192. /* 盒子模型 */
  193. .box-border {
  194. box-sizing: border-box;
  195. }
  196. .box-content {
  197. box-sizing: content-box;
  198. }
  199. /* 消失 */
  200. .hidden {
  201. display: none;
  202. }
  203. /* 块级元素 */
  204. .block {
  205. display: block;
  206. }
  207. /* 行内块 */
  208. .inline-block {
  209. display: inline-block;
  210. }
  211. /* 行内元素 */
  212. .inline {
  213. display: inline;
  214. }
  215. /* 弹性布局 */
  216. .flex {
  217. display: flex;
  218. }
  219. /* 主轴起点在左边 */
  220. .flex-row {
  221. flex-direction: row;
  222. }
  223. /* 主轴起点在右边 */
  224. .flex-row-reverse {
  225. flex-direction: row-reverse;
  226. }
  227. /* 主轴竖向排列,在上面 */
  228. .flex-col {
  229. flex-direction: column;
  230. }
  231. /* 主轴竖向排列,在下面 */
  232. .flex-col-reverse {
  233. flex-direction: column-reverse;
  234. }
  235. /* 自动换行 */
  236. .flex-wrap {
  237. flex-wrap: wrap;
  238. }
  239. /* 自动换行下起点 */
  240. .flex-wrap-reverse {
  241. flex-wrap: wrap-reverse;
  242. }
  243. /* 不换行 */
  244. .flex-nowrap {
  245. flex-wrap: nowrap;
  246. }
  247. /* 弹性成长 */
  248. .grow {
  249. flex-grow: 1;
  250. }
  251. /* 不允许弹性成长 */
  252. .grow-0 {
  253. flex-grow: 0;
  254. }
  255. /* 主轴从左开始 */
  256. .justify-start {
  257. justify-content: flex-start;
  258. }
  259. /* 主轴从右开始 */
  260. .justify-end {
  261. justify-content: flex-end;
  262. }
  263. /* 主轴剧中 */
  264. .justify-center {
  265. justify-content: center;
  266. }
  267. /* 主轴两端无间隔 */
  268. .justify-between {
  269. justify-content: space-between;
  270. }
  271. /* 主轴两端有间隔 */
  272. .justify-around {
  273. justify-content: space-around;
  274. }
  275. /* 所有间隔相等 */
  276. .justify-evenly {
  277. justify-content: space-evenly;
  278. }
  279. /* 纵向起点最上方 */
  280. .items-start {
  281. align-items: flex-start;
  282. }
  283. /* 纵向起点最下方 */
  284. .items-end {
  285. align-items: flex-end;
  286. }
  287. .items-center {
  288. align-items: center;
  289. }
  290. /* 网格布局 */
  291. .grid {
  292. display: grid;
  293. }
  294. /* 有几列 */
  295. .grid-cols-4 {
  296. grid-template-columns: repeat(4, minmax(0, 1fr));
  297. grid-template-columns: repeat(4, 1fr);
  298. }
  299. /* 有几行 */
  300. .grid-rows-3 {
  301. grid-template-rows: repeat(3, minmax(0, 1fr));
  302. grid-template-rows: repeat(3, 1fr);
  303. }
  304. /* 容器中的内容上下布局 */
  305. .grid-center {
  306. align-items: center;
  307. }
  308. /* 间距 */
  309. .gap-7 {
  310. gap: 1.75rem;
  311. }
  312. /* 允许弹性成长 */
  313. .shrink {
  314. flex-shrink: 1;
  315. }
  316. /* 不允许弹性成长 */
  317. .shrink-0 {
  318. flex-shrink: 0;
  319. }
  320. /* 不允许成长也不允许收缩 */
  321. .flex-none {
  322. flex: none;
  323. }
  324. /* 浮动布局 */
  325. .float-right {
  326. float: right;
  327. }
  328. .float-left {
  329. float: left;
  330. }
  331. .clear-both {
  332. clear: both;
  333. }
  334. /* 溢出 */
  335. .overflow-auto {
  336. overflow: auto;
  337. }
  338. .overflow-hidden {
  339. overflow: hidden;
  340. }
  341. .overflow-scroll {
  342. overflow: scroll;
  343. }
  344. .overflow-x-auto {
  345. overflow-x: auto;
  346. }
  347. .overflow-y-auto {
  348. overflow-y: auto;
  349. }
  350. /* 定位 */
  351. .fixed {
  352. position: fixed;
  353. }
  354. .absolute {
  355. position: absolute;
  356. }
  357. .relative {
  358. position: relative;
  359. }
  360. .top-0 {
  361. top: 0px;
  362. }
  363. .right-0 {
  364. right: 0px;
  365. }
  366. .bottom-0 {
  367. bottom: 0px;
  368. }
  369. .left-0 {
  370. left: 0px;
  371. }
  372. /* top-[3px] */
  373. /* z-[100] */
  374. /* 显示隐藏未脱离文档流 */
  375. .visible {
  376. visibility: visible;
  377. }
  378. .invisible {
  379. visibility: hidden;
  380. }
  381. /* 内边距 */
  382. .p-0 {
  383. padding: 0px;
  384. }
  385. .px-0 {
  386. padding-left: 0px;
  387. padding-right: 0px;
  388. }
  389. .py-0 {
  390. padding-top: 0px;
  391. padding-bottom: 0px;
  392. }
  393. .pt-0 {
  394. padding-top: 0px;
  395. }
  396. .pr-0 {
  397. padding-right: 0px;
  398. }
  399. .pb-0 {
  400. padding-bottom: 0px;
  401. }
  402. .pl-0 {
  403. padding-left: 0px;
  404. }
  405. /* p-[5px] */
  406. /* 外边距 */
  407. .m-0 {
  408. margin: 0px;
  409. }
  410. .mx-0 {
  411. margin-left: 0px;
  412. margin-right: 0px;
  413. }
  414. .my-0 {
  415. margin-top: 0px;
  416. margin-bottom: 0px;
  417. }
  418. .mt-0 {
  419. margin-top: 0px;
  420. }
  421. .mr-0 {
  422. margin-right: 0px;
  423. }
  424. .mb-0 {
  425. margin-bottom: 0px;
  426. }
  427. .ml-0 {
  428. margin-left: 0px;
  429. }
  430. /* m-[5px] */
  431. /* 宽度 */
  432. .w-full {
  433. width: 100%;
  434. }
  435. .w-screen {
  436. width: 100vw;
  437. }
  438. /* w-[32rem] */
  439. /* min-w-[50%] */
  440. /* max-w-[50%] */
  441. /* 高度 */
  442. .h-full {
  443. height: 100%;
  444. }
  445. .h-screen {
  446. height: 100vh;
  447. }
  448. /* h-[32rem] */
  449. /* min-h-[50%] */
  450. /* max-h-[32rem] */
  451. /* 字体 */
  452. .text-xs {
  453. font-size: 0.75rem; /* 12px */
  454. line-height: 1rem; /* 16px */
  455. }
  456. .text-sm {
  457. font-size: 0.875rem; /* 14px */
  458. line-height: 1.25rem; /* 20px */
  459. }
  460. .text-base {
  461. font-size: 1rem; /* 16px */
  462. line-height: 1.5rem; /* 24px */
  463. }
  464. .text-lg {
  465. font-size: 1.125rem; /* 18px */
  466. line-height: 1.75rem; /* 28px */
  467. }
  468. .text-xl {
  469. font-size: 1.25rem; /* 20px */
  470. line-height: 1.75rem; /* 28px */
  471. }
  472. .text-2xl {
  473. font-size: 1.5rem; /* 24px */
  474. line-height: 2rem; /* 32px */
  475. }
  476. .text-3xl {
  477. font-size: 1.875rem; /* 30px */
  478. line-height: 2.25rem; /* 36px */
  479. }
  480. .text-4xl {
  481. font-size: 2.25rem; /* 36px */
  482. line-height: 2.5rem; /* 40px */
  483. }
  484. .text-5xl {
  485. font-size: 3rem; /* 48px */
  486. line-height: 1;
  487. }
  488. .text-6xl {
  489. font-size: 3.75rem; /* 60px */
  490. line-height: 1;
  491. }
  492. .text-7xl {
  493. font-size: 4.5rem; /* 72px */
  494. line-height: 1;
  495. }
  496. .text-8xl {
  497. font-size: 6rem; /* 96px */
  498. line-height: 1;
  499. }
  500. .text-9xl {
  501. font-size: 8rem; /* 128px */
  502. line-height: 1;
  503. }
  504. /* text-[14px] */
  505. /* 字体粗细font-weight */
  506. /* font-[1100] */
  507. /* https://tailwindcss.com/docs/font-weight */
  508. /* 字体间距letter-spacing */
  509. /* tracking-[.25em] */
  510. /* 行高line-height */
  511. /* leading-[3rem] */
  512. /* 无列表样式 */
  513. .list-none {
  514. list-style-type: none;
  515. }
  516. /* 小圆点 */
  517. .list-disc {
  518. list-style-type: disc;
  519. }
  520. /* 数字列表 */
  521. .list-decimal {
  522. list-style-type: decimal;
  523. }
  524. .text-left {
  525. text-align: left;
  526. }
  527. .text-center {
  528. text-align: center;
  529. }
  530. .text-right {
  531. text-align: right;
  532. }
  533. /* 所有文本头尾对齐 */
  534. .text-justify {
  535. text-align: justify;
  536. }
  537. /* 文本颜色 */
  538. /* text-[#50d71e] */
  539. /* https://tailwindcss.com/docs/text-color */
  540. /* 下划线 */
  541. .underline {
  542. text-decoration-line: underline;
  543. }
  544. /* 上划线 */
  545. .overline {
  546. text-decoration-line: overline;
  547. }
  548. /* 中划线 */
  549. .line-through {
  550. text-decoration-line: line-through;
  551. }
  552. /* 无划线 */
  553. .no-underline {
  554. text-decoration-line: none;
  555. }
  556. /* 全小写 */
  557. .lowercase {
  558. text-transform: lowercase;
  559. }
  560. /* 全大写 */
  561. .uppercase {
  562. text-transform: uppercase;
  563. }
  564. /* 首字母大写 */
  565. .capitalize {
  566. text-transform: capitalize;
  567. }