styles.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  1. @import url('https://fonts.googleapis.com/css?family=PT+Sans');
  2. html {
  3. font-size: 10px;
  4. }
  5. body {
  6. margin: 0;
  7. padding: 0;
  8. font-family: 'PT Sans', helvetica, sans-serif;
  9. color: #909090;
  10. background: #fff;
  11. font-weight: normal;
  12. }
  13. .container {
  14. margin: 0 auto;
  15. max-width: 1024px;
  16. }
  17. .clearfix::after {
  18. content: "";
  19. clear: both;
  20. display: block;
  21. }
  22. h1, h2 {
  23. color: #6f7173;
  24. font-weight: normal;
  25. }
  26. h1 {
  27. font-size: 3.6rem;
  28. color: #6f7173;
  29. }
  30. h2 {
  31. font-size: 3rem;
  32. margin: 0;
  33. }
  34. h3 {
  35. font-size: 2.4rem;
  36. color: #5094f2;
  37. font-weight: normal;
  38. }
  39. p {
  40. color: #909090;
  41. }
  42. header {
  43. height: 104px;
  44. padding: 24px 30px 0px;
  45. }
  46. header a {
  47. float: left;
  48. }
  49. header form {
  50. float: right;
  51. }
  52. header form #search {
  53. height: 40px;
  54. width: 390px;
  55. background-color: #f3f3f3;
  56. border: 1px solid #e5e5e5;
  57. font-size: 1.6rem;
  58. color: #c7c5c5;
  59. font-family: 'PT Sans', helvetica, sans-serif;
  60. outline: none;
  61. }
  62. input::-webkit-input-placeholder {
  63. color: #c7c5c5;
  64. padding-left: 10px;
  65. }
  66. header form label {
  67. font-size: 30px;
  68. color: #c7c5c5;
  69. }
  70. header form label i {
  71. position: relative;
  72. top: 4px;
  73. }
  74. header form #search-btn {
  75. display: none;
  76. }
  77. section.banner {
  78. background: #2f3943;
  79. margin-top: -26px;
  80. }
  81. section.banner img {
  82. width: 100%;
  83. }
  84. section.circles {
  85. padding-top: 80px;
  86. }
  87. section.circles .circle-flex {
  88. display: flex;
  89. justify-content: space-between;
  90. }
  91. section.circles .circle-item {
  92. width: 33%;
  93. display: flex;
  94. flex-direction: column;
  95. text-align: center;
  96. }
  97. section.circles .circle-item i {
  98. position: relative;
  99. }
  100. section.circles .circle-item i::after {
  101. content: "";
  102. position: absolute;
  103. width: 186px;
  104. height: 186px;
  105. background-color: #d94748;
  106. border-radius: 50%;
  107. right: -45px;
  108. bottom: -40px;
  109. z-index: -1;
  110. }
  111. section.circles .circle-item:nth-child(1) i::after {
  112. background-color: #5094f2;
  113. }
  114. section.circles .circle-item:nth-child(2) i::after {
  115. background-color: #d94748;
  116. right: -35px;
  117. bottom: -43px;
  118. }
  119. section.circles .circle-item:nth-child(3) i::after {
  120. background-color: #ebbb11;
  121. right: -49px;
  122. bottom: -43px;
  123. }
  124. section.circles .icon {
  125. font-size: 100px;
  126. color: #fff;
  127. }
  128. section.circles h3 {
  129. margin-top: 50px;
  130. margin-bottom: 0px;
  131. }
  132. section.circles p {
  133. margin-top: 5px;
  134. font-size: 1.6em;
  135. padding: 0 20px;
  136. }
  137. section.shopping-cart {
  138. padding-bottom: 60px;
  139. }
  140. section.shopping-cart .shop-flex {
  141. display: flex;
  142. justify-content: space-between;
  143. }
  144. section.shopping-cart .shop-img {
  145. width: 50%;
  146. padding-top: 25px;
  147. padding-left: 25px;
  148. }
  149. section.shopping-cart .shop-img a{
  150. color: #4364a1;
  151. font-size: 200px;
  152. }
  153. section.shopping-cart .shop-text {
  154. width: 50%;
  155. }
  156. section.shopping-cart p {
  157. font-size: 1.6rem;
  158. line-height: 36px;
  159. }
  160. footer {
  161. padding: 30px 0 40px;
  162. border-top: 1px solid #e5e5e5;
  163. color: #909090;
  164. text-align: center;
  165. font-size: 1.4rem;
  166. }
  167. @media screen and (max-width: 769px) {
  168. header {
  169. height: 89px;
  170. padding-top: 22px;
  171. padding-bottom: -12px;
  172. }
  173. header form #search {
  174. width: 200px;
  175. }
  176. section.circles .circle-item i::after {
  177. width: 136px;
  178. height: 136px;
  179. }
  180. section.circles {
  181. padding: 32px 0px 18px;
  182. }
  183. section.circles .icon {
  184. font-size: 80px;
  185. }
  186. section.circles .circle-flex {
  187. flex-direction: column;
  188. }
  189. section.circles .circle-item {
  190. padding: 0 30px;
  191. flex-direction: row;
  192. width: 100%;
  193. justify-content: space-around;
  194. padding-bottom: 40px;
  195. border-bottom: 1px solid #CCCCCC;
  196. }
  197. section.circles .circle-text {
  198. text-align: left;
  199. max-width: 70%;
  200. }
  201. section.circles .circle-text p{
  202. font-size: 2rem;
  203. }
  204. section.circles .circle-text h3{
  205. padding-left: 20px;
  206. margin-top: 10px;
  207. font-size: 3.6rem;
  208. color: #5094f2;
  209. }
  210. section.circles .circle-flex {
  211. flex-direction: column;
  212. }
  213. section.circles .circle-item:nth-child(1) i::after {
  214. right: -29px;
  215. bottom: -23px;
  216. }
  217. section.circles .circle-item:nth-child(2) i::after {
  218. right: -20px;
  219. bottom: -30px;
  220. }
  221. section.circles .circle-item:nth-child(3) i::after {
  222. right: -35px;
  223. bottom: -30px;
  224. }
  225. section.circles .circle-item:nth-child(3) i {
  226. margin-left: 13px;
  227. }
  228. .circle-item {
  229. margin: 20px 0;
  230. }
  231. .shop-flex {
  232. flex-direction: column;
  233. align-items: center;
  234. text-align: center;
  235. }
  236. section.shopping-cart .header-h1{
  237. text-align: center;
  238. }
  239. .shop-img {
  240. width: 100%!important;
  241. }
  242. .shop-text {
  243. width: 100%!important;
  244. }
  245. .shop-text p{
  246. text-align: left;
  247. padding-left: 40px;
  248. }
  249. .shopping-cart h1{
  250. font-size: 4.8rem;
  251. margin: 0px;
  252. }
  253. .shop-img a {
  254. font-size: 160px;
  255. }
  256. .h2-header {
  257. text-align: left;
  258. }
  259. h2 {
  260. margin-left: 40px;
  261. font-size: 3.6rem;
  262. }
  263. .shop-text p {
  264. line-height: 34px;
  265. font-size: 1.8rem;
  266. }
  267. footer {
  268. font-size: 1.6rem;
  269. }
  270. }
  271. .slider {
  272. position: relative;
  273. width: 100%;
  274. height: 500px;
  275. overflow: hidden;
  276. }
  277. .slides {
  278. display: flex;
  279. flex-direction: row;
  280. width: 100%;
  281. }
  282. .slider .slide {
  283. text-align: center;
  284. display: inline-block;
  285. width: 80%;
  286. position: absolute;
  287. left: 100px;
  288. }
  289. .slider .slide h1 {
  290. color: #fff;
  291. font-weight: 900;
  292. font-size: 3.2rem;
  293. margin-top: 160px;
  294. margin-bottom: 45px;
  295. font-family: 'Playfair Display', sans-serif;
  296. }
  297. .slider .slide h1::after {
  298. content: "";
  299. height: 1px;
  300. width: 50px;
  301. background-color: #00e0d0;
  302. display: block;
  303. position: relative;
  304. left: 350px;
  305. top: 20px;
  306. }
  307. .slider .slide p {
  308. color: #fff;
  309. line-height: 24px;
  310. }
  311. .slider .slide input[type="button"] {
  312. background: none;
  313. border: 1px solid #00e0d0;
  314. padding: 10px 15px;
  315. color: #00e0d0;
  316. font-family: 'Hammersmith One', sans-serif;
  317. font-size: 1.6rem;
  318. margin-top: 40px;
  319. }
  320. .slider .arrows img{
  321. position: absolute;
  322. z-index: 1;
  323. height: 30px;
  324. width: 30px;
  325. }
  326. .slider .arrows img:first-child {
  327. top: 50%;
  328. }
  329. .slider .arrows img:last-child {
  330. top: 50%;
  331. right: 0;
  332. }
  333. .slider {
  334. max-height: 454px;
  335. }