style.scss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. $desktop: 1025px;
  7. $table: 1024px;
  8. $moblie: 767px;
  9. @font-face {
  10. font-family: 追奇手寫體;
  11. src: url(./drechifont-proportional.ttf);
  12. font-weight: 900;
  13. }
  14. $Font-color: #fff;
  15. body {
  16. height: 6000px;
  17. .title {
  18. font-weight: bolder;
  19. padding: 15px;
  20. font-family: "Times New Roman", Times, serif;
  21. font-size: 36px;
  22. color: rgb(65, 72, 84);
  23. text-align: center;
  24. @media screen and(max-width:$table) {
  25. font-size: 48px;
  26. }
  27. @media screen and(max-width:$moblie) {
  28. font-size: 34px;
  29. }
  30. }
  31. .btn {
  32. text-align: center;
  33. margin-top: 20px;
  34. }
  35. .btn-main {
  36. box-shadow: 0 10px 9px rgba(0, 0, 0, 0.5);
  37. border: none;
  38. padding: 15px;
  39. background: rgb(64, 72, 84);
  40. color: $Font-color;
  41. font-size: 16px;
  42. font-weight: 600;
  43. width: 280px;
  44. border-radius: 30px;
  45. transition: 0.3s;
  46. margin-top: 50px;
  47. &:hover {
  48. background-color: #927368;
  49. width: 285px;
  50. font-size: 17px;
  51. }
  52. @media screen and(max-width:$table) {
  53. font-size: 20px;
  54. padding: 20px;
  55. }
  56. }
  57. }
  58. .navigation {
  59. width: auto;
  60. height: 60px;
  61. box-shadow: 0 5px 9px rgba(0, 0, 0, 0.3);
  62. position: relative;
  63. z-index: 5;
  64. .logo {
  65. padding: 10px;
  66. margin-bottom: 5px;
  67. img {
  68. width: 128px;
  69. }
  70. }
  71. #menu-btn1 {
  72. position: absolute;
  73. right: 40px;
  74. top: 15px;
  75. width: 32px;
  76. height: 32px;
  77. z-index: 6;
  78. }
  79. }
  80. #banner-box {
  81. height: 45vh;
  82. @media screen and(max-width:$moblie) {
  83. height: 50vh;
  84. }
  85. .banner-slider {
  86. .banner1,
  87. .banner2,
  88. .banner3 {
  89. width: 100vw;
  90. height: 50vh;
  91. background-size: contain;
  92. background-repeat: no-repeat;
  93. @media screen and(max-width:$moblie) {
  94. height: 50vh;
  95. background-size: cover;
  96. background-position: 40% 50%;
  97. }
  98. @media screen and(max-width:$table) {
  99. height: 45vh;
  100. }
  101. h1 {
  102. line-height: 40vh;
  103. text-align: center;
  104. padding: 15px;
  105. color: #fff;
  106. font-family: 追奇手寫體;
  107. font-size: 72px;
  108. }
  109. }
  110. .banner1 {
  111. background-image: url(./img/001.jpg);
  112. }
  113. .banner2 {
  114. background-image: url(./img/002.jpg);
  115. }
  116. .banner3 {
  117. background-image: url(./img/003.jpg);
  118. }
  119. }
  120. }
  121. #content1 {
  122. margin-top: 100px;
  123. text-align: center;
  124. .title {
  125. margin: 30px 0px;
  126. font-family: "Times New Roman", Times, serif;
  127. }
  128. .text {
  129. position: relative;
  130. .text2 {
  131. position: absolute;
  132. top: 15vw;
  133. left: 20vw;
  134. z-index: 1;
  135. @media screen and(max-width:$table) {
  136. width: 60vw;
  137. height: 30vw;
  138. }
  139. @media screen and(max-width:$moblie) {
  140. width: 80vw;
  141. left: 10vw;
  142. }
  143. h2 {
  144. line-height: 1.5;
  145. color: #fff;
  146. text-align-last: left;
  147. font-size: 20px;
  148. letter-spacing: 5px;
  149. @media screen and(max-width:$table) {
  150. font-size: 32px;
  151. }
  152. @media screen and(max-width:$moblie) {
  153. font-size: 24px;
  154. }
  155. }
  156. }
  157. }
  158. img {
  159. margin: 15px auto;
  160. width: 70vw;
  161. height: 30vh;
  162. object-fit: cover;
  163. filter: brightness(70%);
  164. @media screen and(max-width:$moblie) {
  165. width: 85vw;
  166. }
  167. }
  168. }
  169. #service {
  170. width: 90vw;
  171. margin: 0 auto;
  172. h1 {
  173. margin: 50px;
  174. @media screen and(max-width:$moblie) {
  175. font-size: 36px;
  176. }
  177. }
  178. .service-box {
  179. display: grid;
  180. grid-template-columns: repeat(2, 1fr);
  181. width: 80vw;
  182. height: 35vh;
  183. @media screen and(max-width:$moblie) {
  184. width: 70vw;
  185. height: 40vh;
  186. }
  187. @media screen and(max-width:$table) {
  188. width: 70vw;
  189. margin: 15px;
  190. }
  191. .text-left {
  192. height: 25vh;
  193. width: 30vw;
  194. background: #eee;
  195. text-align: left;
  196. @media screen and(max-width:$table) {
  197. width: 40vw;
  198. height: 32vh;
  199. }
  200. @media screen and(max-width:$moblie) {
  201. text-align: left;
  202. width: 50vw;
  203. }
  204. .icon-text {
  205. width: 40vw;
  206. margin: 15px auto;
  207. @media screen and(max-width:$moblie) {
  208. margin: 10px auto;
  209. font-size: 15px;
  210. }
  211. @media screen and(max-width:$table) {
  212. font-size: 24px;
  213. margin-left: 40px;
  214. }
  215. p {
  216. font-family: 微軟正黑體;
  217. font-weight: bolder;
  218. font-size: 15px;
  219. line-height: 1.5;
  220. text-align: left;
  221. @media screen and(max-width:$table) {
  222. font-size: 22px;
  223. }
  224. @media screen and(max-width:$moblie) {
  225. font-size: 14px;
  226. }
  227. }
  228. }
  229. img {
  230. margin-top: 30px;
  231. margin-left: 50px;
  232. width: 128px;
  233. height: 128px;
  234. @media screen and(max-width:$table) {
  235. width: 128px;
  236. height: 128px;
  237. margin-top: 10px;
  238. }
  239. @media screen and(max-width:$moblie) {
  240. width: 80px;
  241. height: 80px;
  242. }
  243. }
  244. }
  245. .text-right {
  246. img {
  247. object-fit: cover;
  248. @media screen and(max-width:$table) {
  249. height: 32vh;
  250. width: 40vw;
  251. }
  252. @media screen and(max-width:$moblie) {
  253. width: 40vw;
  254. height: 32vh;
  255. }
  256. }
  257. }
  258. }
  259. }
  260. #service-process {
  261. margin: 0 auto;
  262. width: 60vw;
  263. @media screen and(max-width:$moblie) {
  264. width: 80vw;
  265. }
  266. h1 {
  267. margin-top: 150px;
  268. margin-bottom: 50px;
  269. @media screen and(max-width:$table) {
  270. margin-bottom: 150px;
  271. }
  272. @media screen and(max-width:$moblie) {
  273. font-size: 32px;
  274. }
  275. }
  276. .process-box {
  277. width: 60vw;
  278. display: grid;
  279. margin: 10px auto;
  280. grid-template-columns: repeat(2, 1fr);
  281. @media screen and(max-width:$moblie) {
  282. width: 70vw;
  283. }
  284. }
  285. img {
  286. width: 128px;
  287. height: 128px;
  288. object-fit: cover;
  289. @media screen and(max-width:$table) {
  290. height: 256px;
  291. width: 256px;
  292. }
  293. @media screen and(max-width:$moblie) {
  294. width: 128px;
  295. height: 128px;
  296. }
  297. }
  298. .process-title {
  299. text-align: center;
  300. width: 190px;
  301. @media screen and(max-width:$table) {
  302. width: 30vw;
  303. }
  304. @media screen and(max-width:$table) {
  305. width: 40vw;
  306. }
  307. p {
  308. font-size: 20px;
  309. font-family: 微軟正黑體;
  310. font-weight: bolder;
  311. @media screen and(max-width:$table) {
  312. width: 40vw;
  313. font-size: 38px;
  314. }
  315. @media screen and(max-width:$moblie) {
  316. font-size: 18px;
  317. }
  318. }
  319. img {
  320. margin: 20px;
  321. width: 32px;
  322. height: 32px;
  323. @media screen and(max-width:$table) {
  324. margin-top: 50px;
  325. width: 40px;
  326. height: 40px;
  327. }
  328. @media screen and(max-width:$moblie) {
  329. margin-top: 10px;
  330. }
  331. }
  332. }
  333. }
  334. #feedback {
  335. margin: auto;
  336. width: 70vw;
  337. @media screen and(max-width:$moblie) {
  338. width: 90vw;
  339. }
  340. .feedback-slider1 {
  341. width: 70vw;
  342. @media screen and(max-width:$moblie) {
  343. width: 90vw;
  344. }
  345. }
  346. h1 {
  347. margin-top: 150px;
  348. margin-bottom: 50px;
  349. }
  350. .box {
  351. p {
  352. margin: 20px;
  353. text-align: center;
  354. font-size: 18px;
  355. font-weight: 600;
  356. }
  357. img {
  358. width: 390px;
  359. height: 195px;
  360. object-fit: cover;
  361. @media screen and(max-width:$table) {
  362. width: 70vw;
  363. height: 30vh;
  364. }
  365. @media screen and(max-width:$moblie) {
  366. width: 90vw;
  367. }
  368. }
  369. }
  370. }
  371. #contact-us {
  372. p {
  373. font-size: 16px;
  374. font-weight: 600;
  375. margin: 0px 10px;
  376. @media screen and(max-width:$table) {
  377. font-size: 24px;
  378. text-align: center;
  379. }
  380. @media screen and(max-width:$moblie) {
  381. font-size: 16px;
  382. }
  383. }
  384. #form-title {
  385. padding-top: 100px;
  386. margin-bottom: 50px;
  387. color: #5c5248;
  388. }
  389. #form-text {
  390. margin: 30px auto;
  391. margin-left: 50px;
  392. }
  393. h1 {
  394. text-align: center;
  395. font-size: 24px;
  396. @media screen and(max-width:$table) {
  397. font-size: 36px;
  398. }
  399. @media screen and(max-width:$moblie) {
  400. font-size: 24px;
  401. }
  402. }
  403. #contact-form {
  404. text-align: center;
  405. #location,
  406. #type,
  407. #modal,
  408. #budget,
  409. #square,
  410. #style,
  411. #date,
  412. #email,
  413. #name,
  414. #phone,
  415. #gender,
  416. #rooms,
  417. #livingroom,
  418. #bathroom {
  419. border-radius: 3px;
  420. width: 85%;
  421. height: 60px;
  422. margin: 15px 0;
  423. padding-left: 15px;
  424. border: 1px solid rgba(0, 0, 0, 0.3);
  425. font-size: 18px;
  426. appearance: none;
  427. background: url(./img/icondown.png) 95% 50% no-repeat scroll transparent;
  428. background-size: 10px 10px;
  429. background-color: #fff;
  430. }
  431. #square,
  432. #date,
  433. #email,
  434. #name,
  435. #phone {
  436. font-size: 18px;
  437. width: 85%;
  438. }
  439. #gender {
  440. display: block;
  441. margin: 0 auto;
  442. }
  443. #facebook {
  444. margin: 15px auto;
  445. width: 85vw;
  446. height: 60px;
  447. border: 1px solid #000093;
  448. text-align: right;
  449. // background: url(./img/facebook.png) 10% 50% no-repeat scroll transparent;
  450. // background-size: 32px 32px;
  451. background-color: #fff;
  452. transition: 0.3s;
  453. position: relative;
  454. p {
  455. position: absolute;
  456. right: 30px;
  457. top: 20px;
  458. font-weight: normal;
  459. @media screen and(max-width:$table) {
  460. top: 10px;
  461. }
  462. }
  463. img {
  464. position: absolute;
  465. left: 30px;
  466. top: 15px;
  467. width: 32px;
  468. height: 32px;
  469. }
  470. &:hover {
  471. background-color: #2a4f91;
  472. color: #fff;
  473. img {
  474. filter: invert(100%) sepia(100%) saturate(19%) hue-rotate(334deg) brightness(106%) contrast(106%);
  475. }
  476. }
  477. }
  478. a {
  479. text-decoration: none;
  480. color: #ff8000;
  481. }
  482. #checkbox {
  483. margin-top: 50px;
  484. padding: 20px;
  485. width: 15px;
  486. height: 15px;
  487. }
  488. #email,
  489. #name,
  490. #phone {
  491. background: none;
  492. background-color: #fff;
  493. }
  494. }
  495. #form {
  496. text-align: center;
  497. position: relative;
  498. #btn {
  499. margin: 50px auto;
  500. border: none;
  501. padding: 15px;
  502. background: #ffaf60;
  503. color: rgb(64, 72, 84);
  504. font-size: 20px;
  505. width: 300px;
  506. border-radius: 30px;
  507. &:hover {
  508. color: #fff;
  509. background-color: #745c54;
  510. }
  511. }
  512. #phone {
  513. position: absolute;
  514. left: 500px;
  515. }
  516. }
  517. }
  518. #footer {
  519. margin-top: 50px;
  520. padding-top: 50px;
  521. width: 100vw;
  522. height: 150px;
  523. background-color: #ffe4ca;
  524. color: #9f5000;
  525. text-align: center;
  526. font-size: 16px;
  527. line-height: 2;
  528. a {
  529. text-decoration: none;
  530. color: #9f5000;
  531. }
  532. p {
  533. margin-left: 5px;
  534. display: inline;
  535. }
  536. }
  537. #menu-box {
  538. top: 60px;
  539. height: 45vh;
  540. width: 100vw;
  541. position: fixed;
  542. z-index: 5;
  543. hr {
  544. margin: 30px;
  545. background: #65584c;
  546. }
  547. #menu-box2 {
  548. width: 100vw;
  549. height: 45vh;
  550. background-color: #f4f4f3;
  551. opacity: 0.9;
  552. z-index: 7;
  553. text-align: center;
  554. #menu-link {
  555. display: grid;
  556. grid-template-columns: repeat(3, 1fr);
  557. width: 350px;
  558. margin: 0 auto;
  559. }
  560. .menu-logo {
  561. opacity: 1;
  562. img {
  563. width: 40px;
  564. height: 40px;
  565. filter: invert(34%) sepia(7%) saturate(1111%) hue-rotate(347deg) brightness(98%) contrast(88%);
  566. }
  567. }
  568. a {
  569. display: inline-block;
  570. text-decoration: none;
  571. color: #65584c;
  572. font-size: 16px;
  573. margin-top: 20px;
  574. }
  575. .menu-text {
  576. width: 100vw;
  577. text-align: center;
  578. margin-bottom: 10px;
  579. }
  580. }
  581. }