style.scss 11 KB

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