style.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  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: 20px;
  66. bottom: 100px;
  67. width: 45px;
  68. height: 40px;
  69. z-index: 10;
  70. background-color: #E06649;
  71. &:hover{
  72. box-shadow: 1px 3px 13px -2px rgba(0, 0, 0, 0.35);
  73. }
  74. }
  75. }
  76. #banner-box {
  77. height: 50vh;
  78. overflow: hidden;
  79. position: relative;
  80. @media screen and(max-width:$moblie) {
  81. height: 90vh;
  82. }
  83. @media screen and(max-width:550px) {
  84. height: 100vh;
  85. }
  86. hr {
  87. width: 100vw;
  88. position: absolute;
  89. top: 7vw;
  90. z-index: 5;
  91. height: 2px;
  92. background: #fff;
  93. @media screen and(max-width:$moblie) {
  94. top: 12vw;
  95. }
  96. }
  97. .logo {
  98. padding: 5px;
  99. margin-bottom: 6px;
  100. padding-left: 10px;
  101. position: absolute;
  102. z-index: 5;
  103. img {
  104. width: 128px;
  105. }
  106. @media screen and(max-width:$moblie) {
  107. padding-left: 10px;
  108. }
  109. }
  110. .bannertitlebox {
  111. padding-top: 10vw;
  112. @media screen and(max-width:$moblie) {
  113. padding-top: 20vw;
  114. }
  115. @media screen and(max-width:400px) {
  116. padding-top: 20vw;
  117. }
  118. }
  119. .menu-btn1 {
  120. padding: 10px;
  121. position: absolute;
  122. right: 5px;
  123. z-index: 5;
  124. top: 5px;
  125. img {
  126. margin: 2px;
  127. width: 4vw;
  128. filter: invert(100%) sepia(0%) saturate(10%) hue-rotate(238deg) brightness(104%) contrast(103%);
  129. transition: 0.3s;
  130. &:hover {
  131. filter: none;
  132. }
  133. @media screen and(max-width:$moblie) {
  134. width: 6vw;
  135. }
  136. }
  137. }
  138. .banner1 {
  139. width: 100vw;
  140. height: 50vh;
  141. background-size: contain;
  142. background-repeat: no-repeat;
  143. background-size: 100vw 50vh;
  144. @media screen and(max-width:$moblie) {
  145. height: 80vh;
  146. background-size: 100vw 70vh;
  147. }
  148. .black {
  149. width: 5vw;
  150. display: block;
  151. margin: 1vw auto;
  152. @media screen and(max-width:$moblie) {
  153. width: 10vw;
  154. }
  155. }
  156. .banner-titleh1 {
  157. text-align: center;
  158. color: #fff;
  159. font-size: 30px;
  160. font-weight: bolder;
  161. font-family: 'Noto Serif TC', serif;
  162. }
  163. .process-box {
  164. display: grid;
  165. width: 90vw;
  166. grid-template-columns: repeat(4, 1fr);
  167. margin: 0 auto;
  168. @media screen and(max-width:$moblie) {
  169. grid-template-columns: repeat(2, 1fr);
  170. width: 65vw;
  171. margin: 0 auto;
  172. width: 70vw;
  173. }
  174. .box-text {
  175. font-family: 微軟正黑體;
  176. text-align: center;
  177. font-size: 16px;
  178. font-weight: 900;
  179. color: $Font-color;
  180. @media screen and(max-width:$moblie) {
  181. font-size: 16px;
  182. }
  183. @media screen and(max-width:400px) {
  184. font-size: 12px;
  185. }
  186. }
  187. img {
  188. display: block;
  189. margin: 0 auto;
  190. width: 15vw;
  191. @media screen and(max-width:$moblie) {
  192. width: 30vw;
  193. }
  194. }
  195. }
  196. @media screen and(max-width:$moblie) {
  197. height: 90vh;
  198. background-size: cover;
  199. background-position: center center;
  200. }
  201. @media screen and(max-width:$table) {
  202. height: 90vh;
  203. }
  204. }
  205. .banner1 {
  206. background-image: url(./img/banner/001.webp);
  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/icondown1.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. }
  351. #email,
  352. #name,
  353. #phone {
  354. background: none;
  355. background-color: #fff;
  356. }
  357. .option {
  358. width: 85%;
  359. }
  360. }
  361. #form {
  362. text-align: center;
  363. position: relative;
  364. #phone {
  365. position: absolute;
  366. left: 500px;
  367. }
  368. }
  369. }
  370. #feedback {
  371. margin: auto;
  372. width: 70vw;
  373. padding-bottom: 100px;
  374. @media screen and(max-width:$moblie) {
  375. width: 90vw;
  376. }
  377. .feedback-slider1 {
  378. width: 70vw;
  379. @media screen and(max-width:$moblie) {
  380. width: 90vw;
  381. }
  382. }
  383. h1 {
  384. margin-top: 50px;
  385. }
  386. .box {
  387. position: relative;
  388. p {
  389. margin: 20px;
  390. text-align: center;
  391. font-size: 18px;
  392. font-weight: 600;
  393. }
  394. img {
  395. width: 390px;
  396. height: 195px;
  397. object-fit: cover;
  398. @media screen and(max-width:$table) {
  399. width: 70vw;
  400. height: 30vh;
  401. }
  402. @media screen and(max-width:$moblie) {
  403. width: 90vw;
  404. }
  405. }
  406. .play {
  407. position: absolute;
  408. left: 40vw;
  409. top: 25vw;
  410. width: 15vw;
  411. height: 15vw;
  412. opacity: 0.8;
  413. z-index: 10;
  414. }
  415. }
  416. }
  417. #footer {
  418. margin-top: 50px;
  419. padding-top: 50px;
  420. width: 100vw;
  421. height: 150px;
  422. background-color: #ebe6e2;
  423. color: $title-color;
  424. text-align: center;
  425. font-size: 16px;
  426. line-height: 2;
  427. font-weight: 900;
  428. a {
  429. text-decoration: none;
  430. color: $title-color;
  431. }
  432. p {
  433. margin-left: 5px;
  434. display: inline;
  435. }
  436. }