about.scss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518
  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: 20;
  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. @media screen and(max-width:$moblie) {
  43. position: absolute;
  44. bottom: 200px;
  45. }
  46. }
  47. }
  48. #Navigation {
  49. background: rgba(112, 112, 112, 0.5);
  50. height: 4.5vw;
  51. width: 100vw !important;
  52. position: fixed;
  53. z-index: 10;
  54. @media screen and(max-width:$table) {
  55. height: 8vw;
  56. }
  57. @media screen and(max-width:$moblie) {
  58. height: 15vw;
  59. position: fixed;
  60. z-index: 5;
  61. background: rgba(0, 0, 0, 0.8);
  62. }
  63. .sfixed{
  64. position:fixed;
  65. top: 50px;
  66. z-index: 10;
  67. background: #000;
  68. }
  69. #nav {
  70. width: 100vw;
  71. margin: 0 auto;
  72. }
  73. // rwd要注意高度
  74. #logo {
  75. padding-top: 0.5vw;
  76. @media screen and(max-width:$moblie) {
  77. padding-top: 0;
  78. }
  79. img {
  80. width: 120px;
  81. }
  82. }
  83. #link {
  84. text-align: right;
  85. padding: 1.5vw 3vw;
  86. @media screen and(max-width:$table) {
  87. padding-top: 2vw;
  88. }
  89. @media screen and(max-width:$moblie) {
  90. display: none;
  91. }
  92. a {
  93. text-decoration: none;
  94. color: $Font-color;
  95. letter-spacing: 1px;
  96. font-size: 0.9rem;
  97. font-weight: 600;
  98. cursor: pointer;
  99. padding: 5px;
  100. position: relative;
  101. img {
  102. object-fit: cover;
  103. }
  104. }
  105. }
  106. #menu-btn1 {
  107. position: absolute;
  108. right: 1vw;
  109. top: 1vw;
  110. width: 18vw;
  111. z-index: 6;
  112. @media screen and(min-width:$desktop) {
  113. display: none;
  114. }
  115. @media screen and(min-width:768px) {
  116. display: none;
  117. }
  118. }
  119. }
  120. #Navigation2 {
  121. background: rgba(112, 112, 112, 0.75);
  122. height: 4.5vw;
  123. width: 100vw !important;
  124. position: fixed;
  125. bottom: 0px;
  126. z-index: 10;
  127. @media screen and(min-width:$desktop) {
  128. display: none;
  129. }
  130. @media screen and(max-width:$table) {
  131. height: 8vw;
  132. }
  133. @media screen and(max-width:$moblie) {
  134. height: 15vw;
  135. position: fixed;
  136. z-index: 5;
  137. background: rgba(0, 0, 0, 0.8);
  138. }
  139. #nav {
  140. width: 90vw;
  141. margin: 0 auto;
  142. display: grid;
  143. grid-template-columns: repeat(5, 1fr);
  144. text-align: center;
  145. a {
  146. text-decoration: none;
  147. color: $Font-color;
  148. letter-spacing: 1px;
  149. font-size: 0.9rem;
  150. font-weight: 600;
  151. cursor: pointer;
  152. position: relative;
  153. img {
  154. margin: 10px auto;
  155. object-fit: cover;
  156. }
  157. }
  158. }
  159. // rwd要注意高度
  160. }
  161. #banner {
  162. position: relative;
  163. #bannerdes-img{
  164. position: absolute;
  165. z-index:-1;
  166. opacity: 0.5;
  167. .banner-img{
  168. width: 100vw;
  169. height: 70vh;
  170. object-fit: cover;
  171. @media screen and(max-width:$moblie) {
  172. height: 80vh;
  173. }
  174. }
  175. }
  176. @media screen and(max-width:$moblie) {
  177. // background-image: url(../img/about/banner/banner-m2.png);
  178. background-size: 110vw;
  179. background-repeat: no-repeat;
  180. }
  181. #banner-container {
  182. padding-top: 10vw;
  183. width: 90vw;
  184. @media screen and(max-width:$moblie) {
  185. width: 95vw;
  186. }
  187. .banner-des-about {
  188. @media screen and(max-width:$moblie) {
  189. display: none;
  190. }
  191. .banner-2 {
  192. img {
  193. @media screen and(max-width:$moblie) {
  194. display: none;
  195. }
  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(max-width:$moblie) {
  217. margin-top: 5vw;
  218. }
  219. .nav-item {
  220. padding: 10px;
  221. @media screen and(max-width:$moblie) {
  222. padding: 6px;
  223. }
  224. .nav-item2{
  225. position: relative;
  226. &:after {
  227. content:url(../img/about/sec01/item-arrow.png);
  228. display: block;
  229. width: 80%;
  230. height: 5px;
  231. position: absolute;
  232. left: 12%;
  233. bottom: 0;
  234. transition: all 0.3s;
  235. opacity: 0;
  236. }
  237. // &:active:after,
  238. // &:focus:after{
  239. // opacity: 1;
  240. // }
  241. .after-nav{
  242. opacity: 1;
  243. }
  244. &:focus:after
  245. {
  246. width: 80%;
  247. opacity: 1;
  248. }
  249. }
  250. }
  251. }
  252. // 公司簡介
  253. .tab-content {
  254. // 公司簡介
  255. .condition {
  256. padding: 24px;
  257. font-size: 14px;
  258. padding-bottom: 10vw;
  259. @media screen and(max-width:$moblie) {
  260. padding: 18px;
  261. }
  262. }
  263. .idea {
  264. padding: 24px;
  265. font-size: 14px;
  266. padding-bottom: 10vw;
  267. background-size: contain;
  268. background-repeat: no-repeat;
  269. background-blend-mode: overlay;
  270. }
  271. .contact {
  272. padding-bottom: 10vw;
  273. padding: 24px;
  274. font-size: 14px;
  275. background-size: contain;
  276. background-repeat: no-repeat;
  277. background-blend-mode: overlay;
  278. word-break: break-all;
  279. a{
  280. text-decoration: none;
  281. color:#fff;
  282. }
  283. @media screen and(max-width:$moblie) {
  284. padding: 18px;
  285. }
  286. }
  287. // 個案賞析
  288. .sec02,
  289. .sec04 {
  290. .col-lg-4 {
  291. position: relative;
  292. background: rgb(128, 171, 41);
  293. transition: 0.3s ease-in-out;
  294. cursor: pointer;
  295. .sec02-p-m{
  296. color:#fff;
  297. text-align: center;
  298. font-size: 14px;
  299. transition: 0.3s;
  300. transition: 0.3s ease-in-out;
  301. @media screen and(min-width:$desktop) {
  302. width: 100%;
  303. position: absolute;
  304. top:100px;
  305. left:0px;
  306. font-size: 18px;
  307. opacity: 0;
  308. }
  309. }
  310. &:hover{
  311. .sec02-p-m,.sec03-p-m{
  312. opacity: 1;
  313. }
  314. img{
  315. opacity: 0.2;
  316. @media screen and(max-width:$moblie) {
  317. opacity: 1;
  318. }
  319. }
  320. }
  321. @media screen and(max-width:$moblie) {
  322. background: none;
  323. }
  324. img {
  325. object-fit: cover;
  326. width: 480px !important;
  327. height: 280px !important;
  328. opacity: 1;
  329. transition: 0.3s ease-in-out;
  330. }
  331. }
  332. }
  333. .sec03{
  334. .col-lg-4 {
  335. position: relative;
  336. background: rgb(128, 171, 41);
  337. transition: 0.3s ease-in-out;
  338. cursor: pointer;
  339. .sec03-p-m{
  340. color:#fff;
  341. text-align: center;
  342. font-size: 14px;
  343. transition: 0.3s;
  344. transition: 0.3s ease-in-out;
  345. @media screen and(min-width:$desktop) {
  346. width: 100%;
  347. position: absolute;
  348. top:100px;
  349. left:0px;
  350. font-size: 16px;
  351. opacity: 0;
  352. }
  353. }
  354. .sec03-p-m{
  355. @media screen and(min-width:$desktop) {
  356. position: absolute;
  357. top:50px;
  358. left:0px;
  359. background-size: contain;
  360. opacity: 0;
  361. }
  362. }
  363. &:hover{
  364. .sec02-p-m,.sec03-p-m{
  365. opacity: 1;
  366. }
  367. img{
  368. opacity: 0.2;
  369. @media screen and(max-width:$moblie) {
  370. opacity: 1;
  371. }
  372. }
  373. }
  374. @media screen and(max-width:$moblie) {
  375. background: none;
  376. }
  377. img {
  378. object-fit: cover;
  379. width: 500px !important;
  380. height: 250px !important;
  381. opacity: 1;
  382. transition: 0.3s ease-in-out;
  383. }
  384. }
  385. .sec03-1{
  386. .sec05-row{
  387. background: rgba(0, 0, 0, 0.8);
  388. text-align: center;
  389. height: 600px;
  390. @media screen and(max-width:$moblie) {
  391. height: 300px;
  392. }
  393. p {
  394. letter-spacing: 5px;
  395. }
  396. }
  397. }
  398. }
  399. .sec04 {
  400. .col-lg-4 {
  401. position: relative;
  402. background: rgb(128, 171, 41);
  403. transition: 0.3s ease-in-out;
  404. cursor: pointer;
  405. .sec04-p-m{
  406. color:#fff;
  407. text-align: center;
  408. font-size: 14px;
  409. transition: 0.3s;
  410. transition: 0.3s ease-in-out;
  411. @media screen and(min-width:$desktop) {
  412. width: 100%;
  413. position: absolute;
  414. top:100px;
  415. left:0px;
  416. font-size: 18px;
  417. opacity: 0;
  418. }
  419. }
  420. &:hover{
  421. .sec04-p-m{
  422. opacity: 1;
  423. }
  424. img{
  425. opacity: 0.2;
  426. @media screen and(max-width:$moblie) {
  427. opacity: 1;
  428. }
  429. }
  430. }
  431. @media screen and(max-width:$moblie) {
  432. background: none;
  433. }
  434. img {
  435. object-fit: cover;
  436. width: 480px !important;
  437. height: 280px !important;
  438. opacity: 1;
  439. transition: 0.3s ease-in-out;
  440. }
  441. }
  442. .sec04-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. }
  457. }
  458. }
  459. // 頁尾 footer
  460. #footer {
  461. background: #363636;
  462. text-align: center;
  463. width: 80vw;
  464. margin: 0 auto !important;
  465. @media screen and(max-width:$moblie) {
  466. width: 95vw;
  467. padding-bottom: 30vw;
  468. }
  469. a{
  470. text-decoration: none;
  471. color:#fff;
  472. }
  473. p {
  474. color: #fff;
  475. }
  476. }