style.scss 11 KB

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