style.scss 14 KB

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