style.scss 15 KB

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