about.scss 14 KB

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