style.scss 11 KB

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