investHomeBig.css 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  1. html,
  2. body {
  3. /* min-width: 7640px; */
  4. width: 7680px;
  5. height: 2160px;
  6. font-size: 20px;
  7. color: #fff;
  8. font-family: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, 'PingFang SC',
  9. 'Hiragino Sans GB', Arial, sans-serif;
  10. height: 100vh;
  11. overflow-y: hidden;
  12. }
  13. *{
  14. padding: 0;
  15. margin: 0;
  16. }
  17. [v-cloak] {
  18. display: none;
  19. }
  20. #app{
  21. display: grid;
  22. grid-template-columns: repeat(3, 1fr);
  23. width: 100%;
  24. height: 100%;
  25. }
  26. #app>div{
  27. width: 100%;
  28. height: 100%;
  29. }
  30. /* 公共 */
  31. /* 宽高纵横比 */
  32. .aspect-auto {
  33. aspect-ratio: auto;
  34. }
  35. .aspect-square {
  36. aspect-ratio: 1 / 1;
  37. }
  38. .aspect-video {
  39. aspect-ratio: 16 / 9;
  40. }
  41. /* aspect-[4/3] */
  42. /* 居中 */
  43. .mx-auto {
  44. margin: 0 auto;
  45. }
  46. /* 设置容器内的列数/每列距离 */
  47. .columns-1 {
  48. columns: 1;
  49. }
  50. /* columns-[20px] */
  51. /* 盒子模型 */
  52. .box-border {
  53. box-sizing: border-box;
  54. }
  55. .box-content {
  56. box-sizing: content-box;
  57. }
  58. /* 消失 */
  59. .hidden {
  60. display: none;
  61. }
  62. /* 块级元素 */
  63. .block {
  64. display: block;
  65. }
  66. /* 行内块 */
  67. .inline-block {
  68. display: inline-block;
  69. }
  70. /* 行内元素 */
  71. .inline {
  72. display: inline;
  73. }
  74. /* 弹性布局 */
  75. .flex {
  76. display: flex;
  77. }
  78. /* 主轴起点在左边 */
  79. .flex-row {
  80. flex-direction: row;
  81. }
  82. /* 主轴起点在右边 */
  83. .flex-row-reverse {
  84. flex-direction: row-reverse;
  85. }
  86. /* 主轴竖向排列,在上面 */
  87. .flex-col {
  88. flex-direction: column;
  89. }
  90. /* 主轴竖向排列,在下面 */
  91. .flex-col-reverse {
  92. flex-direction: column-reverse;
  93. }
  94. /* 自动换行 */
  95. .flex-wrap {
  96. flex-wrap: wrap;
  97. }
  98. /* 自动换行下起点 */
  99. .flex-wrap-reverse {
  100. flex-wrap: wrap-reverse;
  101. }
  102. /* 不换行 */
  103. .flex-nowrap {
  104. flex-wrap: nowrap;
  105. }
  106. /* 弹性成长 */
  107. .grow {
  108. flex-grow: 1;
  109. }
  110. /* 不允许弹性成长 */
  111. .grow-0 {
  112. flex-grow: 0;
  113. }
  114. /* 主轴从左开始 */
  115. .justify-start {
  116. justify-content: flex-start;
  117. }
  118. /* 主轴从右开始 */
  119. .justify-end {
  120. justify-content: flex-end;
  121. }
  122. /* 主轴剧中 */
  123. .justify-center {
  124. justify-content: center;
  125. }
  126. /* 主轴两端无间隔 */
  127. .justify-between {
  128. justify-content: space-between;
  129. }
  130. /* 主轴两端有间隔 */
  131. .justify-around {
  132. justify-content: space-around;
  133. }
  134. /* 所有间隔相等 */
  135. .justify-evenly {
  136. justify-content: space-evenly;
  137. }
  138. /* 纵向起点最上方 */
  139. .items-start {
  140. align-items: flex-start;
  141. }
  142. /* 纵向起点最下方 */
  143. .items-end {
  144. align-items: flex-end;
  145. }
  146. .items-center {
  147. align-items: center;
  148. }
  149. /* 网格布局 */
  150. .grid {
  151. display: grid;
  152. }
  153. /* 有几列 */
  154. .grid-cols-4{
  155. grid-template-columns: repeat(4, minmax(0, 1fr));
  156. grid-template-columns: repeat(2, 1fr);
  157. }
  158. /* 有几行 */
  159. .grid-rows-3{
  160. grid-template-rows: repeat(3, minmax(0, 1fr));
  161. grid-template-rows: repeat(3, 1fr);
  162. }
  163. /* 容器中的内容上下布局 */
  164. .grid-center{
  165. align-items: center;
  166. }
  167. /* 间距 */
  168. .gap-7{
  169. gap: 1.75rem;
  170. }
  171. /* 允许弹性成长 */
  172. .shrink {
  173. flex-shrink: 1;
  174. }
  175. /* 不允许弹性成长 */
  176. .shrink-0 {
  177. flex-shrink: 0;
  178. }
  179. /* 不允许成长也不允许收缩 */
  180. .flex-none {
  181. flex: none;
  182. }
  183. /* 浮动布局 */
  184. .float-right {
  185. float: right;
  186. }
  187. .float-left {
  188. float: left;
  189. }
  190. .clear-both {
  191. clear: both;
  192. }
  193. /* 溢出 */
  194. .overflow-auto {
  195. overflow: auto;
  196. }
  197. .overflow-hidden {
  198. overflow: hidden;
  199. }
  200. .overflow-scroll {
  201. overflow: scroll;
  202. }
  203. .overflow-x-auto {
  204. overflow-x: auto;
  205. }
  206. .overflow-y-auto {
  207. overflow-y: auto;
  208. }
  209. /* 定位 */
  210. .fixed {
  211. position: fixed;
  212. }
  213. .absolute {
  214. position: absolute;
  215. }
  216. .relative {
  217. position: relative;
  218. }
  219. .top-0 {
  220. top: 0px;
  221. }
  222. .right-0 {
  223. right: 0px;
  224. }
  225. .bottom-0 {
  226. bottom: 0px;
  227. }
  228. .left-0 {
  229. left: 0px;
  230. }
  231. /* top-[3px] */
  232. /* z-[100] */
  233. /* 显示隐藏未脱离文档流 */
  234. .visible {
  235. visibility: visible;
  236. }
  237. .invisible {
  238. visibility: hidden;
  239. }
  240. /* 内边距 */
  241. .p-0 {
  242. padding: 0px;
  243. }
  244. .px-0 {
  245. padding-left: 0px;
  246. padding-right: 0px;
  247. }
  248. .py-0 {
  249. padding-top: 0px;
  250. padding-bottom: 0px;
  251. }
  252. .pt-0 {
  253. padding-top: 0px;
  254. }
  255. .pr-0 {
  256. padding-right: 0px;
  257. }
  258. .pb-0 {
  259. padding-bottom: 0px;
  260. }
  261. .pl-0 {
  262. padding-left: 0px;
  263. }
  264. /* p-[5px] */
  265. /* 外边距 */
  266. .m-0 {
  267. margin: 0px;
  268. }
  269. .mx-0 {
  270. margin-left: 0px;
  271. margin-right: 0px;
  272. }
  273. .my-0 {
  274. margin-top: 0px;
  275. margin-bottom: 0px;
  276. }
  277. .mt-0 {
  278. margin-top: 0px;
  279. }
  280. .mr-0 {
  281. margin-right: 0px;
  282. }
  283. .mb-0 {
  284. margin-bottom: 0px;
  285. }
  286. .ml-0 {
  287. margin-left: 0px;
  288. }
  289. /* m-[5px] */
  290. /* 宽度 */
  291. .w-full {
  292. width: 100%;
  293. }
  294. .w-screen {
  295. width: 100vw;
  296. }
  297. /* w-[32rem] */
  298. /* min-w-[50%] */
  299. /* max-w-[50%] */
  300. /* 高度 */
  301. .h-full {
  302. height: 100%;
  303. }
  304. .h-screen {
  305. height: 100vh;
  306. }
  307. /* h-[32rem] */
  308. /* min-h-[50%] */
  309. /* max-h-[32rem] */
  310. /* 字体 */
  311. .text-xs {
  312. font-size: 0.75rem; /* 12px */
  313. line-height: 1rem; /* 16px */
  314. }
  315. .text-sm {
  316. font-size: 0.875rem; /* 14px */
  317. line-height: 1.25rem; /* 20px */
  318. }
  319. .text-base {
  320. font-size: 1rem; /* 16px */
  321. line-height: 1.5rem; /* 24px */
  322. }
  323. .text-lg {
  324. font-size: 1.125rem; /* 18px */
  325. line-height: 1.75rem; /* 28px */
  326. }
  327. .text-xl {
  328. font-size: 1.25rem; /* 20px */
  329. line-height: 1.75rem; /* 28px */
  330. }
  331. .text-2xl {
  332. font-size: 1.5rem; /* 24px */
  333. line-height: 2rem; /* 32px */
  334. }
  335. .text-3xl {
  336. font-size: 1.875rem; /* 30px */
  337. line-height: 2.25rem; /* 36px */
  338. }
  339. .text-4xl {
  340. font-size: 2.25rem; /* 36px */
  341. line-height: 2.5rem; /* 40px */
  342. }
  343. .text-5xl {
  344. font-size: 3rem; /* 48px */
  345. line-height: 1;
  346. }
  347. .text-6xl {
  348. font-size: 3.75rem; /* 60px */
  349. line-height: 1;
  350. }
  351. .text-7xl {
  352. font-size: 4.5rem; /* 72px */
  353. line-height: 1;
  354. }
  355. .text-8xl {
  356. font-size: 6rem; /* 96px */
  357. line-height: 1;
  358. }
  359. .text-9xl {
  360. font-size: 8rem; /* 128px */
  361. line-height: 1;
  362. }
  363. /* text-[14px] */
  364. /* 字体粗细font-weight */
  365. /* font-[1100] */
  366. /* https://tailwindcss.com/docs/font-weight */
  367. /* 字体间距letter-spacing */
  368. /* tracking-[.25em] */
  369. /* 行高line-height */
  370. /* leading-[3rem] */
  371. /* 无列表样式 */
  372. .list-none {
  373. list-style-type: none;
  374. }
  375. /* 小圆点 */
  376. .list-disc {
  377. list-style-type: disc;
  378. }
  379. /* 数字列表 */
  380. .list-decimal {
  381. list-style-type: decimal;
  382. }
  383. .text-left {
  384. text-align: left;
  385. }
  386. .text-center {
  387. text-align: center;
  388. }
  389. .text-right {
  390. text-align: right;
  391. }
  392. /* 所有文本头尾对齐 */
  393. .text-justify {
  394. text-align: justify;
  395. }
  396. /* 文本颜色 */
  397. /* text-[#50d71e] */
  398. /* https://tailwindcss.com/docs/text-color */
  399. /* 下划线 */
  400. .underline {
  401. text-decoration-line: underline;
  402. }
  403. /* 上划线 */
  404. .overline {
  405. text-decoration-line: overline;
  406. }
  407. /* 中划线 */
  408. .line-through {
  409. text-decoration-line: line-through;
  410. }
  411. /* 无划线 */
  412. .no-underline {
  413. text-decoration-line: none;
  414. }
  415. /* 全小写 */
  416. .lowercase {
  417. text-transform: lowercase;
  418. }
  419. /* 全大写 */
  420. .uppercase {
  421. text-transform: uppercase;
  422. }
  423. /* 首字母大写 */
  424. .capitalize {
  425. text-transform: capitalize;
  426. }