style.scss 9.1 KB

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