main.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. html {
  2. font-size: 62.5%;
  3. color: #222;
  4. }
  5. ::selection {
  6. background-color: #b3d4fc;
  7. text-shadow: none;
  8. }
  9. .clearfix:before,
  10. .clearfix:after {
  11. content: "";
  12. display: table;
  13. }
  14. .clearfix:after {
  15. clear: both;
  16. }
  17. body {
  18. font-size: 1.2rem;
  19. line-height: 1.5;
  20. background-color: #CB0907;
  21. }
  22. a {
  23. color: #666;
  24. text-decoration: none;
  25. }
  26. a:hover, a:active {
  27. color: #0ae;
  28. text-decoration: underline;
  29. }
  30. button:focus, input:focus{
  31. outline: 0;
  32. }
  33. header {
  34. width: 100%;
  35. }
  36. header .top {
  37. }
  38. header .top .bottom-img{
  39. width: 100%;
  40. }
  41. /*@media only screen and (min-width: 700px) {*/
  42. /*header .top .center-pic{*/
  43. /*margin-left: 28%;*/
  44. /*width: 44%;*/
  45. /*}*/
  46. /*}*/
  47. /*@media only screen and (min-width: 640px) and (max-width: 700px){*/
  48. @media only screen and (max-width: 450px) {
  49. header .top-font {
  50. color: #CB0907;
  51. position: absolute;
  52. top: 22%;
  53. left: 35%;
  54. }
  55. header .top-font .top-font-m {
  56. font-size: 6rem
  57. }
  58. header .top-font .top-font-s {
  59. font-size: 1rem
  60. }
  61. }
  62. @media only screen and (min-width: 640px) {
  63. body {
  64. background-color: #ffffff;
  65. }
  66. .free-code-con {
  67. width: 620px;margin: 0 auto;padding-bottom: 10px;background-color: #CB0907;
  68. }
  69. header .top .center-pic{
  70. margin-left: 8%;
  71. width: 84%;
  72. position: relative;
  73. }
  74. header .top .center-pic .recv-cont {
  75. width: 100%;
  76. top: -74%;
  77. }
  78. header .top .center-pic .load-menu .tb-codes {
  79. width: 100%;
  80. }
  81. header .top .center-pic .load-menu .code-tip-icon{
  82. width: auto;
  83. }
  84. header .top .center-pic .load-menu .code-tip-font{
  85. font-size: 24px;
  86. padding: 2rem 5rem;
  87. margin: 3rem 2rem 1rem;
  88. }
  89. header .top .top-tip-con{
  90. font-size: 22px;
  91. }
  92. }
  93. @media only screen and (min-width: 350px) and (max-width: 400px) {
  94. header .top .center-pic .recv-cont{
  95. top: -73%!important;
  96. }
  97. }
  98. @media only screen and (max-width: 640px) {
  99. .tip-suc-con {
  100. margin-left: 15%;
  101. }
  102. body {
  103. background-color: #CB0907;
  104. }
  105. header .top .center-pic{
  106. margin-left: 2.5%;
  107. width: 95%;
  108. position: relative;
  109. }
  110. header .top .center-pic .recv-cont {
  111. width: 93%;
  112. left: 3%;
  113. top: -70%;
  114. }
  115. header .top .center-pic .load-menu .tb-codes {
  116. width: 93%;
  117. /*margin-left: 3%;*/
  118. }
  119. header .top .center-pic .load-menu .code-tip-icon{
  120. width: 13%;
  121. }
  122. header .top .center-pic .load-menu .code-tip-font{
  123. font-size: 22px;
  124. padding: 1rem 3rem;
  125. margin: 3rem 1rem 1rem;
  126. }
  127. header .top .top-tip-con{
  128. font-size: 13px;
  129. }
  130. }
  131. /*header .top .center-pic{*/
  132. /*margin-left: 28%;*/
  133. /*width: 44%;*/
  134. /*}*/
  135. header .top .center-pic .recv-cont {
  136. /*background-color: #ffffff;*/
  137. border-radius: 3rem;
  138. /*margin-top: -11rem;*/
  139. /*padding: 3% 8%;*/
  140. position: absolute;
  141. }
  142. @media only screen and (min-width: 700px) {
  143. header .top .center-pic .recv-cont{
  144. margin-bottom: 2rem;
  145. }
  146. }
  147. @media only screen and (min-width: 480px) and (max-width: 700px){
  148. header .top .center-pic .recv-cont{
  149. margin-bottom: 1rem;
  150. }
  151. }
  152. @media only screen and (max-width: 480px) {
  153. header .top .center-pic .recv-cont{
  154. margin-bottom: 1rem;
  155. }
  156. }
  157. header .top .top-tip-con{
  158. position: absolute;
  159. top: 3%;
  160. left: 50%;
  161. transform: translate(-50%,-50%);
  162. color: #FFFFFF
  163. }
  164. header .top .top-tip-con .font-right{
  165. opacity: 0.7;
  166. border-left: rgba(255,255,255,0.71) 1px solid;
  167. padding-left: 1rem;
  168. margin-left: 1rem;
  169. }
  170. header .top .center-pic .recv-cont .recv-ipt{
  171. margin-top: 3rem;
  172. width: 100%;
  173. padding-left: 15%;
  174. border-radius: 7rem;
  175. color: #333333;
  176. background-color: white;
  177. border: none;
  178. }
  179. header .top .center-pic .recv-cont .recv-btn {
  180. font-weight: bold;
  181. background:linear-gradient(360deg,rgba(248,194,58,1) 0%,rgba(255,239,188,1) 100%);
  182. box-shadow:0px 2px 6px 0px rgba(171,6,4,1);
  183. color:rgba(148,62,32,1);
  184. border-radius:50px;
  185. text-align: center;
  186. /*border-radius: 5rem;*/
  187. width: 100%;
  188. margin: 7% 0 0 0;
  189. /*border:none;*/
  190. }
  191. header .top .center-pic .load-menu {
  192. width: 100%;
  193. border-radius: 1rem;
  194. margin-top: 2rem;
  195. padding: 0;
  196. margin-bottom: 2rem;
  197. }
  198. .coupons-item {
  199. color: #FFFFFF;font-size: 18px;text-align: center;display: inline-block;width: 32%;margin: 7px 0;
  200. }
  201. header .top .center-pic .load-menu .code-tip-icon{
  202. display: inline-block;
  203. }
  204. header .top .center-pic .load-menu .code-tip-font{
  205. display: inline-block;
  206. background:linear-gradient(307deg,rgba(240,70,70,1) 0%,rgba(252,145,110,1) 100%);
  207. color: #FFFFFF;
  208. border-radius: 5rem;
  209. letter-spacing:1px;
  210. }
  211. header .top .center-pic .load-menu .tb-codes {
  212. margin: 2rem auto;
  213. border-radius: 3rem;
  214. background-color: rgba(255, 255, 255, 0.2);
  215. }
  216. header .top .center-pic .load-menu .tb-codes .tb-con {
  217. width: 90%;
  218. margin: 0 auto;
  219. padding-top: 8%;
  220. padding-bottom: 3%;
  221. }
  222. header .top .center-pic .load-menu .tb-codes p{
  223. font-size: 20px;
  224. color: rgba(255, 255, 255, 0.81);
  225. margin-bottom: 1%;
  226. }
  227. @media only screen and (max-width: 480px) {
  228. header .top .center-pic .load-menu {
  229. border-radius: 0.5rem;
  230. }
  231. }
  232. header .top .center-pic .load-menu .recv-btn {
  233. border-radius: 5rem;
  234. width: 60%;
  235. margin: 7% 0 7% 19%;
  236. border:none;
  237. background-color: #ffa71c;
  238. color: #1C262E;
  239. }
  240. header .top .center-pic .load-menu .recv-btn a:hover{
  241. color: #ffffff;
  242. text-decoration: none;
  243. }
  244. header .top .center-pic .load-menu .recv-btn a:active{
  245. text-decoration: none;
  246. }
  247. header .top .center-pic .load-menu .recv-btn a:visited{
  248. text-decoration: none;
  249. }
  250. .tip-suc-con {
  251. width: 270px;text-align: center;margin-top: 30vh;
  252. }
  253. .tip-suc-title {
  254. color: #333333;font-size: 18px;font-weight: bold;margin-top: 19px;
  255. }
  256. .tip-suc-context{
  257. text-align: left;border-bottom: 1px solid #EDEEF0;
  258. }
  259. .tip-suc-btn{
  260. margin: 10px 0;
  261. }