about.scss 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579
  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. @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. // 公司簡介
  265. .condition {
  266. padding: 24px;
  267. font-size: 14px;
  268. padding-bottom: 10vw;
  269. @media screen and(max-width:$moblie) {
  270. padding: 18px;
  271. }
  272. }
  273. .idea {
  274. padding: 24px;
  275. font-size: 14px;
  276. padding-bottom: 10vw;
  277. background-size: contain;
  278. background-repeat: no-repeat;
  279. background-blend-mode: overlay;
  280. }
  281. .contact {
  282. padding-bottom: 10vw;
  283. padding: 24px;
  284. font-size: 14px;
  285. background-size: contain;
  286. background-repeat: no-repeat;
  287. background-blend-mode: overlay;
  288. word-break: break-all;
  289. a {
  290. text-decoration: none;
  291. color: #fff;
  292. }
  293. @media screen and(max-width:$moblie) {
  294. padding: 18px;
  295. }
  296. }
  297. // 個案賞析
  298. .sec02,
  299. .sec04 {
  300. .col-lg-4 {
  301. position: relative;
  302. background: rgb(128, 171, 41);
  303. transition: 0.3s ease-in-out;
  304. cursor: pointer;
  305. .sec02-p-m {
  306. color: #fff;
  307. text-align: center;
  308. font-size: 14px;
  309. transition: 0.3s;
  310. transition: 0.3s ease-in-out;
  311. @media screen and(min-width:$desktop) {
  312. width: 100%;
  313. position: absolute;
  314. top: 100px;
  315. left: 0px;
  316. font-size: 18px;
  317. opacity: 0;
  318. }
  319. }
  320. &:hover {
  321. .play1 {
  322. opacity: 1;
  323. }
  324. .sec02-p-m,
  325. .sec03-p-m {
  326. opacity: 1;
  327. }
  328. img {
  329. opacity: 0.2;
  330. @media screen and(max-width:$moblie) {
  331. opacity: 1;
  332. }
  333. }
  334. }
  335. @media screen and(max-width:$moblie) {
  336. background: none;
  337. }
  338. img {
  339. object-fit: cover;
  340. width: 480px !important;
  341. height: 280px !important;
  342. opacity: 1;
  343. transition: 0.3s ease-in-out;
  344. }
  345. .sec03-img-m {
  346. text-align: center;
  347. width: 100%;
  348. position: absolute;
  349. top: 100px;
  350. }
  351. .sec03-img-m1 {
  352. text-align: center;
  353. width: 100%;
  354. position: absolute;
  355. @media screen and(max-width:$moblie) {
  356. top: 80px;
  357. }
  358. .play1 {
  359. width: 50px !important;
  360. height: 50px !important;
  361. @media screen and(max-width:$moblie) {
  362. display: none;
  363. }
  364. }
  365. }
  366. }
  367. }
  368. .sec03 {
  369. .col-lg-4 {
  370. position: relative;
  371. background: rgb(128, 171, 41);
  372. transition: 0.3s ease-in-out;
  373. cursor: pointer;
  374. .sec03-p-m {
  375. color: #fff;
  376. text-align: center;
  377. font-size: 14px;
  378. transition: 0.3s;
  379. transition: 0.3s ease-in-out;
  380. @media screen and(min-width:$desktop) {
  381. width: 100%;
  382. position: absolute;
  383. top: 100px;
  384. left: 0px;
  385. font-size: 16px;
  386. opacity: 0;
  387. }
  388. }
  389. .sec03-p-m {
  390. @media screen and(min-width:$desktop) {
  391. position: absolute;
  392. top: 50px;
  393. left: 0px;
  394. background-size: contain;
  395. opacity: 0;
  396. }
  397. }
  398. &:hover {
  399. .play1 {
  400. opacity: 1;
  401. }
  402. .sec02-p-m,
  403. .sec03-p-m {
  404. opacity: 1;
  405. }
  406. img {
  407. opacity: 0.2;
  408. @media screen and(max-width:$moblie) {
  409. opacity: 1;
  410. }
  411. }
  412. }
  413. @media screen and(max-width:$moblie) {
  414. background: none;
  415. }
  416. img {
  417. object-fit: cover;
  418. width: 435px !important;
  419. height: 200px !important;
  420. opacity: 1;
  421. transition: 0.3s ease-in-out;
  422. }
  423. .sec03-img-m {
  424. text-align: center;
  425. width: 100%;
  426. position: absolute;
  427. top: 100px;
  428. }
  429. .sec03-img-m1 {
  430. text-align: center;
  431. width: 100%;
  432. position: absolute;
  433. @media screen and(max-width:$moblie) {
  434. top: 80px;
  435. }
  436. .play1 {
  437. width: 50px !important;
  438. height: 50px !important;
  439. }
  440. }
  441. }
  442. .sec03-1 {
  443. .sec05-row {
  444. background: rgba(0, 0, 0, 0.8);
  445. text-align: center;
  446. height: 600px;
  447. @media screen and(max-width:$moblie) {
  448. height: 300px;
  449. }
  450. p {
  451. letter-spacing: 5px;
  452. }
  453. }
  454. }
  455. }
  456. .sec04 {
  457. .col-lg-4 {
  458. position: relative;
  459. background: rgb(128, 171, 41);
  460. transition: 0.3s ease-in-out;
  461. cursor: pointer;
  462. .sec04-p-m {
  463. color: #fff;
  464. text-align: center;
  465. font-size: 14px;
  466. transition: 0.3s;
  467. transition: 0.3s ease-in-out;
  468. @media screen and(min-width:$desktop) {
  469. width: 100%;
  470. position: absolute;
  471. top: 100px;
  472. left: 0px;
  473. font-size: 18px;
  474. opacity: 0;
  475. }
  476. }
  477. &:hover {
  478. .play1 {
  479. opacity: 1;
  480. }
  481. .sec04-p-m {
  482. opacity: 1;
  483. }
  484. img {
  485. opacity: 0.2;
  486. @media screen and(max-width:$moblie) {
  487. opacity: 1;
  488. }
  489. }
  490. }
  491. @media screen and(max-width:$moblie) {
  492. background: none;
  493. }
  494. img {
  495. object-fit: cover;
  496. width: 480px !important;
  497. height: 280px !important;
  498. opacity: 1;
  499. transition: 0.3s ease-in-out;
  500. }
  501. .sec03-img-m {
  502. text-align: center;
  503. width: 100%;
  504. position: absolute;
  505. top: 100px;
  506. }
  507. .sec03-img-m1 {
  508. text-align: center;
  509. width: 100%;
  510. position: absolute;
  511. @media screen and(max-width:$moblie) {
  512. top: 80px;
  513. }
  514. .play1 {
  515. width: 50px !important;
  516. height: 50px !important;
  517. }
  518. }
  519. }
  520. .sec04-1 {
  521. .sec05-row {
  522. background: rgba(0, 0, 0, 0.8);
  523. text-align: center;
  524. height: 600px;
  525. @media screen and(max-width:$moblie) {
  526. height: 300px;
  527. }
  528. p {
  529. letter-spacing: 5px;
  530. }
  531. }
  532. }
  533. }
  534. }
  535. }
  536. }
  537. // 頁尾 footer
  538. #footer {
  539. background: #363636;
  540. text-align: center;
  541. width: 80vw;
  542. margin: 0 auto !important;
  543. @media screen and(max-width:$moblie) {
  544. width: 95vw;
  545. padding-bottom: 30vw;
  546. }
  547. a {
  548. text-decoration: none;
  549. color: #fff;
  550. }
  551. p {
  552. color: #fff;
  553. }
  554. }