about.scss 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602
  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: 400px;
  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. @media screen and(max-width:$moblie) {
  158. display: none;
  159. }
  160. }
  161. #bannerdes-img {
  162. position: absolute;
  163. z-index: -1;
  164. opacity: 1;
  165. .banner-img {
  166. width: 100vw;
  167. height: 70vh;
  168. object-fit: cover;
  169. @media screen and(max-width:$moblie) {
  170. height: 80vh;
  171. }
  172. }
  173. }
  174. @media screen and(max-width:$moblie) {
  175. // background-image: url(../img/about/banner/banner-m2.png);
  176. background-size: 110vw;
  177. background-repeat: no-repeat;
  178. }
  179. #banner-container {
  180. padding-top: 15vw;
  181. width: 90vw;
  182. @media screen and(max-width:$moblie) {
  183. width: 95vw;
  184. }
  185. .banner-des-about {
  186. @media screen and(max-width:$moblie) {
  187. display: none;
  188. }
  189. .banner-2 {
  190. img {
  191. @media screen and(max-width:$moblie) {
  192. display: none;
  193. }
  194. }
  195. }
  196. .banner-3 {
  197. img {
  198. margin-bottom: -52px;
  199. }
  200. }
  201. }
  202. .banner-m {
  203. @media screen and(min-width:$desktop) {
  204. display: none;
  205. }
  206. .bannerm-1 {
  207. @media screen and(max-width:$moblie) {
  208. margin: 0;
  209. }
  210. background: rgba(141, 194, 31, 0.8);
  211. .banner1-1 {
  212. font-size: 18px;
  213. }
  214. }
  215. }
  216. ul {
  217. position: static;
  218. border-top-right-radius:30px;
  219. border-bottom-right-radius:30px;
  220. text-align: center;
  221. background: rgba(141, 194, 31, 0.8);
  222. @media screen and(min-width:$desktop) {
  223. margin-left: 8px;
  224. margin-bottom: 10px;
  225. }
  226. @media screen and(max-width:$moblie) {
  227. margin-top: 5vw;
  228. width: 100vw;
  229. }
  230. .nav-item {
  231. padding: 10px;
  232. @media screen and(max-width:$moblie) {
  233. padding: 6px;
  234. }
  235. .nav-item2 {
  236. position: relative;
  237. &:after {
  238. content: url(../img/about/sec01/item-arrow.png);
  239. display: block;
  240. width: 80%;
  241. height: 8px;
  242. position: absolute;
  243. left: 12%;
  244. bottom: 0;
  245. transition: all 0.3s;
  246. opacity: 0;
  247. }
  248. // &:active:after,
  249. // &:focus:after{
  250. // opacity: 1;
  251. // }
  252. .after-nav {
  253. opacity: 1;
  254. }
  255. &:focus:after {
  256. width: 80%;
  257. opacity: 1;
  258. }
  259. }
  260. }
  261. }
  262. // 公司簡介
  263. .tab-content {
  264. .sec01{
  265. // 公司簡介
  266. .condition {
  267. padding:4vw 24px;
  268. font-size: 16px;
  269. padding-bottom: 10vw;
  270. @media screen and(max-width:$moblie) {
  271. padding:10vw 18px;
  272. padding-bottom: 15vw;
  273. }
  274. }
  275. .idea {
  276. padding:4vw 24px;
  277. font-size: 16px;
  278. padding-bottom: 10vw;
  279. background-size: contain;
  280. background-repeat: no-repeat;
  281. background-blend-mode: overlay;
  282. @media screen and(max-width:$moblie) {
  283. padding:10vw 18px;
  284. padding-bottom: 15vw;
  285. }
  286. }
  287. .contact {
  288. padding-bottom: 10vw;
  289. padding:4vw 24px;
  290. font-size: 16px;
  291. background-size: contain;
  292. background-repeat: no-repeat;
  293. background-blend-mode: overlay;
  294. word-break: break-all;
  295. @media screen and(max-width:$moblie) {
  296. padding:10vw 18px;
  297. padding-bottom: 15vw;
  298. }
  299. a {
  300. text-decoration: none;
  301. color: #fff;
  302. }
  303. }
  304. }
  305. // 個案賞析
  306. .sec02,
  307. .sec04 {
  308. .col-lg-4 {
  309. position: relative;
  310. background: rgb(128, 171, 41);
  311. transition: 0.3s ease-in-out;
  312. cursor: pointer;
  313. .sec02-p-m {
  314. color: #fff;
  315. text-align: center;
  316. font-size: 14px;
  317. transition: 0.3s;
  318. transition: 0.3s ease-in-out;
  319. @media screen and(min-width:$desktop) {
  320. width: 100%;
  321. position: absolute;
  322. top: 35%;
  323. left: 0px;
  324. font-size: 18px;
  325. opacity: 0;
  326. }
  327. }
  328. &:hover {
  329. .play1 {
  330. opacity: 1;
  331. }
  332. .sec02-p-m,
  333. .sec03-p-m {
  334. opacity: 1;
  335. }
  336. img {
  337. opacity: 0.2;
  338. @media screen and(max-width:$moblie) {
  339. opacity: 1;
  340. }
  341. }
  342. }
  343. @media screen and(max-width:$moblie) {
  344. background: none;
  345. }
  346. img {
  347. object-fit: cover;
  348. width: 100% !important;
  349. height: 17vw ;
  350. opacity: 1;
  351. transition: 0.3s ease-in-out;
  352. @media screen and(max-width:$moblie) {
  353. height: 50vw;
  354. }
  355. }
  356. .sec03-img-m {
  357. text-align: center;
  358. width: 100%;
  359. position: absolute;
  360. top: 100px;
  361. }
  362. .sec03-img-m1 {
  363. text-align: center;
  364. width: 100%;
  365. position: absolute;
  366. @media screen and(max-width:$moblie) {
  367. top: 80px;
  368. }
  369. .play1 {
  370. width: 50px !important;
  371. height: 50px !important;
  372. @media screen and(max-width:$moblie) {
  373. display: none;
  374. }
  375. }
  376. }
  377. }
  378. }
  379. .sec03 {
  380. .col-lg-4 {
  381. position: relative;
  382. background: rgb(128, 171, 41);
  383. transition: 0.3s ease-in-out;
  384. cursor: pointer;
  385. .sec03-p-m {
  386. color: #fff;
  387. text-align: center;
  388. font-size: 14px;
  389. transition: 0.3s;
  390. transition: 0.3s ease-in-out;
  391. @media screen and(min-width:$desktop) {
  392. width: 100%;
  393. position: absolute;
  394. top: 100px;
  395. left: 0px;
  396. font-size: 16px;
  397. opacity: 0;
  398. }
  399. }
  400. .sec03-p-m {
  401. @media screen and(min-width:$desktop) {
  402. position: absolute;
  403. top: 30%;
  404. left: 0px;
  405. background-size: contain;
  406. opacity: 0;
  407. }
  408. }
  409. &:hover {
  410. .play1 {
  411. opacity: 1;
  412. }
  413. .sec02-p-m,
  414. .sec03-p-m {
  415. opacity: 1;
  416. }
  417. img {
  418. opacity: 0.2;
  419. @media screen and(max-width:$moblie) {
  420. opacity: 1;
  421. }
  422. }
  423. }
  424. @media screen and(max-width:$moblie) {
  425. background: none;
  426. }
  427. img {
  428. object-fit: cover;
  429. width: 100% !important;
  430. height: 17vw;
  431. opacity: 1;
  432. transition: 0.3s ease-in-out;
  433. @media screen and(max-width:$moblie) {
  434. height: 50vw;
  435. }
  436. }
  437. .sec03-img-m {
  438. text-align: center;
  439. width: 100%;
  440. position: absolute;
  441. top: 100px;
  442. }
  443. .sec03-img-m1 {
  444. text-align: center;
  445. width: 100%;
  446. position: absolute;
  447. @media screen and(max-width:$moblie) {
  448. top: 80px;
  449. }
  450. .play1 {
  451. width: 50px !important;
  452. height: 50px !important;
  453. }
  454. }
  455. }
  456. .sec03-1 {
  457. .sec05-row {
  458. background: rgba(0, 0, 0, 0.8);
  459. text-align: center;
  460. height: 600px;
  461. @media screen and(max-width:$moblie) {
  462. height: 300px;
  463. }
  464. p {
  465. letter-spacing: 5px;
  466. }
  467. }
  468. }
  469. }
  470. .sec04 {
  471. .col-lg-4 {
  472. position: relative;
  473. background: rgb(128, 171, 41);
  474. transition: 0.3s ease-in-out;
  475. cursor: pointer;
  476. .sec04-p-m {
  477. color: #fff;
  478. text-align: center;
  479. font-size: 14px;
  480. transition: 0.3s;
  481. transition: 0.3s ease-in-out;
  482. @media screen and(min-width:$desktop) {
  483. width: 100%;
  484. position: absolute;
  485. top: 50px;
  486. left: 0px;
  487. font-size: 18px;
  488. opacity: 0;
  489. }
  490. }
  491. &:hover {
  492. .play1 {
  493. opacity: 1;
  494. }
  495. .sec04-p-m {
  496. opacity: 1;
  497. }
  498. img {
  499. opacity: 0.2;
  500. @media screen and(max-width:$moblie) {
  501. opacity: 1;
  502. }
  503. }
  504. }
  505. @media screen and(max-width:$moblie) {
  506. background: none;
  507. }
  508. img {
  509. object-fit: cover;
  510. width: 100% !important;
  511. height: 16.5vw ;
  512. opacity: 1;
  513. transition: 0.3s ease-in-out;
  514. @media screen and(max-width:$moblie) {
  515. height: 50vw;
  516. }
  517. }
  518. .sec03-img-m {
  519. text-align: center;
  520. width: 100%;
  521. position: absolute;
  522. top: 100px;
  523. }
  524. .sec03-img-m1 {
  525. text-align: center;
  526. width: 100%;
  527. position: absolute;
  528. @media screen and(max-width:$moblie) {
  529. top: 80px;
  530. }
  531. .play1 {
  532. width: 50px !important;
  533. height: 50px !important;
  534. }
  535. }
  536. }
  537. .sec04-1 {
  538. .sec05-row {
  539. background: rgba(0, 0, 0, 0.8);
  540. text-align: center;
  541. width: 100% !important;
  542. height: 600px;
  543. @media screen and(max-width:$moblie) {
  544. height: 300px;
  545. }
  546. p {
  547. letter-spacing: 5px;
  548. }
  549. }
  550. }
  551. }
  552. }
  553. }
  554. }
  555. // 頁尾 footer
  556. #footer {
  557. background: #363636;
  558. text-align: center;
  559. width: 80vw;
  560. margin: 0 auto !important;
  561. padding-top: 2vw;
  562. padding:1vw;
  563. @media screen and(max-width:$moblie) {
  564. width: 95vw;
  565. padding: 30vw 5vw;
  566. }
  567. a {
  568. text-decoration: none;
  569. color: #fff;
  570. }
  571. p {
  572. color: #fff;
  573. }
  574. }