about.scss 17 KB

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