style.scss 11 KB

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