style.scss 11 KB

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