style.scss 11 KB

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