style.scss 12 KB

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