style.scss 10 KB

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