style.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467
  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: 3vw;
  66. bottom: 50px;
  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: 25vw;
  114. }
  115. @media screen and(max-width:400px) {
  116. padding-top: 25vw;
  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 80vh;
  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: 35px;
  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: 100vh;
  198. background-size: cover;
  199. background-position: center center;
  200. }
  201. }
  202. .banner1 {
  203. background-image: url(./img/banner/001.webp);
  204. }
  205. }
  206. #contact-us {
  207. padding-top: 50px;
  208. p {
  209. font-size: 16px;
  210. font-weight: 600;
  211. margin: 0px 10px;
  212. color: #5c5248;
  213. @media screen and(max-width:$table) {
  214. font-size: 24px;
  215. text-align: center;
  216. }
  217. @media screen and(max-width:$moblie) {
  218. font-size: 16px;
  219. }
  220. }
  221. #form-title {
  222. margin-bottom: 50px;
  223. }
  224. #form-text {
  225. width: 100vw;
  226. margin: 30px auto;
  227. @media screen and(max-width:$table) {
  228. font-size: 24px;
  229. text-align: center;
  230. margin: 30px auto;
  231. }
  232. @media screen and(max-width:$moblie) {
  233. font-size: 16px;
  234. margin: 30px auto;
  235. }
  236. }
  237. h1 {
  238. text-align: center;
  239. font-family: 'Noto Serif TC', serif;
  240. color:$title-color;
  241. font-weight: bolder;
  242. @media screen and(max-width:$table) {
  243. font-size: 36px;
  244. }
  245. @media screen and(max-width:$moblie) {
  246. font-size: 20px;
  247. }
  248. }
  249. #contact-form {
  250. text-align: center;
  251. .btn {
  252. margin: 50px auto;
  253. border: none;
  254. padding: 15px;
  255. background: #ffaf60;
  256. color: rgb(64, 72, 84);
  257. font-size: 20px;
  258. width: 300px;
  259. border-radius: 30px;
  260. &:hover {
  261. color: #fff;
  262. background-color: #745c54;
  263. }
  264. }
  265. #location,
  266. #type,
  267. #modal,
  268. #budget,
  269. #square,
  270. #style,
  271. #date,
  272. #email,
  273. #name,
  274. #phone,
  275. #gender,
  276. #rooms,
  277. #livingroom,
  278. #bathroom {
  279. border-radius: 3px;
  280. width: 85%;
  281. height: 60px;
  282. margin: 15px 0;
  283. padding-left: 15px;
  284. border: 1px solid rgba(0, 0, 0, 0.3);
  285. font-size: 18px;
  286. appearance: none;
  287. background: url(./img/icondown1.webp) 95% 50% no-repeat scroll transparent;
  288. background-size: 10px 10px;
  289. background-color: #fff;
  290. }
  291. #square,
  292. #date,
  293. #email,
  294. #name,
  295. #phone {
  296. font-size: 18px;
  297. width: 85%;
  298. background: none;
  299. }
  300. #gender {
  301. display: block;
  302. margin: 0 auto;
  303. }
  304. #fb-button{
  305. border-radius: 3px;
  306. margin: 15px auto;
  307. width: 85vw;
  308. height: 60px;
  309. border: 1px solid #3b5998;
  310. text-align: right;
  311. // background: url(./img/facebook.png) 10% 50% no-repeat scroll transparent;
  312. // background-size: 32px 32px;
  313. background-color: #fff;
  314. transition: 0.3s;
  315. position: relative;
  316. p {
  317. position: absolute;
  318. right: 2vw;
  319. font-weight: normal;
  320. color:#000;
  321. @media screen and(max-width:$table) {
  322. top: 2vw;
  323. right: 10vw;
  324. font-size: 20px;
  325. }
  326. @media screen and(max-width:$moblie) {
  327. top: 4vw;
  328. right: 1vw;
  329. }
  330. }
  331. img {
  332. position: absolute;
  333. left: 30px;
  334. top: 15px;
  335. width: 32px;
  336. height: 32px;
  337. filter: invert(29%) sepia(70%) saturate(712%) hue-rotate(186deg) brightness(89%) contrast(81%);
  338. }
  339. &:hover {
  340. background-color: #2a4f91;
  341. color: #fff;
  342. p{
  343. color:#fff;
  344. }
  345. img {
  346. filter: invert(100%) sepia(100%) saturate(19%) hue-rotate(334deg) brightness(106%) contrast(106%);
  347. }
  348. }
  349. }
  350. a {
  351. text-decoration: none;
  352. color: #ee751b;
  353. }
  354. #checkbox {
  355. margin-top: 50px;
  356. }
  357. #email,
  358. #name,
  359. #phone {
  360. background: none;
  361. background-color: #fff;
  362. }
  363. .option {
  364. width: 85%;
  365. }
  366. }
  367. #form {
  368. text-align: center;
  369. position: relative;
  370. #phone {
  371. position: absolute;
  372. left: 500px;
  373. }
  374. }
  375. }
  376. #feedback {
  377. margin: auto;
  378. width: 70vw;
  379. padding-bottom: 100px;
  380. @media screen and(max-width:$moblie) {
  381. width: 90vw;
  382. }
  383. .feedback-slider1 {
  384. width: 70vw;
  385. @media screen and(max-width:$moblie) {
  386. width: 90vw;
  387. }
  388. }
  389. h1 {
  390. margin-top: 50px;
  391. }
  392. .box {
  393. position: relative;
  394. p {
  395. margin: 20px;
  396. text-align: center;
  397. font-size: 18px;
  398. font-weight: 600;
  399. }
  400. img {
  401. width: 390px;
  402. height: 195px;
  403. object-fit: cover;
  404. @media screen and(max-width:$table) {
  405. width: 70vw;
  406. height: 30vh;
  407. }
  408. @media screen and(max-width:$moblie) {
  409. width: 90vw;
  410. }
  411. }
  412. .play {
  413. position: absolute;
  414. left: 40vw;
  415. top: 20vw;
  416. width: 15vw;
  417. height: 15vw;
  418. opacity: 0.8;
  419. z-index: 10;
  420. }
  421. }
  422. }
  423. #footer {
  424. margin-top: 50px;
  425. padding-top: 50px;
  426. width: 100vw;
  427. height: 150px;
  428. background-color: #ebe6e2;
  429. color: $title-color;
  430. text-align: center;
  431. font-size: 16px;
  432. line-height: 2;
  433. font-weight: 900;
  434. a {
  435. text-decoration: none;
  436. color: $title-color;
  437. }
  438. p {
  439. margin-left: 5px;
  440. display: inline;
  441. }
  442. }