style.scss 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. font-family: 微軟正黑體;
  6. }
  7. $Font-color: #fff;
  8. @font-face {
  9. font-family: 追奇手寫體;
  10. src: url(./drechifont-proportional.ttf);
  11. font-weight: 900;
  12. }
  13. body {
  14. height: 5300px;
  15. .btn-main {
  16. box-shadow: 0 10px 9px rgba(0, 0, 0, 0.5);
  17. border: none;
  18. padding: 15px;
  19. background: rgb(64, 72, 84);
  20. color: $Font-color;
  21. font-size: 16px;
  22. font-weight: 600;
  23. width: 280px;
  24. border-radius: 30px;
  25. transition: 0.3s;
  26. &:hover {
  27. background-color: #927368;
  28. width: 285px;
  29. font-size: 17px;
  30. }
  31. }
  32. .title {
  33. font-weight: bolder;
  34. padding: 15px;
  35. font-family: "Times New Roman", Times, serif;
  36. padding: 15px;
  37. margin-left: 190px;
  38. font-size: 50px;
  39. color: rgb(65, 72, 84);
  40. }
  41. }
  42. // banner
  43. #banner {
  44. width: 100vw;
  45. height: 100vh;
  46. background-image: url(./img/001.jpg);
  47. background-size: cover;
  48. background-repeat: no-repeat;
  49. background-position: center;
  50. margin-bottom: 150px;
  51. #text {
  52. text-align: center;
  53. margin-top: 260px;
  54. h1 {
  55. padding: 15px;
  56. color: $Font-color;
  57. font-family: 追奇手寫體;
  58. font-size: 72px;
  59. }
  60. .btn-main {
  61. box-shadow: 0 10px 9px rgba(0, 0, 0, 0.5);
  62. border: none;
  63. padding: 15px;
  64. background: rgb(64, 72, 84);
  65. color: $Font-color;
  66. font-size: 16px;
  67. font-weight: 600;
  68. width: 280px;
  69. border-radius: 30px;
  70. transition: 0.3s;
  71. &:hover {
  72. background-color: #927368;
  73. width: 285px;
  74. font-size: 17px;
  75. }
  76. }
  77. }
  78. .Navigation {
  79. width: 100vw;
  80. height: 50px;
  81. display: grid;
  82. grid-template-columns: 2fr 4fr;
  83. .logo {
  84. padding-left: 100px;
  85. img{
  86. width: 200px;
  87. }
  88. }
  89. .link {
  90. text-align: right;
  91. padding: 30px;
  92. padding-right: 150px;
  93. a {
  94. text-decoration: none;
  95. color: $Font-color;
  96. padding-right: 40px;
  97. }
  98. hr {
  99. width: 100px;
  100. background: #fff;
  101. height: 3px;
  102. }
  103. }
  104. }
  105. hr {
  106. margin-top: 30px;
  107. margin-left: 100px;
  108. background: $Font-color;
  109. height: 2px;
  110. width: 1390px;
  111. }
  112. }
  113. // content1
  114. #content1 {
  115. display: grid;
  116. grid-template-columns: 1fr 1fr;
  117. margin: 50px 120px;
  118. width: 80vw;
  119. .content1-left {
  120. width: 510x;
  121. height: 700px;
  122. text-align: left;
  123. margin: 30px auto;
  124. padding: 10px;
  125. #left-title {
  126. margin-top: -10px;
  127. padding: 10px;
  128. margin-bottom: 50px;
  129. font-weight: bolder;
  130. font-size: 50px;
  131. font-family: "Times New Roman", Times, serif;
  132. color: rgb(65, 72, 84);
  133. }
  134. .left {
  135. display: grid;
  136. grid-template-columns: 1fr 4fr;
  137. grid-gap: 10px;
  138. padding: 5px;
  139. width: 500px;
  140. .title1 {
  141. padding: 10px;
  142. text-align: center;
  143. font-size: 96px;
  144. font-weight: 400;
  145. font-family: "Times New Roman", Times, serif;
  146. color: rgb(133, 147, 164);
  147. }
  148. .text {
  149. margin-top: 40px;
  150. p {
  151. font-size: 24px;
  152. font-weight: bold;
  153. color: rgb(63, 70, 84);
  154. }
  155. }
  156. }
  157. }
  158. .content1-right {
  159. margin-left: 70px;
  160. img {
  161. width: 550px;
  162. height: 680px;
  163. object-fit: cover;
  164. }
  165. }
  166. }
  167. // service
  168. #service {
  169. width: 100vw;
  170. margin: 0 auto;
  171. h1 {
  172. padding: 15px;
  173. margin-left: 190px;
  174. margin-bottom: 80px;
  175. }
  176. #service-text {
  177. display: grid;
  178. grid-template-columns: 1fr 1fr;
  179. width: 80vw;
  180. height: 200px;
  181. grid-gap: 50px;
  182. margin: 20px 250px;
  183. .icon-text {
  184. width: 450px;
  185. margin-left: 50px;
  186. margin-top: 15px;
  187. font-weight: 600;
  188. }
  189. img {
  190. width: 128px;
  191. height: 128px;
  192. }
  193. p {
  194. font-size: 18px;
  195. line-height: 1.5;
  196. }
  197. #text-left {
  198. width: 30vw;
  199. text-align: left;
  200. display: grid;
  201. grid-template-columns: 1fr 1fr;
  202. }
  203. #text-right {
  204. width: 30vw;
  205. text-align: left;
  206. display: grid;
  207. grid-template-columns: 1fr 1fr;
  208. }
  209. }
  210. #service-img {
  211. width: 80vw;
  212. margin: 0 auto;
  213. display: grid;
  214. grid-template-columns: 1fr 1fr;
  215. grid-gap: 10px;
  216. img {
  217. width: 40vw;
  218. height: 40vh;
  219. object-fit: cover;
  220. }
  221. }
  222. .btn {
  223. text-align: center;
  224. margin-bottom: 100px;
  225. }
  226. }
  227. // service-process
  228. #service-process {
  229. width: 100vw;
  230. height: 80vh;
  231. background-color: #eee;
  232. h1 {
  233. padding: 15px;
  234. margin-left: 190px;
  235. padding-top: 100px;
  236. margin-bottom: 80px;
  237. }
  238. #process-box {
  239. display: grid;
  240. grid-template-columns: repeat(6, 1fr);
  241. width: 80vw;
  242. margin: 0 auto;
  243. p {
  244. text-align: center;
  245. font-size: 18px;
  246. font-weight: 600;
  247. padding-right: 30px;
  248. }
  249. img {
  250. width: 205px;
  251. height: 205px;
  252. }
  253. }
  254. }
  255. // feedback
  256. #feedback {
  257. margin-bottom: 200px;
  258. h1 {
  259. margin-top: 50px;
  260. margin-bottom: 50px;
  261. }
  262. #feedback-box {
  263. width: 1200px;
  264. height: 400px;
  265. margin: 0 auto;
  266. display: grid;
  267. grid-template-columns: repeat(3, 1fr);
  268. grid-gap: 15px;
  269. .box {
  270. p {
  271. text-align: center;
  272. font-size: 18px;
  273. font-weight: 600;
  274. }
  275. img {
  276. width: 390px;
  277. height: 195px;
  278. object-fit: cover;
  279. }
  280. }
  281. }
  282. }
  283. #contact-us {
  284. margin: 0 auto;
  285. width: 100vw;
  286. height: 130vh;
  287. background: #eee;
  288. p {
  289. font-size: 16px;
  290. font-weight: 600;
  291. padding-left: 350px;
  292. margin: 0px 10px;
  293. line-height: 1.5;
  294. }
  295. #form-title {
  296. padding-top: 100px;
  297. margin-bottom: 50px;
  298. color: #5c5248;
  299. }
  300. h1 {
  301. text-align: center;
  302. font-size: 32px;
  303. margin-right: 50px;
  304. }
  305. #contact-form {
  306. margin: 0 350px;
  307. width: 1000px;
  308. display: grid;
  309. grid-template-columns: repeat(2, 1fr);
  310. margin-top: 10px;
  311. #location,
  312. #type,
  313. #modal,
  314. #budget,
  315. #square,
  316. #style,
  317. #date,
  318. #email,
  319. #name,
  320. #phone,
  321. #gender {
  322. width: 100%;
  323. height: 50px;
  324. margin: 10px 0;
  325. padding-left: 10px;
  326. border: 1px solid rgba(0, 0, 0, 0.3);
  327. font-size: 18px;
  328. appearance: none;
  329. background: url(./img/icondown.png) 95% 50% no-repeat scroll transparent;
  330. background-size: 10px 10px;
  331. background-color: #fff;
  332. }
  333. #form-left {
  334. width: 380px;
  335. #rooms,
  336. #livingroom,
  337. #bathroom {
  338. width: 32.5%;
  339. height: 50px;
  340. margin: 15px 0;
  341. padding: 5px;
  342. font-size: 18px;
  343. appearance: none;
  344. background: url(./img/icondown.png) 85% 50% no-repeat scroll transparent;
  345. background-size: 10px 10px;
  346. background-color: #fff;
  347. }
  348. }
  349. #form-right {
  350. width: 380px;
  351. #facebook {
  352. margin-top: 12px;
  353. width: 380px;
  354. height: 50px;
  355. border: 1px solid #000093;
  356. text-align: right;
  357. padding-right: 50px;
  358. line-height: 50px;
  359. // background: url(./img/facebook.png) 10% 50% no-repeat scroll transparent;
  360. // background-size: 32px 32px;
  361. background-color: #fff;
  362. transition: 0.3s;
  363. position: relative;
  364. img{
  365. position: absolute;
  366. left:50px;
  367. top:7px;
  368. width: 32px;
  369. height: 32px;
  370. }
  371. &:hover{
  372. background-color: #2A4F91;
  373. color:#fff;
  374. img{
  375. filter: invert(100%) sepia(100%) saturate(19%) hue-rotate(334deg) brightness(106%) contrast(106%);
  376. }
  377. }
  378. }
  379. a {
  380. text-decoration: none;
  381. color: #ff8000;
  382. }
  383. #checkbox {
  384. margin: 15px;
  385. }
  386. #email,
  387. #name,
  388. #phone {
  389. background: none;
  390. background-color: #fff;
  391. }
  392. }
  393. }
  394. #form {
  395. text-align: center;
  396. position: relative;
  397. #btn {
  398. margin: 50px auto;
  399. border: none;
  400. padding: 15px;
  401. background: #ffaf60;
  402. color: rgb(64, 72, 84);
  403. font-size: 20px;
  404. width: 450px;
  405. border-radius: 10px;
  406. &:hover {
  407. color: #fff;
  408. background-color: #745c54;
  409. }
  410. }
  411. #phone {
  412. position: absolute;
  413. left: 500px;
  414. }
  415. }
  416. }
  417. #footer {
  418. width: 100vw;
  419. height: 130px;
  420. background-color: #ffe4ca;
  421. color: #9f5000;
  422. text-align: center;
  423. font-size: 18px;
  424. line-height: 130px;
  425. a {
  426. text-decoration: none;
  427. color: #9f5000;
  428. }
  429. p {
  430. display: inline;
  431. }
  432. }