* { margin: 0; padding: 0; box-sizing: border-box; } @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@600;700;900&display=swap'); @font-face { font-family: 綜藝體繁; src: url(./wt040-綜藝體繁.ttf); font-weight: 900; font-display: swap; } $desktop: 1025px; $table: 1024px; $moblie: 767px; $navbgcolor: #292421; $subcolor: #9400d3; @media screen and(max-width:$table) { } @media screen and(max-width:$moblie) { } #opentalk-content{ position: relative; overflow: hidden !important; } body { font-family:'Noto Serif TC', serif ; .secn-title { font-family: 'Noto Serif TC', serif; text-align: left; color: #292421; font-size: 30px; font-weight: 700; padding: 5px 10px; margin-bottom: 0px; @media screen and(max-width:$moblie) { font-weight: 900; font-size: 26px; } } .line { width: 8vw; height: 3px; color:$subcolor; margin-left: 12px; opacity: 1 !important; margin-top: 10px; @media screen and(max-width:$moblie) { width: 30vw; } } } .container-fluid { width: 80vw; margin: 0 auto; @media screen and(max-width:$moblie) { width: 100vw; } } // 主選單 #Navigation { width: 100vw; position: fixed; z-index: 20; background:rgba(41, 36, 33, 0.9); color:#fff; #logo { padding-top: 2.5vw; padding-left: 2vw; @media screen and(max-width:$moblie) { padding-top: 1vw; padding-left: 5vw; } img { width: 180px; @media screen and(max-width:$moblie) { width: 140px; } } } #link { padding: 4vw 1vw 2vw 1vw; @media screen and(max-width:$moblie) { display: none; } a { text-decoration: none; color: #fff; letter-spacing: 1px; font-size: 0.9rem; font-weight: 600; cursor: pointer; padding: 15px; position: relative; :hover { opacity: 0.8; } &:after { content: ""; display: block; width: 80%; height: 3px; background-color: #fff; position: absolute; left: 12%; bottom: 0; transition: all 0.3s; opacity: 0; } &:hover:after { width: 80%; opacity: 1; } @media screen and(max-width:$table) { padding: 5px; padding-top: 2vw; } } } #menu-btn1 { position: absolute; right: 2vw; top: 5vw; width: 15vw; z-index: 6; @media screen and(min-width:$desktop) { display: none; } @media screen and(min-width:768px) { display: none; } } } // 行動版彈跳式選單 #menu-box { width: 40vw; right: 0px; position: fixed; top: 0px; z-index: 20; overflow: hidden; display: none; @media screen and(min-width:$desktop) { display: none; } hr { margin: 5px auto !important; width: 25vw; background: #fff; opacity: 1 !important; } #menu-box2 { padding-bottom: 5vw; position: relative; width: 40vw; background-color: $navbgcolor; z-index: 7; text-align: center; @media screen and(max-width:$moblie) { } @media screen and(max-width:350px) { } .close { padding: 30px 15px 15px 15px; } a { display: inline-block; text-decoration: none; color: #fff; font-size: 14px; font-weight: 900; text-align: center; padding: 0 !important; } } } .courseadv{ font-weight: 900; width: 100vw; padding: 2vw; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); img{ cursor: pointer; } } // banner #banner { margin-top: 7.5vw; padding-bottom:3vw ; width: 100vw; display: inline-block; background: #000; @media screen and(max-width:$moblie) { margin-top: 70px; } .form { padding-top: 5vw; background: #000; h1 { text-align: center; font-size: 2.5rem; color: #fff; font-weight: 900; @media screen and(max-width:$moblie) { font-size: 1.8rem; } @media screen and(max-width:350px) { font-size: 1.5rem; } } h4 { text-align: center; margin-top: 2rem; color: #adadad; } h2 { text-align: center; margin-top: 30px; color: #fff; } .email-form { width: 70%; @media screen and(max-width:$moblie) { width: 100%; } .course-tab { margin: 15px 0px; font-family: 微軟正黑體; font-size: 18px; display: inline-block; width: 100%; color: #fff; } #email { width: 100%; height: 35px; margin: 15px 0; padding: 25px 5px; background: #1b1c1e; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 5px; color: #fff; } .selector1 { cursor: pointer; margin: 0.3rem; padding: 0.5rem; border: 1px solid #bebebe; border-radius: 5px; width: 8vw; color: #bebebe; transition: 0.3s; @media screen and(max-width:$moblie) { width: 40%; } img { filter: invert(100%) sepia(100%) saturate(1%) hue-rotate(174deg) brightness(102%) contrast(101%); } &:hover { color: #fff; border: 1px solid #fff; } } .email-subbtn { margin: 0 auto; width: 100%; margin: 30px 0px; padding: 15px 0; background-color: #9400d3; // background-color: $navbgcolor; // background: rgba(41, 36, 33, 0.9); /* 邊框:寬度 樣式 顏色 */ border: 0 solid #000; color: #fff; border-radius: 5px; &:hover { background-color: #57027c; } } } } #banner-container { overflow: hidden; @media screen and(max-width:$moblie) { width: 100vw; margin: 0; padding-bottom: 15vw; } img { margin-bottom: -50px; width: 55vw; height: 30vw; object-fit: cover; @media screen and(max-width:$moblie) { padding-top: 15vw; width: 100vw; height: auto; } } } } // 最新課程-電腦版 #sec01 { padding-top: 5vw; padding-bottom: 10vw; background: #fff; // @media screen and(max-width:$moblie) { // display: none; // } #sec01-title { margin-bottom: 50px; } .learn-more { width: 45%; } #sec01-container { .sec01-1 { .card { box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); border-radius: 10px; img { padding: 5px; object-fit: cover; } a{ color:#000; text-decoration: none; transition: 0.3s; cursor: pointer; &:hover { color: $subcolor; } } .card-title1 { // font-weight: 900; height: 100px; font-size: 20px; } .card-content1 { height: 100px; } } } } } // 最新課程-手機板 #sec01-moblie { padding-top: 5vw; padding-bottom: 5vw; background: #fff; position: relative; overflow: hidden; .arrow-table { position: fixed; width: 25px; right: 15px; bottom: 240px; z-index: 6; @media screen and(max-width:350px) { right: 10px; } } @media screen and(min-width:$desktop) { display: none; } #sec01-moblie-header { h1 { text-align: center; color: #e02d4b; font-size: 45px; font-weight: 900; padding: 5px 10px; @media screen and(max-width:$moblie) { font-weight: 900; font-size: 32px; } } hr { margin: 10px auto !important ; width: 25vw; height: 5px; color: #e02d4b; margin: 10px; opacity: 1 !important; } } #sec01-moblie-container { padding-top: 10vw; .col { margin: 10px; .card { img { height: 150px; object-fit: cover; } box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); border-radius: 10px; .card-title { font-weight: 900; } .learn-more { width: 120px; } } } } } // sec02 TOP排名 電腦版 #sec02 { background: $navbgcolor; // background: rgba(41,36,33,0.9); padding: 5vw 0px; padding-bottom: 8vw; @media screen and(max-width:$moblie) { display: none; } #sec02-container { width: 90vw; padding: 15px; font-weight: 900; color: #fff; position: relative; // 電腦版top圖片排行 #sec02-top-box { #sec02-top-title { text-align: center; h1{ font-family: 'Noto Serif TC', serif; } // h1{ // font-family:綜藝體繁 ; // } hr { width: 5vw; height: 5px; color:$subcolor; margin: 10px auto; opacity: 1 !important; @media screen and(max-width:$moblie) { width: 30vw; } } } position: relative; #sec02-content { position: absolute; top: -180px; left: 300px; } .sec02-box1 { color: #fff; img { display: inline; width: 200px; height: 200px; object-fit: cover; } .sec02-top-text { font-size: 20px; span { font-size: 30px; } } } } } } // sec02 TOP排名 手機板 #sec02-moblie { padding-top: 3vw; @media screen and(min-width:$desktop) { display: none; } #sec02-moblie-header { h1 { text-align: center; color: $navbgcolor; font-size: 45px; font-weight: 900; padding: 5px 10px; @media screen and(max-width:$moblie) { font-weight: 900; font-size: 32px; } } hr { margin: 10px auto !important; width: 25vw; height: 5px; color: $navbgcolor; margin: 10px; opacity: 1 !important; } } #sec02-container { background: linear-gradient(180deg, #fff 20%, transparent 35%, $navbgcolor 20%); font-weight: 900; color: #fff; text-align: right; padding: 20vw 0; #sec02-content { position: relative; padding: 5px; } #sec02-top-box { @media screen and(max-width:350px) { left: 10px; } .sec02-box1 { color: #fff; #top1 { width: 120px; @media screen and(max-width:350px) { width: 100px; height: auto; } } img { object-fit: cover; @media screen and(max-width:350px) { width: 70px; height: auto; } } .sec02-top-text { font-size: 12px; text-align: left; @media screen and(max-width:350px) { text-align: left; } span { font-size: 30px; @media screen and(max-width:350px) { font-size: 25px; } } } } } } } // sec03 排名table-電腦版 #sec03 { padding-bottom: 5vw; @media screen and(max-width:$moblie) { display: none; } #sec03-table { .sec03-table-title { font-family: 微軟正黑體; font-weight: 900; padding: 15px; font-size: 35px; } .table { th { font-size: 40px; display: table-cell; vertical-align: middle; color: $navbgcolor; } td { padding: 15px; a { text-decoration: none; color: #000; transition: 0.3s; cursor: pointer; &:hover { color:$subcolor; } } } img { width: 80px; border-radius: 5px; } .sec03-table-text { padding: 10px; display: table-cell; vertical-align: middle; h1 { font-size: 20px; margin: 0; } p { margin: 0; } } } } } // sec03排名table-手機板 #sec03-moblie { position: relative; .arrow-table { position: fixed; width: 25px; right: 15px; bottom: 250px; z-index: 6; @media screen and(max-width:350px) { right: 10px; bottom: 200px; } } .sec03-table-title, .sec03-table-title2 { font-family: 微軟正黑體; font-weight: 900; font-size: 14px; display: inline-block; color: #9b9b9b; } .contant-toggle { display: inline-block; color: #000; padding-bottom: 10px; border-bottom: 2px solid #000; } #sec03-slider { padding-top: 5vw; .slick-slide img { display: inline; } #sec03-slider1, #sec03-slider2 { margin: 0 5px; @media screen and(max-width:350px) { margin: 0 5px; } } .table { th { font-size: 40px; display: table-cell; vertical-align: middle; padding: 15px; @media screen and(max-width:350px) { font-size: 30px; } } td { display: table-cell; vertical-align: middle; padding: 15px; padding: 10px; @media screen and(max-width:350px) { padding: 0px; } a { text-decoration: none; color: #000; transition: 0.3s; cursor: pointer; &:hover { color: #2828ff; } } } img { width: 70px; } .sec03-table-text { padding: 0px 0px 0px 3px; display: table-cell; vertical-align: middle; @media screen and(max-width:350px) { padding: 0px; } h1 { font-size: 14px; margin: 0; } p { margin: 0; font-size: 12px; } } } } @media screen and(min-width:$desktop) { display: none; } } // sec04 專欄報導-電腦版 #sec04 { background: linear-gradient(180deg, #fff 50%, #ededf9 50%); padding-bottom: 10vw; @media screen and(max-width:$moblie) { display: none; } #sec04-title { margin-bottom: 50px; } .learn-more { width: 45%; } #sec04-container { a { text-decoration: none; color: #000; transition: 0.3s; cursor: pointer; &:hover { color: $subcolor; } } .card { box-shadow: 0 10px 1px #9400d3; border-radius: 10px; img { padding: 5px; height: 150px; object-fit: cover; } .card-title { font-weight: 900; } } } } // sec04專欄報導 手機板 #sec04-moblie { padding-top: 5vw; padding-bottom: 5vw; background: #fff; position: relative; overflow: hidden; .arrow-table { position: fixed; width: 25px; right: 15px; bottom: 240px; z-index: 6; @media screen and(max-width:350px) { right: 10px; } } @media screen and(min-width:$desktop) { display: none; } #sec04-moblie-container { padding-top: 10vw; .col { margin: 10px; a { text-decoration: none; color: #000; transition: 0.3s; cursor: pointer; &:hover { color: $navbgcolor; } } .card { img { height: 150px; object-fit: cover; } box-shadow: 0 10px 1px #9400d3; border-radius: 10px; .card-body { height: 260px; @media screen and(max-width:350px) { padding: 0.5rem 0.5rem; } } .card-title { font-weight: 900; } .card-text { @media screen and(max-width:350px) { font-size: 14px; } } } } } } // sec05 課程分類-電腦版 #sec05 { padding-top: 5vw; padding-bottom: 5vw; @media screen and(max-width:$moblie) { display: none; } #sec05-title { margin-bottom: 50px; } #tag-group { @media screen and(max-width:$moblie) { text-align: center; } .tag { button { padding-left: 10px; padding-right: 10px; margin-right: 30px; color: #292421; background: none; font-size: 24px; @media screen and(max-width:$moblie) { font-size: 18px; padding-left: 5px; padding-right: 5px; margin-right: 5px; color: #292421; } @media screen and(max-width:350px) { font-size: 16px; } &:hover, &:focus { color: #fff; background: #292421; } } } } .sec05-container { .slick-prev:before, .slick-next:before { opacity: 0; } .slick-prev, .slick-next { width: 40px; height: 40px; content: none; } .slick-prev { background-image: url(./img/next0.png); background-repeat: no-repeat; background-size: contain; left: -40px; &:hover, &:focus { background-image: url(./img/next0.png); background-repeat: no-repeat; } } .slick-next { background-image: url(./img/next.png); background-repeat: no-repeat; background-size: contain; right: -40px; &:hover, &:focus { background-image: url(./img/next.png); background-repeat: no-repeat; } } @media screen and(max-width:$moblie) { padding: 5px; margin: 0; } .course-content { animation-name: Cardload; animation-duration: 1.5s; } .sec05-course,.sec05-course2{ .card{ border: none !important; margin: 15px; } a { text-decoration: none; color: #000; transition: 0.3s; cursor: pointer; &:hover { color: $subcolor; } img{ height: 10vw; object-fit: cover; } } img { border-radius: 10px; object-fit: cover; @media screen and(max-width:$moblie) { // width: 95vw; } } // .card-title { // font-weight: 900; // height: 55px; // } // .banner { // img { // height: 22vw; // @media screen and(max-width:$moblie) { // height: auto; // } // } // } // .card-content { // height: 100px; // @media screen and(max-width:$moblie) { // height: auto; // } // } // .price { // font-size: 20px; // @media screen and(max-width:350px) { // font-size: 16px; // } // } } } } // sec05 行動版 #sec05-m{ @media screen and(min-width:$desktop) { display: none; } .price{ font-size: 18px; @media screen and(max-width:350px) { font-size:16px ; } } a{ color:#000; text-decoration: none; transition: 0.3s; cursor: pointer; &:hover { color: $subcolor; } } } // 頁尾 #footer { width: 100vw; text-align: center; line-height: 2; background: $navbgcolor; color: #fff; .footer-link { padding-top: 3vw; a { text-decoration: none; font-size: 20px; padding: 10px; color: #fff; @media screen and(max-width:$moblie) { font-size: 14px; padding: 0 !important; } @media screen and(max-width:400px) { font-size: 12px; } span { font-size: 28px; @media screen and(max-width:$moblie) { font-size: 16px; } @media screen and(max-width:350px) { font-size: 14px; } } } } .text { padding-top: 3vw; a { text-decoration: none; color: #fff; } h2 { font-size: 20px; margin: 10px; letter-spacing: 1px; @media screen and(max-width:$moblie) { display: block; font-size: 16px; margin: 8px; } } p { margin: 0 !important; } img { width: 30px; margin: 10px; filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(138deg) brightness(103%) contrast(102%); transition: 0.3s; &:hover { opacity: 0.6; } } } } // 第二層 #sec10 { width: 90vw; margin: 0 auto; .sec10-title { font-size: 43px; @media screen and(max-width:$moblie) { width: 95vw; font-size: 26px; } } hr { height: 1px; background: #000; } .content { word-wrap: break-word; p { line-height: 2; font-size: 18px; } .video-work { #video2 { video { width: 100%; } } } } .side-bar { h1 { color: #000; font-size: 36px; } a{ color:#000; text-decoration: none; transition: 0.3s; cursor: pointer; &:hover { color: $subcolor; } } h5 { font-size: 20px; font-weight: 900; } p { font-size: 16px; } } } #sec11 { #sec11-container { a{ color:#000; text-decoration: none; transition: 0.3s; cursor: pointer; &:hover { color: $subcolor; } } h1 { color: #000; font-size: 30px; } width: 90vw; .sec11-01 { @media screen and(max-width:$moblie) { display: block; } } .col { overflow: hidden; } .sec11-img { width: 550px; height: 350px; object-fit: cover; transition: 0.3s; cursor: pointer; &:hover { transform: scale(1.02); } @media screen and(max-width:$moblie) { height: 250px; } } h2 { font-weight: 900; font-size: 24px; } } } @keyframes Cardload { 0% { opacity: 0; } 100% { opacity: 1; } } .btn-close{ color:#fff ; background: none !important; img{ width: 24px; object-fit: cover; filter: invert(74%) sepia(4%) saturate(5%) hue-rotate(317deg) brightness(94%) contrast(89%); } }