// 關於我頁面 * { margin: 0; padding: 0; box-sizing: border-box; font-family: 微軟正黑體; } $desktop: 1025px; $table: 1024px; $moblie: 767px; $Font-color: #fff; $title-color: #646464; $bgcolor: #f4fffc; $navbgcolor: #a9d0c5; body { position: relative; // background: url(../img/about/banner/banner.webp), linear-gradient(180deg, transparent 1%, #363636 1%); // background-size: 120vw; // background-repeat: no-repeat; background: #363636; @media screen and(max-width:$moblie) { background: #363636; } .arrow { position: fixed; right: 30px; top: 500px; width: 45px; height: 40px; z-index: 10; a { margin: 30px 0px; } .icon { @media screen and(max-width:$moblie) { display: none; } } &:hover { box-shadow: 1px 3px 13px -2px rgba(0, 0, 0, 0.35); } } } #Navigation { background: rgba(112, 112, 112, 0.5); height: 4.5vw; width: 100vw !important; position: fixed; z-index: 10; @media screen and(max-width:$table) { height: 8vw; } @media screen and(max-width:$moblie) { height: 15vw; position: fixed; z-index: 5; background: rgba(0, 0, 0, 0.8); } #nav { width: 100vw; margin: 0 auto; } // rwd要注意高度 #logo { padding-top: 0.5vw; @media screen and(max-width:$moblie) { padding-top: 0; } img { width: 120px; } } #link { text-align: right; padding: 1.5vw 3vw; @media screen and(max-width:$table) { padding-top: 2vw; } @media screen and(max-width:$moblie) { display: none; } a { text-decoration: none; color: $Font-color; letter-spacing: 1px; font-size: 0.9rem; font-weight: 600; cursor: pointer; padding: 5px; position: relative; img { object-fit: cover; } } } #menu-btn1 { position: absolute; right: 1vw; top: 1vw; width: 18vw; z-index: 6; @media screen and(min-width:$desktop) { display: none; } @media screen and(min-width:768px) { display: none; } } } #Navigation2 { background: rgba(112, 112, 112, 0.75); height: 4.5vw; width: 100vw !important; position: fixed; bottom: 0px; z-index: 10; @media screen and(min-width:$desktop) { display: none; } @media screen and(max-width:$table) { height: 8vw; } @media screen and(max-width:$moblie) { height: 15vw; position: fixed; z-index: 5; background: rgba(0, 0, 0, 0.8); } #nav { width: 90vw; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; a { text-decoration: none; color: $Font-color; letter-spacing: 1px; font-size: 0.9rem; font-weight: 600; cursor: pointer; position: relative; img { margin: 10px auto; object-fit: cover; } } } // rwd要注意高度 } #banner { position: relative; #about-title { position: absolute; right: 50px; top: 100px; @media screen and(max-width:$moblie) { display: none; } } #bannerdes-img { position: absolute; z-index: -1; opacity: 1; .banner-img { width: 100vw; height: 70vh; object-fit: cover; @media screen and(max-width:$moblie) { height: 80vh; } } } @media screen and(max-width:$moblie) { // background-image: url(../img/about/banner/banner-m2.png); background-size: 110vw; background-repeat: no-repeat; } #banner-container { padding-top: 15vw; width: 90vw; @media screen and(max-width:$moblie) { width: 95vw; } .banner-des-about { @media screen and(max-width:$moblie) { display: none; } .banner-2 { img { @media screen and(max-width:$moblie) { display: none; } } } .banner-3 { img { margin-bottom: -52px; } } } .banner-m { @media screen and(min-width:$desktop) { display: none; } .bannerm-1 { @media screen and(max-width:$moblie) { margin: 0; } background: rgba(141, 194, 31, 0.8); .banner1-1 { font-size: 18px; } } } ul { position: static; border-top-right-radius:30px; border-bottom-right-radius:30px; text-align: center; background: rgba(141, 194, 31, 0.8); @media screen and(min-width:$desktop) { margin-left: 8px; margin-bottom: 10px; } @media screen and(max-width:$moblie) { margin-top: 5vw; width: 100vw; } .nav-item { padding: 10px; @media screen and(max-width:$moblie) { padding: 6px; } .nav-item2 { position: relative; &:after { content: url(../img/about/sec01/item-arrow.png); display: block; width: 80%; height: 8px; position: absolute; left: 12%; bottom: 0; transition: all 0.3s; opacity: 0; } // &:active:after, // &:focus:after{ // opacity: 1; // } .after-nav { opacity: 1; } &:focus:after { width: 80%; opacity: 1; } } } } // 公司簡介 .tab-content { // 公司簡介 .condition { padding: 24px; font-size: 14px; padding-bottom: 10vw; @media screen and(max-width:$moblie) { padding: 18px; } } .idea { padding: 24px; font-size: 14px; padding-bottom: 10vw; background-size: contain; background-repeat: no-repeat; background-blend-mode: overlay; } .contact { padding-bottom: 10vw; padding: 24px; font-size: 14px; background-size: contain; background-repeat: no-repeat; background-blend-mode: overlay; word-break: break-all; a { text-decoration: none; color: #fff; } @media screen and(max-width:$moblie) { padding: 18px; } } // 個案賞析 .sec02, .sec04 { .col-lg-4 { position: relative; background: rgb(128, 171, 41); transition: 0.3s ease-in-out; cursor: pointer; .sec02-p-m { color: #fff; text-align: center; font-size: 14px; transition: 0.3s; transition: 0.3s ease-in-out; @media screen and(min-width:$desktop) { width: 100%; position: absolute; top: 100px; left: 0px; font-size: 18px; opacity: 0; } } &:hover { .play1 { opacity: 1; } .sec02-p-m, .sec03-p-m { opacity: 1; } img { opacity: 0.2; @media screen and(max-width:$moblie) { opacity: 1; } } } @media screen and(max-width:$moblie) { background: none; } img { object-fit: cover; width: 480px !important; height: 280px !important; opacity: 1; transition: 0.3s ease-in-out; } .sec03-img-m { text-align: center; width: 100%; position: absolute; top: 100px; } .sec03-img-m1 { text-align: center; width: 100%; position: absolute; @media screen and(max-width:$moblie) { top: 80px; } .play1 { width: 50px !important; height: 50px !important; @media screen and(max-width:$moblie) { display: none; } } } } } .sec03 { .col-lg-4 { position: relative; background: rgb(128, 171, 41); transition: 0.3s ease-in-out; cursor: pointer; .sec03-p-m { color: #fff; text-align: center; font-size: 14px; transition: 0.3s; transition: 0.3s ease-in-out; @media screen and(min-width:$desktop) { width: 100%; position: absolute; top: 100px; left: 0px; font-size: 16px; opacity: 0; } } .sec03-p-m { @media screen and(min-width:$desktop) { position: absolute; top: 50px; left: 0px; background-size: contain; opacity: 0; } } &:hover { .play1 { opacity: 1; } .sec02-p-m, .sec03-p-m { opacity: 1; } img { opacity: 0.2; @media screen and(max-width:$moblie) { opacity: 1; } } } @media screen and(max-width:$moblie) { background: none; } img { object-fit: cover; width: 435px !important; height: 200px !important; opacity: 1; transition: 0.3s ease-in-out; } .sec03-img-m { text-align: center; width: 100%; position: absolute; top: 100px; } .sec03-img-m1 { text-align: center; width: 100%; position: absolute; @media screen and(max-width:$moblie) { top: 80px; } .play1 { width: 50px !important; height: 50px !important; } } } .sec03-1 { .sec05-row { background: rgba(0, 0, 0, 0.8); text-align: center; height: 600px; @media screen and(max-width:$moblie) { height: 300px; } p { letter-spacing: 5px; } } } } .sec04 { .col-lg-4 { position: relative; background: rgb(128, 171, 41); transition: 0.3s ease-in-out; cursor: pointer; .sec04-p-m { color: #fff; text-align: center; font-size: 14px; transition: 0.3s; transition: 0.3s ease-in-out; @media screen and(min-width:$desktop) { width: 100%; position: absolute; top: 50px; left: 0px; font-size: 18px; opacity: 0; } } &:hover { .play1 { opacity: 1; } .sec04-p-m { opacity: 1; } img { opacity: 0.2; @media screen and(max-width:$moblie) { opacity: 1; } } } @media screen and(max-width:$moblie) { background: none; } img { object-fit: cover; width: 430px !important; height: 200px !important; opacity: 1; transition: 0.3s ease-in-out; @media screen and(max-width:$moblie) { height: 180px !important; } } .sec03-img-m { text-align: center; width: 100%; position: absolute; top: 100px; } .sec03-img-m1 { text-align: center; width: 100%; position: absolute; @media screen and(max-width:$moblie) { top: 80px; } .play1 { width: 50px !important; height: 50px !important; } } } .sec04-1 { .sec05-row { background: rgba(0, 0, 0, 0.8); text-align: center; height: 600px; @media screen and(max-width:$moblie) { height: 300px; } p { letter-spacing: 5px; } } } } } } } // 頁尾 footer #footer { background: #363636; text-align: center; width: 80vw; margin: 0 auto !important; @media screen and(max-width:$moblie) { width: 95vw; padding-bottom: 30vw; } a { text-decoration: none; color: #fff; } p { color: #fff; } }