style.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. /* CSS Reset */
  2. html, body, div, span, applet, object, iframe,
  3. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  4. a, abbr, acronym, address, big, cite, code,
  5. del, dfn, em, img, ins, kbd, q, s, samp,
  6. small, strike, strong, sub, sup, tt, var,
  7. b, u, i, center,
  8. dl, dt, dd, ol, ul, li,
  9. fieldset, form, label, legend,
  10. table, caption, tbody, tfoot, thead, tr, th, td,
  11. article, aside, canvas, details, embed,
  12. figure, figcaption, footer, header, hgroup,
  13. menu, nav, output, ruby, section, summary,
  14. time, mark, audio, video {
  15. margin: 0;
  16. padding: 0;
  17. border: 0;
  18. font-size: 100%;
  19. font: inherit;
  20. vertical-align: baseline;
  21. box-sizing: border-box; /* Ensure padding and borders are included in element sizes */
  22. }
  23. /* HTML5 display-role reset for older browsers */
  24. article, aside, details, figcaption, figure,
  25. footer, header, hgroup, menu, nav, section {
  26. display: block;
  27. }
  28. body {
  29. line-height: 1;
  30. }
  31. ol, ul {
  32. list-style: none;
  33. }
  34. blockquote, q {
  35. quotes: none;
  36. }
  37. blockquote:before, blockquote:after,
  38. q:before, q:after {
  39. content: '';
  40. content: none;
  41. }
  42. table {
  43. border-collapse: collapse;
  44. border-spacing: 0;
  45. }
  46. div .uni-tabbar {
  47. display: -webkit-box;
  48. display: -webkit-flex;
  49. display: flex;
  50. z-index: 998;
  51. box-sizing: border-box;
  52. }
  53. div.uni-tabbar-bottom,
  54. uni-tabbar.uni-tabbar-bottom .uni-tabbar,
  55. uni-tabbar.uni-tabbar-top,
  56. uni-tabbar.uni-tabbar-top .uni-tabbar {
  57. position: fixed;
  58. left: 0;
  59. right: 0;
  60. bottom: -51px;
  61. }
  62. uni-tabbar .uni-tabbar-border {
  63. position: absolute;
  64. left: 0;
  65. top: 0;
  66. width: 100%;
  67. height: 1px;
  68. -webkit-transform: scaleY(.5);
  69. transform: scaleY(.5);
  70. }
  71. div.uni-tabbar-bottom .uni-tabbar {
  72. bottom: 0;
  73. padding-bottom: 0;
  74. padding-bottom: constant(safe-area-inset-bottom);
  75. padding-bottom: env(safe-area-inset-bottom);
  76. }
  77. div .uni-tabbar__item {
  78. -webkit-flex-direction: column;
  79. flex-direction: column;
  80. -webkit-box-flex: 1;
  81. -webkit-flex: 1;
  82. flex: 1;
  83. font-size: 0;
  84. text-align: center;
  85. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  86. }
  87. div .uni-tabbar__bd,
  88. uni-tabbar .uni-tabbar__item {
  89. display: -webkit-box;
  90. display: -webkit-flex;
  91. display: flex;
  92. -webkit-box-pack: center;
  93. -webkit-justify-content: center;
  94. justify-content: center;
  95. -webkit-box-align: center;
  96. -webkit-align-items: center;
  97. align-items: center;
  98. -webkit-box-orient: vertical;
  99. -webkit-box-direction: normal;
  100. }
  101. div .uni-tabbar__bd {
  102. position: relative;
  103. -webkit-flex-direction: column;
  104. flex-direction: column;
  105. cursor: pointer;
  106. }
  107. div .uni-tabbar__icon {
  108. position: relative;
  109. display: inline-block;
  110. margin-top: 5px;
  111. }
  112. div .uni-tabbar__label {
  113. position: relative;
  114. text-align: center;
  115. font-size: 10px;
  116. }
  117. .g-head{
  118. display: flex;
  119. font-size: 1rem;
  120. color: rgb(99, 99, 100);
  121. font-weight: bold;
  122. margin: 1rem auto;
  123. width: 96%;
  124. }