123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863 |
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- $desktop: 1025px;
- $table: 1024px;
- $moblie: 767px;
- $navbgcolor: #eb144c;
- @media screen and(max-width:$table) {
- }
- @media screen and(max-width:$moblie) {
- }
- .container-fluid {
- width: 80vw;
- margin: 0 auto;
- @media screen and(max-width:$moblie) {
- width: 100vw;
- }
- }
- // 主選單
- #Navigation {
- width: 100vw;
- background-color: $navbgcolor;
- color: #fff;
- position: fixed;
- opacity: 1 !important;
- z-index: 20;
- #logo {
- padding-top: 3vw;
- @media screen and(max-width:$moblie) {
- padding: 15px;
- }
- 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;
- 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;
- }
- }
- }
- // banner
- #banner {
- width: 100vw;
- display: inline-block;
- background: #fff;
- #banner-container {
- width: 80vw;
- margin: 50px auto;
- padding-bottom: 5vw;
- @media screen and(max-width:$moblie) {
- width: 100vw;
- margin: 0;
- padding-bottom: 15vw;
- }
- img {
- padding-top: 10vw;
- width: 80vw;
- object-fit: cover;
- @media screen and(max-width:$moblie) {
- padding-top: 15vw;
- width: 100vw;
- }
- }
- }
- }
- // 最新課程-電腦版
- #sec01 {
- padding-bottom: 10vw;
- background: #fff;
- @media screen and(max-width:$moblie) {
- display: none;
- }
- #sec01-title {
- margin-bottom: 50px;
- 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 {
- width: 5vw;
- height: 5px;
- color: #e02d4b;
- margin: 10px auto;
- opacity: 1 !important;
- @media screen and(max-width:$moblie) {
- width: 30vw;
- }
- }
- }
- .learn-more {
- width: 45%;
- }
- #sec01-container {
- .card {
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
- border-radius: 10px;
- img {
- padding: 5px;
- height: 150px;
- object-fit: cover;
- }
- .card-title {
- font-weight: 900;
- }
- }
- }
- }
- // 最新課程-手機板
- #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;
- padding: 5vw 0px;
- @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;
- hr {
- width: 5vw;
- height: 5px;
- color: #fff;
- margin: 10px auto;
- opacity: 1 !important;
- @media screen and(max-width:$moblie) {
- width: 30vw;
- }
- }
- }
- position: relative;
- #sec02-content {
- position: absolute;
- top: -150px;
- 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 40%, #eb144c 20%);
-
- padding: 15px;
- font-weight: 900;
- color: #fff;
- text-align: right;
- padding: 20vw 0;
-
- #sec02-content {
- position: relative;
- }
- #sec02-top-box {
-
-
- @media screen and(max-width:350px) {
- left: 10px;
- }
- .sec02-box1 {
- color: #fff;
-
- #top1 {
- @media screen and(max-width:350px) {
- width: 100px;
- height: 130px;
- }
- }
- img {
-
- @media screen and(max-width:350px) {
- width: 70px;
- height: 100px;
- }
- }
- .sec02-top-text {
- font-size: 12px;
- text-align: center;
- @media screen and(max-width:350px) {
- }
- 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;
- }
- td {
- padding: 15px;
- }
- img {
- width: 80px;
- }
- .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;
- }
- }
- 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;
- 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 {
- width: 5vw;
- height: 5px;
- color: $navbgcolor;
- margin: 10px auto;
- opacity: 1 !important;
- @media screen and(max-width:$moblie) {
- width: 30vw;
- }
- }
- }
- .learn-more {
- width: 45%;
- }
- #sec04-container {
- .card {
- box-shadow: 0 10px 1px $navbgcolor;
- 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-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;
- }
- }
- #sec04-moblie-container {
- padding-top: 10vw;
- .col {
- margin: 10px;
- .card {
- img {
- height: 150px;
- object-fit: cover;
- }
- box-shadow: 0 10px 1px $navbgcolor;
- border-radius: 10px;
- .card-title {
- font-weight: 900;
- }
- .learn-more {
- width: 120px;
- }
- }
- }
- }
- }
- // sec05 課程分類-電腦版
- #sec05 {
- padding-top: 5vw;
- padding-bottom: 5vw;
- #sec05-title {
- margin-bottom: 50px;
- 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 {
- width: 5vw;
- height: 5px;
- color: $navbgcolor;
- margin: 10px auto;
- opacity: 1 !important;
- @media screen and(max-width:$moblie) {
- width: 30vw;
- }
- }
- }
- background-image: url();
- #sec05-container {
- img {
- width: 78vw;
- margin: 30px 0;
- @media screen and(max-width:$moblie) {
- width: 95vw;
- }
- }
- }
- }
- // sec06 合作對象 - 電腦版
- #sec06 {
- padding-top: 5vw;
- padding-bottom: 5vw;
- #sec06-container-box {
- padding-top: 8vw;
- background: url(./img/sec06/sec06-1.png), linear-gradient(180deg, transparent 50%, #fff 30%);
- background-size: contain;
- background-repeat: no-repeat;
- background-blend-mode: overlay;
- }
- #sec06-title {
- width: 80vw;
- margin: 0 auto;
- text-align: right !important;
- h1 {
- color: $navbgcolor;
- font-size: 45px;
- font-weight: 900;
- padding: 5px 10px;
- margin-top: 50px;
- margin-right:50px;
- @media screen and(max-width:$moblie) {
- font-weight: 900;
- font-size: 32px;
- }
- }
- hr {
- display: inline-block;
- margin-right:80px;
- width: 8vw;
- height: 5px;
- color: $navbgcolor;
- opacity: 1 !important;
- @media screen and(max-width:$moblie) {
- width: 30vw;
- }
- }
- }
- #sec06-container {
- text-align: center;
-
- .card {
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
- background: #fff;
- padding-top: 5vw;
- padding-bottom: 5vw;
- border: none;
- .sec09-7{
- width: 200px;
- }
- .adv4 {
- display: flex;
- align-items: center;
- img {
- align-items: center;
- }
- }
- }
- .col-3 {
- margin: 10px 0;
- @media screen and(max-width:$desktop) {
- padding: 15px;
- }
- @media screen and(max-width:$moblie) {
- padding: 5px;
- }
- img {
- object-fit: cover;
-
- @media screen and(max-width:$moblie) {
- padding: 0px;
- }
- }
- }
-
- .sec09-1 {
- padding: 50px;
- @media screen and(max-width:$moblie) {
- padding: 20px;
- }
- }
- }
- }
- // 頁尾
- #footer {
- width: 100vw;
- text-align: center;
- line-height: 2;
- background: $navbgcolor;
- color: #fff;
- padding-bottom: 3vw !important;
- .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;
- display: inline;
- @media screen and(max-width:$moblie) {
- display: block;
- font-size: 16px;
- margin: 8px;
- }
- }
- p {
- margin: 0 !important;
- }
- }
- }
|