style.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  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. #fb-button{
  284. margin-top: 12px;
  285. width: 29vw;
  286. height: 50px;
  287. border: 1px solid #3b5998;
  288. text-align: right;
  289. padding-right: 50px;
  290. background-size: 32px 32px;
  291. border-radius: 3px;
  292. background-color: #fff;
  293. transition: 0.3s;
  294. position: relative;
  295. p{
  296. line-height: 40px;
  297. }
  298. img {
  299. position: absolute;
  300. left: 50px;
  301. top: 7px;
  302. width: 32px;
  303. height: 32px;
  304. filter: invert(29%) sepia(70%) saturate(712%) hue-rotate(186deg) brightness(89%) contrast(81%);
  305. }
  306. &:hover {
  307. background-color: #2a4f91;
  308. color: #fff;
  309. img {
  310. filter: invert(100%) sepia(100%) saturate(19%) hue-rotate(334deg) brightness(106%)
  311. contrast(106%);
  312. }
  313. }
  314. }
  315. a {
  316. text-decoration: none;
  317. color: #ee751b;
  318. font-weight: 900;
  319. }
  320. #checkbox {
  321. margin: 15px;
  322. }
  323. #email,
  324. #name,
  325. #phone {
  326. background: none;
  327. background-color: #fff;
  328. }
  329. }
  330. }
  331. .btn {
  332. margin: 50px auto;
  333. border: none;
  334. padding: 15px;
  335. background: #edbc96;
  336. color: #4b515e;
  337. font-size: 20px;
  338. width: 450px;
  339. border-radius: 10px;
  340. &:hover {
  341. color: #fff;
  342. background-color: #745c54;
  343. }
  344. }
  345. .form-btn {
  346. text-align: center;
  347. position: relative;
  348. width: 75vw;
  349. margin: 0 auto;
  350. #phone {
  351. position: absolute;
  352. left: 500px;
  353. }
  354. }
  355. }
  356. #feedback {
  357. width: 100vw;
  358. padding-bottom: 200px;
  359. h1 {
  360. margin-top: 50px;
  361. margin-bottom: 50px;
  362. }
  363. #feedback-box {
  364. width: 80vw;
  365. margin: 0 auto;
  366. display: grid;
  367. grid-template-columns: repeat(3, 1fr);
  368. .box {
  369. width: 25vw;
  370. transition: 0.5s;
  371. text-align: center;
  372. padding-bottom: 1vw;
  373. position: relative;
  374. .play {
  375. position: absolute;
  376. left: 12vw !important;
  377. top: 5vw !important;
  378. width: 3vw;
  379. height: 3vw;
  380. opacity: 0.8;
  381. z-index: 10;
  382. }
  383. img {
  384. width: 25vw;
  385. margin: 0 auto;
  386. object-fit: cover;
  387. transition: 0.5s;
  388. // &:hover {
  389. // width: 400px;
  390. // height: 200px;
  391. // }
  392. }
  393. p {
  394. text-align: center;
  395. font-size: 18px;
  396. font-weight: 600;
  397. margin: 10px;
  398. }
  399. }
  400. }
  401. }
  402. #footer {
  403. width: 100vw;
  404. background-color: #ebe6e2;
  405. color: #9f5000;
  406. text-align: center;
  407. font-size: 18px;
  408. line-height: 130px;
  409. a {
  410. text-decoration: none;
  411. color: #9f5000;
  412. }
  413. p {
  414. display: inline;
  415. }
  416. }