style.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. -webkit-box-sizing: border-box;
  5. box-sizing: border-box;
  6. }
  7. body {
  8. height: 2800px;
  9. }
  10. body hr {
  11. margin: 20px;
  12. }
  13. #banner {
  14. width: 100vw;
  15. height: 500px;
  16. }
  17. .marquee {
  18. margin: 100px auto;
  19. height: 100px;
  20. width: 1000px;
  21. overflow: hidden;
  22. position: relative;
  23. font-size: 48px;
  24. }
  25. .marquee #marquee-box {
  26. display: block;
  27. width: 200%;
  28. height: 75px;
  29. position: absolute;
  30. overflow: hidden;
  31. -webkit-animation: marquee 5s linear infinite;
  32. animation: marquee 5s linear infinite;
  33. }
  34. .marquee #marquee-box .span {
  35. float: left;
  36. width: 50%;
  37. }
  38. @-webkit-keyframes marquee {
  39. 0% {
  40. left: 0;
  41. }
  42. 100% {
  43. left: -100%;
  44. }
  45. }
  46. @keyframes marquee {
  47. 0% {
  48. left: 0;
  49. }
  50. 100% {
  51. left: -100%;
  52. }
  53. }
  54. #tag {
  55. width: 100vw;
  56. text-align: center;
  57. }
  58. #tag .btn {
  59. padding: 15px;
  60. width: 150px;
  61. margin: 10px;
  62. background-color: #CE0000;
  63. border-radius: 10px;
  64. font-size: 24px;
  65. color: #fff;
  66. border: none;
  67. }
  68. #Search-result .result-box {
  69. margin: 50px auto;
  70. width: 700px;
  71. display: -ms-grid;
  72. display: grid;
  73. -ms-grid-columns: (1fr)[2];
  74. grid-template-columns: repeat(2, 1fr);
  75. grid-gap: 10px;
  76. }
  77. #Search-result .result-box h1 {
  78. margin: 10px;
  79. }
  80. #Search-result .result-box p {
  81. padding: 15px 0;
  82. margin: 10px;
  83. }
  84. #Search-result .result-box span {
  85. padding: 0px 10px;
  86. }
  87. #logo {
  88. width: 100vw;
  89. text-align: center;
  90. }
  91. @media screen and (max-width: 1024px) {
  92. #logo {
  93. width: 80vw;
  94. margin: 0 auto;
  95. }
  96. }
  97. #logo .logo {
  98. padding: 15px;
  99. width: 150px;
  100. margin: 10px;
  101. background-color: #CE0000;
  102. border-radius: 10px;
  103. font-size: 24px;
  104. color: #fff;
  105. border: none;
  106. }
  107. #news {
  108. display: -ms-grid;
  109. display: grid;
  110. -ms-grid-columns: (1fr)[3];
  111. grid-template-columns: repeat(3, 1fr);
  112. margin: 50px;
  113. grid-gap: 30px;
  114. }
  115. #news h1 {
  116. margin-bottom: 10px;
  117. }
  118. #news a {
  119. margin-top: 20px;
  120. line-height: 1.5;
  121. display: inline-block;
  122. }
  123. #footer {
  124. text-align: center;
  125. line-height: 2;
  126. }
  127. /*# sourceMappingURL=style.css.map */