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. @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. margin: 0 auto;
  208. width: 100vw;
  209. background: #fafafa;
  210. position: relative;
  211. padding-bottom: 5vw;
  212. .navbar{
  213. img{
  214. width: 180px;
  215. }
  216. }
  217. #sec-contact {
  218. width: 100vw;
  219. margin: 0 auto;
  220. background: #fff;
  221. box-shadow: 0 3px 1px -2px rgba(0,0,0,0.2), 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);
  222. }
  223. .form-title {
  224. margin: 0 auto;
  225. text-align: center;
  226. h1 {
  227. text-align: center;
  228. font-size: 1.75rem;
  229. font-weight: 900;
  230. }
  231. p {
  232. font-size: 18px;
  233. margin-bottom: 0;
  234. }
  235. }
  236. #contact-form {
  237. width: 85%;
  238. margin: 0 auto;
  239. padding: 10px;
  240. #loc,
  241. #h_class,
  242. #modal,
  243. #budget,
  244. #size,
  245. #style,
  246. #datepicker,
  247. #email,
  248. #name,
  249. #phone,
  250. #gender {
  251. width: 100%;
  252. height: 50px;
  253. margin: 20px 0;
  254. border: 1px solid rgba(0, 0, 0, 0.3);
  255. padding: .375rem .75rem;
  256. font-size: 1rem;
  257. border-radius: 3px;
  258. appearance: none;
  259. background: url(./img/icondown.webp) 98% 50% no-repeat scroll transparent;
  260. background-size: 10px 10px;
  261. background-color: #fff;
  262. }
  263. #form-left {
  264. // #rooms,
  265. // #livingroom,
  266. // #bathroom {
  267. // width: 28.5%;
  268. // border: 1px solid rgba(0, 0, 0, 0.3);
  269. // height: 50px;
  270. // margin: 15px 0;
  271. // padding-right: 50px;
  272. // padding: 10px 15px;
  273. // font-size: 16px;
  274. // border-radius: 3px;
  275. // appearance: none;
  276. // background: url(./img/icondown.webp) 85% 50% no-repeat scroll transparent;
  277. // background-size: 10px 10px;
  278. // background-color: #fff;
  279. // }
  280. #datepicker {
  281. background: none;
  282. background-color: #fff;
  283. }
  284. }
  285. #fb-button {
  286. margin-top: 12px;
  287. width: 29vw;
  288. height: 50px;
  289. border: 1px solid #3b5998;
  290. text-align: right;
  291. padding-right: 60px;
  292. background-size: 32px 32px;
  293. border-radius: 3px;
  294. background-color: #fff;
  295. transition: 0.3s;
  296. position: relative;
  297. p {
  298. position: absolute;
  299. top: 1vw;
  300. left: 14vw;
  301. color: #626262;
  302. }
  303. #line {
  304. position: absolute;
  305. color: #9b9b9b;
  306. opacity: 0.8;
  307. left: 8vw;
  308. top: -0.1vw;
  309. }
  310. img {
  311. position: absolute;
  312. left: 50px;
  313. top: 10px;
  314. width: 32px;
  315. height: 32px;
  316. filter: invert(29%) sepia(70%) saturate(712%) hue-rotate(186deg) brightness(89%) contrast(81%);
  317. }
  318. &:hover {
  319. background-color: #2a4f91;
  320. color: #fff;
  321. img {
  322. filter: invert(100%) sepia(100%) saturate(19%) hue-rotate(334deg) brightness(106%) contrast(106%);
  323. }
  324. p {
  325. color: #fff;
  326. }
  327. #line {
  328. color: #fff;
  329. }
  330. }
  331. }
  332. a {
  333. text-decoration: none;
  334. color: #ee751b;
  335. font-weight: 900;
  336. }
  337. #email,
  338. #name,
  339. #phone {
  340. background: none;
  341. background-color: #fff;
  342. }
  343. }
  344. .btn {
  345. width: 100%;
  346. margin: 16px auto;
  347. border: none;
  348. padding: 16px 12px;
  349. background: #ee7800;
  350. color: #fff;
  351. font-size: 20px;
  352. border-radius: .25rem;
  353. text-align: center;
  354. vertical-align: middle;
  355. &:hover {
  356. color: #fff;
  357. background-color: #745c54;
  358. }
  359. }
  360. .form-btn {
  361. text-align: center;
  362. position: relative;
  363. margin: 0 auto;
  364. #phone1 {
  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: 20vw;
  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. }