about.scss 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569
  1. // 關於我頁面
  2. * {
  3. margin: 0;
  4. padding: 0;
  5. box-sizing: border-box;
  6. font-family: 微軟正黑體;
  7. }
  8. $desktop: 1025px;
  9. $table: 1024px;
  10. $moblie: 767px;
  11. $Font-color: #fff;
  12. $title-color: #646464;
  13. $bgcolor: #f4fffc;
  14. $navbgcolor: #a9d0c5;
  15. body {
  16. position: relative;
  17. // background: url(../img/about/banner/banner.webp), linear-gradient(180deg, transparent 1%, #363636 1%);
  18. // background-size: 120vw;
  19. // background-repeat: no-repeat;
  20. background: #363636;
  21. @media screen and(max-width:$moblie) {
  22. background: #363636;
  23. }
  24. .arrow {
  25. position: fixed;
  26. right: 30px;
  27. top: 500px;
  28. width: 45px;
  29. height: 40px;
  30. z-index: 10;
  31. a {
  32. margin: 30px 0px;
  33. }
  34. .icon {
  35. @media screen and(max-width:$moblie) {
  36. display: none;
  37. }
  38. }
  39. &:hover {
  40. box-shadow: 1px 3px 13px -2px rgba(0, 0, 0, 0.35);
  41. }
  42. }
  43. }
  44. #Navigation {
  45. background: rgba(112, 112, 112, 0.5);
  46. height: 4.5vw;
  47. width: 100vw !important;
  48. position: fixed;
  49. z-index: 10;
  50. @media screen and(max-width:$table) {
  51. height: 8vw;
  52. }
  53. @media screen and(max-width:$moblie) {
  54. height: 15vw;
  55. position: fixed;
  56. z-index: 5;
  57. background: rgba(0, 0, 0, 0.8);
  58. }
  59. #nav {
  60. width: 100vw;
  61. margin: 0 auto;
  62. }
  63. // rwd要注意高度
  64. #logo {
  65. padding-top: 0.5vw;
  66. @media screen and(max-width:$moblie) {
  67. padding-top: 0;
  68. }
  69. img {
  70. width: 120px;
  71. }
  72. }
  73. #link {
  74. text-align: right;
  75. padding: 1.5vw 3vw;
  76. @media screen and(max-width:$table) {
  77. padding-top: 2vw;
  78. }
  79. @media screen and(max-width:$moblie) {
  80. display: none;
  81. }
  82. a {
  83. text-decoration: none;
  84. color: $Font-color;
  85. letter-spacing: 1px;
  86. font-size: 0.9rem;
  87. font-weight: 600;
  88. cursor: pointer;
  89. padding: 5px;
  90. position: relative;
  91. img {
  92. object-fit: cover;
  93. }
  94. }
  95. }
  96. #menu-btn1 {
  97. position: absolute;
  98. right: 1vw;
  99. top: 1vw;
  100. width: 18vw;
  101. z-index: 6;
  102. @media screen and(min-width:$desktop) {
  103. display: none;
  104. }
  105. @media screen and(min-width:768px) {
  106. display: none;
  107. }
  108. }
  109. }
  110. #Navigation2 {
  111. background: rgba(112, 112, 112, 0.75);
  112. height: 4.5vw;
  113. width: 100vw !important;
  114. position: fixed;
  115. bottom: 0px;
  116. z-index: 10;
  117. @media screen and(min-width:$desktop) {
  118. display: none;
  119. }
  120. @media screen and(max-width:$table) {
  121. height: 8vw;
  122. }
  123. @media screen and(max-width:$moblie) {
  124. height: 15vw;
  125. position: fixed;
  126. z-index: 5;
  127. background: rgba(0, 0, 0, 0.8);
  128. }
  129. #nav {
  130. width: 90vw;
  131. margin: 0 auto;
  132. display: grid;
  133. grid-template-columns: repeat(5, 1fr);
  134. text-align: center;
  135. a {
  136. text-decoration: none;
  137. color: $Font-color;
  138. letter-spacing: 1px;
  139. font-size: 0.9rem;
  140. font-weight: 600;
  141. cursor: pointer;
  142. position: relative;
  143. img {
  144. margin: 10px auto;
  145. object-fit: cover;
  146. }
  147. }
  148. }
  149. // rwd要注意高度
  150. }
  151. #banner {
  152. position: relative;
  153. #about-title {
  154. position: absolute;
  155. right: 50px;
  156. top: 100px;
  157. }
  158. #bannerdes-img {
  159. position: absolute;
  160. z-index: -1;
  161. opacity: 1;
  162. .banner-img {
  163. width: 100vw;
  164. height: 70vh;
  165. object-fit: cover;
  166. @media screen and(max-width:$moblie) {
  167. height: 80vh;
  168. }
  169. }
  170. }
  171. @media screen and(max-width:$moblie) {
  172. // background-image: url(../img/about/banner/banner-m2.png);
  173. background-size: 110vw;
  174. background-repeat: no-repeat;
  175. }
  176. #banner-container {
  177. padding-top: 15vw;
  178. width: 90vw;
  179. @media screen and(max-width:$moblie) {
  180. width: 95vw;
  181. }
  182. .banner-des-about {
  183. @media screen and(max-width:$moblie) {
  184. display: none;
  185. }
  186. .banner-2 {
  187. img {
  188. @media screen and(max-width:$moblie) {
  189. display: none;
  190. }
  191. }
  192. }
  193. .banner-3 {
  194. img {
  195. margin-bottom: -45px;
  196. }
  197. }
  198. }
  199. .banner-m {
  200. @media screen and(min-width:$desktop) {
  201. display: none;
  202. }
  203. .bannerm-1 {
  204. @media screen and(max-width:$moblie) {
  205. margin: 0;
  206. }
  207. background: rgba(141, 194, 31, 0.8);
  208. .banner1-1 {
  209. font-size: 18px;
  210. }
  211. }
  212. }
  213. ul {
  214. text-align: center;
  215. background: rgba(141, 194, 31, 0.8);
  216. @media screen and(min-width:$desktop) {
  217. margin-left: 8px;
  218. }
  219. @media screen and(max-width:$moblie) {
  220. margin-top: 5vw;
  221. margin: 10px auto;
  222. }
  223. .nav-item {
  224. padding: 10px;
  225. @media screen and(max-width:$moblie) {
  226. padding: 6px;
  227. }
  228. .nav-item2 {
  229. position: relative;
  230. &:after {
  231. content: url(../img/about/sec01/item-arrow.png);
  232. display: block;
  233. width: 80%;
  234. height: 5px;
  235. position: absolute;
  236. left: 12%;
  237. bottom: 0;
  238. transition: all 0.3s;
  239. opacity: 0;
  240. }
  241. // &:active:after,
  242. // &:focus:after{
  243. // opacity: 1;
  244. // }
  245. .after-nav {
  246. opacity: 1;
  247. }
  248. &:focus:after {
  249. width: 80%;
  250. opacity: 1;
  251. }
  252. }
  253. }
  254. }
  255. // 公司簡介
  256. .tab-content {
  257. // 公司簡介
  258. .condition {
  259. padding: 24px;
  260. font-size: 14px;
  261. padding-bottom: 10vw;
  262. @media screen and(max-width:$moblie) {
  263. padding: 18px;
  264. }
  265. }
  266. .idea {
  267. padding: 24px;
  268. font-size: 14px;
  269. padding-bottom: 10vw;
  270. background-size: contain;
  271. background-repeat: no-repeat;
  272. background-blend-mode: overlay;
  273. }
  274. .contact {
  275. padding-bottom: 10vw;
  276. padding: 24px;
  277. font-size: 14px;
  278. background-size: contain;
  279. background-repeat: no-repeat;
  280. background-blend-mode: overlay;
  281. word-break: break-all;
  282. a {
  283. text-decoration: none;
  284. color: #fff;
  285. }
  286. @media screen and(max-width:$moblie) {
  287. padding: 18px;
  288. }
  289. }
  290. // 個案賞析
  291. .sec02,
  292. .sec04 {
  293. .col-lg-4 {
  294. position: relative;
  295. background: rgb(128, 171, 41);
  296. transition: 0.3s ease-in-out;
  297. cursor: pointer;
  298. .sec02-p-m {
  299. color: #fff;
  300. text-align: center;
  301. font-size: 14px;
  302. transition: 0.3s;
  303. transition: 0.3s ease-in-out;
  304. @media screen and(min-width:$desktop) {
  305. width: 100%;
  306. position: absolute;
  307. top: 100px;
  308. left: 0px;
  309. font-size: 18px;
  310. opacity: 0;
  311. }
  312. }
  313. &:hover {
  314. .play1 {
  315. opacity: 1;
  316. }
  317. .sec02-p-m,
  318. .sec03-p-m {
  319. opacity: 1;
  320. }
  321. img {
  322. opacity: 0.2;
  323. @media screen and(max-width:$moblie) {
  324. opacity: 1;
  325. }
  326. }
  327. }
  328. @media screen and(max-width:$moblie) {
  329. background: none;
  330. }
  331. img {
  332. object-fit: cover;
  333. width: 480px !important;
  334. height: 280px !important;
  335. opacity: 1;
  336. transition: 0.3s ease-in-out;
  337. }
  338. .sec03-img-m {
  339. text-align: center;
  340. width: 100%;
  341. position: absolute;
  342. top: 100px;
  343. }
  344. .sec03-img-m1 {
  345. text-align: center;
  346. width: 100%;
  347. position: absolute;
  348. @media screen and(max-width:$moblie) {
  349. top: 80px;
  350. }
  351. .play1 {
  352. width: 50px !important;
  353. height: 50px !important;
  354. }
  355. }
  356. }
  357. }
  358. .sec03 {
  359. .col-lg-4 {
  360. position: relative;
  361. background: rgb(128, 171, 41);
  362. transition: 0.3s ease-in-out;
  363. cursor: pointer;
  364. .sec03-p-m {
  365. color: #fff;
  366. text-align: center;
  367. font-size: 14px;
  368. transition: 0.3s;
  369. transition: 0.3s ease-in-out;
  370. @media screen and(min-width:$desktop) {
  371. width: 100%;
  372. position: absolute;
  373. top: 100px;
  374. left: 0px;
  375. font-size: 16px;
  376. opacity: 0;
  377. }
  378. }
  379. .sec03-p-m {
  380. @media screen and(min-width:$desktop) {
  381. position: absolute;
  382. top: 50px;
  383. left: 0px;
  384. background-size: contain;
  385. opacity: 0;
  386. }
  387. }
  388. &:hover {
  389. .play1 {
  390. opacity: 1;
  391. }
  392. .sec02-p-m,
  393. .sec03-p-m {
  394. opacity: 1;
  395. }
  396. img {
  397. opacity: 0.2;
  398. @media screen and(max-width:$moblie) {
  399. opacity: 1;
  400. }
  401. }
  402. }
  403. @media screen and(max-width:$moblie) {
  404. background: none;
  405. }
  406. img {
  407. object-fit: cover;
  408. width: 435px !important;
  409. height: 200px !important;
  410. opacity: 1;
  411. transition: 0.3s ease-in-out;
  412. }
  413. .sec03-img-m {
  414. text-align: center;
  415. width: 100%;
  416. position: absolute;
  417. top: 100px;
  418. }
  419. .sec03-img-m1 {
  420. text-align: center;
  421. width: 100%;
  422. position: absolute;
  423. @media screen and(max-width:$moblie) {
  424. top: 80px;
  425. }
  426. .play1 {
  427. width: 50px !important;
  428. height: 50px !important;
  429. }
  430. }
  431. }
  432. .sec03-1 {
  433. .sec05-row {
  434. background: rgba(0, 0, 0, 0.8);
  435. text-align: center;
  436. height: 600px;
  437. @media screen and(max-width:$moblie) {
  438. height: 300px;
  439. }
  440. p {
  441. letter-spacing: 5px;
  442. }
  443. }
  444. }
  445. }
  446. .sec04 {
  447. .col-lg-4 {
  448. position: relative;
  449. background: rgb(128, 171, 41);
  450. transition: 0.3s ease-in-out;
  451. cursor: pointer;
  452. .sec04-p-m {
  453. color: #fff;
  454. text-align: center;
  455. font-size: 14px;
  456. transition: 0.3s;
  457. transition: 0.3s ease-in-out;
  458. @media screen and(min-width:$desktop) {
  459. width: 100%;
  460. position: absolute;
  461. top: 100px;
  462. left: 0px;
  463. font-size: 18px;
  464. opacity: 0;
  465. }
  466. }
  467. &:hover {
  468. .play1 {
  469. opacity: 1;
  470. }
  471. .sec04-p-m {
  472. opacity: 1;
  473. }
  474. img {
  475. opacity: 0.2;
  476. @media screen and(max-width:$moblie) {
  477. opacity: 1;
  478. }
  479. }
  480. }
  481. @media screen and(max-width:$moblie) {
  482. background: none;
  483. }
  484. img {
  485. object-fit: cover;
  486. width: 480px !important;
  487. height: 280px !important;
  488. opacity: 1;
  489. transition: 0.3s ease-in-out;
  490. }
  491. .sec03-img-m {
  492. text-align: center;
  493. width: 100%;
  494. position: absolute;
  495. top: 100px;
  496. }
  497. .sec03-img-m1 {
  498. text-align: center;
  499. width: 100%;
  500. position: absolute;
  501. @media screen and(max-width:$moblie) {
  502. top: 80px;
  503. }
  504. .play1 {
  505. width: 50px !important;
  506. height: 50px !important;
  507. }
  508. }
  509. }
  510. .sec04-1 {
  511. .sec05-row {
  512. background: rgba(0, 0, 0, 0.8);
  513. text-align: center;
  514. height: 600px;
  515. @media screen and(max-width:$moblie) {
  516. height: 300px;
  517. }
  518. p {
  519. letter-spacing: 5px;
  520. }
  521. }
  522. }
  523. }
  524. }
  525. }
  526. }
  527. // 頁尾 footer
  528. #footer {
  529. background: #363636;
  530. text-align: center;
  531. width: 80vw;
  532. margin: 0 auto !important;
  533. @media screen and(max-width:$moblie) {
  534. width: 95vw;
  535. padding-bottom: 30vw;
  536. }
  537. a {
  538. text-decoration: none;
  539. color: #fff;
  540. }
  541. p {
  542. color: #fff;
  543. }
  544. }