style.scss 11 KB

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