global.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. html,
  2. body,
  3. h1,
  4. h2,
  5. h3,
  6. h4,
  7. h5,
  8. h6,
  9. p,
  10. span,
  11. div,
  12. a,
  13. ul,
  14. ol,
  15. li,
  16. img,
  17. button,
  18. input {
  19. padding: 0;
  20. margin: 0;
  21. }
  22. body {
  23. font-size: 14px;
  24. font-family: PingFang SC, PingFang SC;
  25. background: url("../../public/header/banner.jpg") no-repeat center top;
  26. background-size: auto 500PX;
  27. }
  28. @media screen and (max-width: 800px) {
  29. body {
  30. font-size: 14px;
  31. font-family: PingFang SC, PingFang SC;
  32. background: url("../../public/header/banner.jpg") no-repeat center 40PX;
  33. background-size: 100% 140PX;
  34. }
  35. }
  36. .left {
  37. float: left;
  38. }
  39. .right {
  40. float: right;
  41. }
  42. a {
  43. text-decoration: none;
  44. }
  45. ul,
  46. ol,
  47. li {
  48. list-style: none;
  49. }
  50. .inner {
  51. width: 1200px;
  52. margin: 0 auto;
  53. }
  54. /* //inner下的左右侧标题样式 */
  55. .innerLeft,
  56. .innerRight {
  57. float: left;
  58. }
  59. .innerLeft {
  60. width: 790px;
  61. margin-right: 20px;
  62. }
  63. .innerLeft>.title {
  64. width: 790px;
  65. }
  66. .innerLeft>.title>h3 {
  67. height: 36px;
  68. font-family: Source Han Sans, Source Han Sans;
  69. font-weight: bold;
  70. font-size: 24px;
  71. color: #000000;
  72. line-height: 28px;
  73. text-align: left;
  74. font-style: normal;
  75. text-transform: none;
  76. border-bottom: 1px solid #139602;
  77. }
  78. .innerLeft>.title>h3>span {
  79. float: right;
  80. width: 56px;
  81. height: 20px;
  82. line-height: 24px;
  83. font-weight: 400;
  84. font-size: 14px;
  85. color: #999999;
  86. font-style: normal;
  87. text-transform: none;
  88. }
  89. .innerRight {
  90. width: 390px;
  91. }
  92. .innerRight>.title>h3 {
  93. height: 36px;
  94. font-family: Source Han Sans, Source Han Sans;
  95. font-weight: bold;
  96. font-size: 24px;
  97. color: #000000;
  98. line-height: 28px;
  99. text-align: left;
  100. font-style: normal;
  101. text-transform: none;
  102. border-bottom: 1px solid #139602;
  103. }
  104. .innerRight>.title>h3>span {
  105. float: right;
  106. width: 56px;
  107. height: 20px;
  108. line-height: 24px;
  109. font-weight: 400;
  110. font-size: 14px;
  111. color: #999999;
  112. font-style: normal;
  113. text-transform: none;
  114. }