about.scss 16 KB

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