style.scss 9.7 KB

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