style.scss 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@600;700;900&display=swap');
  7. @font-face {
  8. font-family: 綜藝體繁;
  9. src: url(./wt040-綜藝體繁.ttf);
  10. font-weight: 900;
  11. font-display: swap;
  12. }
  13. $desktop: 1025px;
  14. $table: 1024px;
  15. $moblie: 767px;
  16. $navbgcolor: #292421;
  17. $subcolor: #9400d3;
  18. @media screen and(max-width:$table) {
  19. }
  20. @media screen and(max-width:$moblie) {
  21. }
  22. body {
  23. font-family:'Noto Serif TC', serif ;
  24. .secn-title {
  25. font-family: 'Noto Serif TC', serif;
  26. text-align: left;
  27. color: #292421;
  28. font-size: 30px;
  29. font-weight: 700;
  30. padding: 5px 10px;
  31. margin-bottom: 0px;
  32. @media screen and(max-width:$moblie) {
  33. font-weight: 900;
  34. font-size: 26px;
  35. }
  36. }
  37. .line {
  38. width: 8vw;
  39. height: 3px;
  40. color:$subcolor;
  41. margin-left: 12px;
  42. opacity: 1 !important;
  43. margin-top: 10px;
  44. @media screen and(max-width:$moblie) {
  45. width: 30vw;
  46. }
  47. }
  48. }
  49. .container-fluid {
  50. width: 80vw;
  51. margin: 0 auto;
  52. @media screen and(max-width:$moblie) {
  53. width: 100vw;
  54. }
  55. }
  56. // 主選單
  57. #Navigation {
  58. width: 100vw;
  59. position: fixed;
  60. z-index: 20;
  61. background:rgba(41, 36, 33, 0.9);
  62. color:#fff;
  63. #logo {
  64. padding-top: 2.5vw;
  65. padding-left: 2vw;
  66. @media screen and(max-width:$moblie) {
  67. padding-top: 1vw;
  68. padding-left: 5vw;
  69. }
  70. img {
  71. width: 180px;
  72. @media screen and(max-width:$moblie) {
  73. width: 140px;
  74. }
  75. }
  76. }
  77. #link {
  78. padding: 4vw 1vw 2vw 1vw;
  79. @media screen and(max-width:$moblie) {
  80. display: none;
  81. }
  82. a {
  83. text-decoration: none;
  84. color: #fff;
  85. letter-spacing: 1px;
  86. font-size: 0.9rem;
  87. font-weight: 600;
  88. cursor: pointer;
  89. padding: 15px;
  90. position: relative;
  91. :hover {
  92. opacity: 0.8;
  93. }
  94. &:after {
  95. content: "";
  96. display: block;
  97. width: 80%;
  98. height: 3px;
  99. background-color: #fff;
  100. position: absolute;
  101. left: 12%;
  102. bottom: 0;
  103. transition: all 0.3s;
  104. opacity: 0;
  105. }
  106. &:hover:after {
  107. width: 80%;
  108. opacity: 1;
  109. }
  110. @media screen and(max-width:$table) {
  111. padding: 5px;
  112. padding-top: 2vw;
  113. }
  114. }
  115. }
  116. #menu-btn1 {
  117. position: absolute;
  118. right: 2vw;
  119. top: 5vw;
  120. width: 15vw;
  121. z-index: 6;
  122. @media screen and(min-width:$desktop) {
  123. display: none;
  124. }
  125. @media screen and(min-width:768px) {
  126. display: none;
  127. }
  128. }
  129. }
  130. // 行動版彈跳式選單
  131. #menu-box {
  132. width: 40vw;
  133. right: 0px;
  134. position: fixed;
  135. top: 0px;
  136. z-index: 20;
  137. overflow: hidden;
  138. display: none;
  139. @media screen and(min-width:$desktop) {
  140. display: none;
  141. }
  142. hr {
  143. margin: 5px auto !important;
  144. width: 25vw;
  145. background: #fff;
  146. opacity: 1 !important;
  147. }
  148. #menu-box2 {
  149. padding-bottom: 5vw;
  150. position: relative;
  151. width: 40vw;
  152. background-color: $navbgcolor;
  153. z-index: 7;
  154. text-align: center;
  155. @media screen and(max-width:$moblie) {
  156. }
  157. @media screen and(max-width:350px) {
  158. }
  159. .close {
  160. padding: 30px 15px 15px 15px;
  161. }
  162. a {
  163. display: inline-block;
  164. text-decoration: none;
  165. color: #fff;
  166. font-size: 14px;
  167. font-weight: 900;
  168. text-align: center;
  169. padding: 0 !important;
  170. }
  171. }
  172. }
  173. .courseadv{
  174. font-weight: 900;
  175. width: 100vw;
  176. padding: 2vw;
  177. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  178. img{
  179. cursor: pointer;
  180. }
  181. }
  182. // banner
  183. #banner {
  184. margin-top: 7.5vw;
  185. padding-bottom:3vw ;
  186. width: 100vw;
  187. display: inline-block;
  188. background: #000;
  189. @media screen and(max-width:$moblie) {
  190. margin-top: 70px;
  191. }
  192. .form {
  193. padding-top: 5vw;
  194. background: #000;
  195. h1 {
  196. text-align: center;
  197. font-size: 2.5rem;
  198. color: #fff;
  199. font-weight: 900;
  200. @media screen and(max-width:$moblie) {
  201. font-size: 1.8rem;
  202. }
  203. @media screen and(max-width:350px) {
  204. font-size: 1.5rem;
  205. }
  206. }
  207. h4 {
  208. text-align: center;
  209. margin-top: 2rem;
  210. color: #adadad;
  211. }
  212. h2 {
  213. text-align: center;
  214. margin-top: 30px;
  215. color: #fff;
  216. }
  217. .email-form {
  218. width: 70%;
  219. @media screen and(max-width:$moblie) {
  220. width: 100%;
  221. }
  222. .course-tab {
  223. margin: 15px 0px;
  224. font-family: 微軟正黑體;
  225. font-size: 18px;
  226. display: inline-block;
  227. width: 100%;
  228. color: #fff;
  229. }
  230. #email {
  231. width: 100%;
  232. height: 35px;
  233. margin: 15px 0;
  234. padding: 25px 5px;
  235. background: #1b1c1e;
  236. border: 1px solid rgba(0, 0, 0, 0.3);
  237. border-radius: 5px;
  238. color: #fff;
  239. }
  240. .selector1 {
  241. cursor: pointer;
  242. margin: 0.3rem;
  243. padding: 0.5rem;
  244. border: 1px solid #bebebe;
  245. border-radius: 5px;
  246. width: 8vw;
  247. color: #bebebe;
  248. transition: 0.3s;
  249. @media screen and(max-width:$moblie) {
  250. width: 40%;
  251. }
  252. img {
  253. filter: invert(100%) sepia(100%) saturate(1%) hue-rotate(174deg) brightness(102%) contrast(101%);
  254. }
  255. &:hover {
  256. color: #fff;
  257. border: 1px solid #fff;
  258. }
  259. }
  260. .email-subbtn {
  261. margin: 0 auto;
  262. width: 100%;
  263. margin: 30px 0px;
  264. padding: 15px 0;
  265. background-color: #9400d3;
  266. // background-color: $navbgcolor;
  267. // background: rgba(41, 36, 33, 0.9);
  268. /* 邊框:寬度 樣式 顏色 */
  269. border: 0 solid #000;
  270. color: #fff;
  271. border-radius: 5px;
  272. &:hover {
  273. background-color: #57027c;
  274. }
  275. }
  276. }
  277. }
  278. #banner-container {
  279. overflow: hidden;
  280. @media screen and(max-width:$moblie) {
  281. width: 100vw;
  282. margin: 0;
  283. padding-bottom: 15vw;
  284. }
  285. img {
  286. margin-bottom: -50px;
  287. width: 55vw;
  288. height: 30vw;
  289. object-fit: cover;
  290. @media screen and(max-width:$moblie) {
  291. padding-top: 15vw;
  292. width: 100vw;
  293. height: auto;
  294. }
  295. }
  296. }
  297. }
  298. // 最新課程-電腦版
  299. #sec01 {
  300. padding-top: 5vw;
  301. padding-bottom: 10vw;
  302. background: #fff;
  303. // @media screen and(max-width:$moblie) {
  304. // display: none;
  305. // }
  306. #sec01-title {
  307. margin-bottom: 50px;
  308. }
  309. .learn-more {
  310. width: 45%;
  311. }
  312. #sec01-container {
  313. .sec01-1 {
  314. .card {
  315. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  316. border-radius: 10px;
  317. img {
  318. padding: 5px;
  319. object-fit: cover;
  320. }
  321. a{
  322. color:#000;
  323. text-decoration: none;
  324. transition: 0.3s;
  325. cursor: pointer;
  326. &:hover {
  327. color: $subcolor;
  328. }
  329. }
  330. .card-title1 {
  331. // font-weight: 900;
  332. height: 100px;
  333. font-size: 20px;
  334. }
  335. .card-content1 {
  336. height: 100px;
  337. }
  338. }
  339. }
  340. }
  341. }
  342. // 最新課程-手機板
  343. #sec01-moblie {
  344. padding-top: 5vw;
  345. padding-bottom: 5vw;
  346. background: #fff;
  347. position: relative;
  348. overflow: hidden;
  349. .arrow-table {
  350. position: fixed;
  351. width: 25px;
  352. right: 15px;
  353. bottom: 240px;
  354. z-index: 6;
  355. @media screen and(max-width:350px) {
  356. right: 10px;
  357. }
  358. }
  359. @media screen and(min-width:$desktop) {
  360. display: none;
  361. }
  362. #sec01-moblie-header {
  363. h1 {
  364. text-align: center;
  365. color: #e02d4b;
  366. font-size: 45px;
  367. font-weight: 900;
  368. padding: 5px 10px;
  369. @media screen and(max-width:$moblie) {
  370. font-weight: 900;
  371. font-size: 32px;
  372. }
  373. }
  374. hr {
  375. margin: 10px auto !important ;
  376. width: 25vw;
  377. height: 5px;
  378. color: #e02d4b;
  379. margin: 10px;
  380. opacity: 1 !important;
  381. }
  382. }
  383. #sec01-moblie-container {
  384. padding-top: 10vw;
  385. .col {
  386. margin: 10px;
  387. .card {
  388. img {
  389. height: 150px;
  390. object-fit: cover;
  391. }
  392. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  393. border-radius: 10px;
  394. .card-title {
  395. font-weight: 900;
  396. }
  397. .learn-more {
  398. width: 120px;
  399. }
  400. }
  401. }
  402. }
  403. }
  404. // sec02 TOP排名 電腦版
  405. #sec02 {
  406. background: $navbgcolor;
  407. // background: rgba(41,36,33,0.9);
  408. padding: 5vw 0px;
  409. padding-bottom: 8vw;
  410. @media screen and(max-width:$moblie) {
  411. display: none;
  412. }
  413. #sec02-container {
  414. width: 90vw;
  415. padding: 15px;
  416. font-weight: 900;
  417. color: #fff;
  418. position: relative;
  419. // 電腦版top圖片排行
  420. #sec02-top-box {
  421. #sec02-top-title {
  422. text-align: center;
  423. h1{
  424. font-family: 'Noto Serif TC', serif;
  425. }
  426. // h1{
  427. // font-family:綜藝體繁 ;
  428. // }
  429. hr {
  430. width: 5vw;
  431. height: 5px;
  432. color:$subcolor;
  433. margin: 10px auto;
  434. opacity: 1 !important;
  435. @media screen and(max-width:$moblie) {
  436. width: 30vw;
  437. }
  438. }
  439. }
  440. position: relative;
  441. #sec02-content {
  442. position: absolute;
  443. top: -180px;
  444. left: 300px;
  445. }
  446. .sec02-box1 {
  447. color: #fff;
  448. img {
  449. display: inline;
  450. width: 200px;
  451. height: 200px;
  452. object-fit: cover;
  453. }
  454. .sec02-top-text {
  455. font-size: 20px;
  456. span {
  457. font-size: 30px;
  458. }
  459. }
  460. }
  461. }
  462. }
  463. }
  464. // sec02 TOP排名 手機板
  465. #sec02-moblie {
  466. padding-top: 3vw;
  467. @media screen and(min-width:$desktop) {
  468. display: none;
  469. }
  470. #sec02-moblie-header {
  471. h1 {
  472. text-align: center;
  473. color: $navbgcolor;
  474. font-size: 45px;
  475. font-weight: 900;
  476. padding: 5px 10px;
  477. @media screen and(max-width:$moblie) {
  478. font-weight: 900;
  479. font-size: 32px;
  480. }
  481. }
  482. hr {
  483. margin: 10px auto !important;
  484. width: 25vw;
  485. height: 5px;
  486. color: $navbgcolor;
  487. margin: 10px;
  488. opacity: 1 !important;
  489. }
  490. }
  491. #sec02-container {
  492. background: linear-gradient(180deg, #fff 20%, transparent 35%, $navbgcolor 20%);
  493. font-weight: 900;
  494. color: #fff;
  495. text-align: right;
  496. padding: 20vw 0;
  497. #sec02-content {
  498. position: relative;
  499. padding: 5px;
  500. }
  501. #sec02-top-box {
  502. @media screen and(max-width:350px) {
  503. left: 10px;
  504. }
  505. .sec02-box1 {
  506. color: #fff;
  507. #top1 {
  508. width: 120px;
  509. @media screen and(max-width:350px) {
  510. width: 100px;
  511. height: auto;
  512. }
  513. }
  514. img {
  515. object-fit: cover;
  516. @media screen and(max-width:350px) {
  517. width: 70px;
  518. height: auto;
  519. }
  520. }
  521. .sec02-top-text {
  522. font-size: 12px;
  523. text-align: left;
  524. @media screen and(max-width:350px) {
  525. text-align: left;
  526. }
  527. span {
  528. font-size: 30px;
  529. @media screen and(max-width:350px) {
  530. font-size: 25px;
  531. }
  532. }
  533. }
  534. }
  535. }
  536. }
  537. }
  538. // sec03 排名table-電腦版
  539. #sec03 {
  540. padding-bottom: 5vw;
  541. @media screen and(max-width:$moblie) {
  542. display: none;
  543. }
  544. #sec03-table {
  545. .sec03-table-title {
  546. font-family: 微軟正黑體;
  547. font-weight: 900;
  548. padding: 15px;
  549. font-size: 35px;
  550. }
  551. .table {
  552. th {
  553. font-size: 40px;
  554. display: table-cell;
  555. vertical-align: middle;
  556. color: $navbgcolor;
  557. }
  558. td {
  559. padding: 15px;
  560. a {
  561. text-decoration: none;
  562. color: #000;
  563. transition: 0.3s;
  564. cursor: pointer;
  565. &:hover {
  566. color:$subcolor;
  567. }
  568. }
  569. }
  570. img {
  571. width: 80px;
  572. border-radius: 5px;
  573. }
  574. .sec03-table-text {
  575. padding: 10px;
  576. display: table-cell;
  577. vertical-align: middle;
  578. h1 {
  579. font-size: 20px;
  580. margin: 0;
  581. }
  582. p {
  583. margin: 0;
  584. }
  585. }
  586. }
  587. }
  588. }
  589. // sec03排名table-手機板
  590. #sec03-moblie {
  591. position: relative;
  592. .arrow-table {
  593. position: fixed;
  594. width: 25px;
  595. right: 15px;
  596. bottom: 250px;
  597. z-index: 6;
  598. @media screen and(max-width:350px) {
  599. right: 10px;
  600. bottom: 200px;
  601. }
  602. }
  603. .sec03-table-title,
  604. .sec03-table-title2 {
  605. font-family: 微軟正黑體;
  606. font-weight: 900;
  607. font-size: 14px;
  608. display: inline-block;
  609. color: #9b9b9b;
  610. }
  611. .contant-toggle {
  612. display: inline-block;
  613. color: #000;
  614. padding-bottom: 10px;
  615. border-bottom: 2px solid #000;
  616. }
  617. #sec03-slider {
  618. padding-top: 5vw;
  619. .slick-slide img {
  620. display: inline;
  621. }
  622. #sec03-slider1,
  623. #sec03-slider2 {
  624. margin: 0 5px;
  625. @media screen and(max-width:350px) {
  626. margin: 0 5px;
  627. }
  628. }
  629. .table {
  630. th {
  631. font-size: 40px;
  632. display: table-cell;
  633. vertical-align: middle;
  634. padding: 15px;
  635. @media screen and(max-width:350px) {
  636. font-size: 30px;
  637. }
  638. }
  639. td {
  640. display: table-cell;
  641. vertical-align: middle;
  642. padding: 15px;
  643. padding: 10px;
  644. @media screen and(max-width:350px) {
  645. padding: 0px;
  646. }
  647. a {
  648. text-decoration: none;
  649. color: #000;
  650. transition: 0.3s;
  651. cursor: pointer;
  652. &:hover {
  653. color: #2828ff;
  654. }
  655. }
  656. }
  657. img {
  658. width: 70px;
  659. }
  660. .sec03-table-text {
  661. padding: 0px 0px 0px 3px;
  662. display: table-cell;
  663. vertical-align: middle;
  664. @media screen and(max-width:350px) {
  665. padding: 0px;
  666. }
  667. h1 {
  668. font-size: 14px;
  669. margin: 0;
  670. }
  671. p {
  672. margin: 0;
  673. font-size: 12px;
  674. }
  675. }
  676. }
  677. }
  678. @media screen and(min-width:$desktop) {
  679. display: none;
  680. }
  681. }
  682. // sec04 專欄報導-電腦版
  683. #sec04 {
  684. background: linear-gradient(180deg, #fff 50%, #ededf9 50%);
  685. padding-bottom: 10vw;
  686. @media screen and(max-width:$moblie) {
  687. display: none;
  688. }
  689. #sec04-title {
  690. margin-bottom: 50px;
  691. }
  692. .learn-more {
  693. width: 45%;
  694. }
  695. #sec04-container {
  696. a {
  697. text-decoration: none;
  698. color: #000;
  699. transition: 0.3s;
  700. cursor: pointer;
  701. &:hover {
  702. color: $subcolor;
  703. }
  704. }
  705. .card {
  706. box-shadow: 0 10px 1px #9400d3;
  707. border-radius: 10px;
  708. img {
  709. padding: 5px;
  710. height: 150px;
  711. object-fit: cover;
  712. }
  713. .card-title {
  714. font-weight: 900;
  715. }
  716. }
  717. }
  718. }
  719. // sec04專欄報導 手機板
  720. #sec04-moblie {
  721. padding-top: 5vw;
  722. padding-bottom: 5vw;
  723. background: #fff;
  724. position: relative;
  725. overflow: hidden;
  726. .arrow-table {
  727. position: fixed;
  728. width: 25px;
  729. right: 15px;
  730. bottom: 240px;
  731. z-index: 6;
  732. @media screen and(max-width:350px) {
  733. right: 10px;
  734. }
  735. }
  736. @media screen and(min-width:$desktop) {
  737. display: none;
  738. }
  739. #sec04-moblie-container {
  740. padding-top: 10vw;
  741. .col {
  742. margin: 10px;
  743. a {
  744. text-decoration: none;
  745. color: #000;
  746. transition: 0.3s;
  747. cursor: pointer;
  748. &:hover {
  749. color: $navbgcolor;
  750. }
  751. }
  752. .card {
  753. img {
  754. height: 150px;
  755. object-fit: cover;
  756. }
  757. box-shadow: 0 10px 1px #9400d3;
  758. border-radius: 10px;
  759. .card-body {
  760. height: 260px;
  761. @media screen and(max-width:350px) {
  762. padding: 0.5rem 0.5rem;
  763. }
  764. }
  765. .card-title {
  766. font-weight: 900;
  767. }
  768. .card-text {
  769. @media screen and(max-width:350px) {
  770. font-size: 14px;
  771. }
  772. }
  773. }
  774. }
  775. }
  776. }
  777. // sec05 課程分類-電腦版
  778. #sec05 {
  779. padding-top: 5vw;
  780. padding-bottom: 5vw;
  781. @media screen and(max-width:$moblie) {
  782. display: none;
  783. }
  784. #sec05-title {
  785. margin-bottom: 50px;
  786. }
  787. #tag-group {
  788. @media screen and(max-width:$moblie) {
  789. text-align: center;
  790. }
  791. .tag {
  792. button {
  793. padding-left: 10px;
  794. padding-right: 10px;
  795. margin-right: 30px;
  796. color: #292421;
  797. background: none;
  798. font-size: 24px;
  799. @media screen and(max-width:$moblie) {
  800. font-size: 18px;
  801. padding-left: 5px;
  802. padding-right: 5px;
  803. margin-right: 5px;
  804. color: #292421;
  805. }
  806. @media screen and(max-width:350px) {
  807. font-size: 16px;
  808. }
  809. &:hover,
  810. &:focus {
  811. color: #fff;
  812. background: #292421;
  813. }
  814. }
  815. }
  816. }
  817. .sec05-container {
  818. .slick-prev:before,
  819. .slick-next:before {
  820. opacity: 0;
  821. }
  822. .slick-prev,
  823. .slick-next {
  824. width: 40px;
  825. height: 40px;
  826. content: none;
  827. }
  828. .slick-prev {
  829. background-image: url(./img/next0.png);
  830. background-repeat: no-repeat;
  831. background-size: contain;
  832. left: -40px;
  833. &:hover,
  834. &:focus {
  835. background-image: url(./img/next0.png);
  836. background-repeat: no-repeat;
  837. }
  838. }
  839. .slick-next {
  840. background-image: url(./img/next.png);
  841. background-repeat: no-repeat;
  842. background-size: contain;
  843. right: -40px;
  844. &:hover,
  845. &:focus {
  846. background-image: url(./img/next.png);
  847. background-repeat: no-repeat;
  848. }
  849. }
  850. @media screen and(max-width:$moblie) {
  851. padding: 5px;
  852. margin: 0;
  853. }
  854. .course-content {
  855. animation-name: Cardload;
  856. animation-duration: 1.5s;
  857. }
  858. .sec05-course,.sec05-course2{
  859. .card{
  860. border: none !important;
  861. margin: 15px;
  862. }
  863. a {
  864. text-decoration: none;
  865. color: #000;
  866. transition: 0.3s;
  867. cursor: pointer;
  868. &:hover {
  869. color: $subcolor;
  870. }
  871. }
  872. img {
  873. border-radius: 10px;
  874. object-fit: cover;
  875. @media screen and(max-width:$moblie) {
  876. // width: 95vw;
  877. }
  878. }
  879. // .card-title {
  880. // font-weight: 900;
  881. // height: 55px;
  882. // }
  883. // .banner {
  884. // img {
  885. // height: 22vw;
  886. // @media screen and(max-width:$moblie) {
  887. // height: auto;
  888. // }
  889. // }
  890. // }
  891. // .card-content {
  892. // height: 100px;
  893. // @media screen and(max-width:$moblie) {
  894. // height: auto;
  895. // }
  896. // }
  897. // .price {
  898. // font-size: 20px;
  899. // @media screen and(max-width:350px) {
  900. // font-size: 16px;
  901. // }
  902. // }
  903. }
  904. }
  905. }
  906. // sec05 行動版
  907. #sec05-m{
  908. @media screen and(min-width:$desktop) {
  909. display: none;
  910. }
  911. a{
  912. color:#000;
  913. text-decoration: none;
  914. transition: 0.3s;
  915. cursor: pointer;
  916. &:hover {
  917. color: $subcolor;
  918. }
  919. }
  920. }
  921. // 頁尾
  922. #footer {
  923. width: 100vw;
  924. text-align: center;
  925. line-height: 2;
  926. background: $navbgcolor;
  927. color: #fff;
  928. .footer-link {
  929. padding-top: 3vw;
  930. a {
  931. text-decoration: none;
  932. font-size: 20px;
  933. padding: 10px;
  934. color: #fff;
  935. @media screen and(max-width:$moblie) {
  936. font-size: 14px;
  937. padding: 0 !important;
  938. }
  939. @media screen and(max-width:400px) {
  940. font-size: 12px;
  941. }
  942. span {
  943. font-size: 28px;
  944. @media screen and(max-width:$moblie) {
  945. font-size: 16px;
  946. }
  947. @media screen and(max-width:350px) {
  948. font-size: 14px;
  949. }
  950. }
  951. }
  952. }
  953. .text {
  954. padding-top: 3vw;
  955. a {
  956. text-decoration: none;
  957. color: #fff;
  958. }
  959. h2 {
  960. font-size: 20px;
  961. margin: 10px;
  962. letter-spacing: 1px;
  963. @media screen and(max-width:$moblie) {
  964. display: block;
  965. font-size: 16px;
  966. margin: 8px;
  967. }
  968. }
  969. p {
  970. margin: 0 !important;
  971. }
  972. img {
  973. width: 30px;
  974. margin: 10px;
  975. filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(138deg) brightness(103%) contrast(102%);
  976. transition: 0.3s;
  977. &:hover {
  978. opacity: 0.6;
  979. }
  980. }
  981. }
  982. }
  983. // 第二層
  984. #sec10 {
  985. width: 90vw;
  986. margin: 0 auto;
  987. .sec10-title {
  988. font-size: 43px;
  989. @media screen and(max-width:$moblie) {
  990. width: 95vw;
  991. font-size: 26px;
  992. }
  993. }
  994. hr {
  995. height: 1px;
  996. background: #000;
  997. }
  998. .content {
  999. word-wrap: break-word;
  1000. p {
  1001. line-height: 2;
  1002. font-size: 18px;
  1003. }
  1004. .video-work {
  1005. #video2 {
  1006. video {
  1007. width: 100%;
  1008. }
  1009. }
  1010. }
  1011. }
  1012. .side-bar {
  1013. h1 {
  1014. color: #000;
  1015. font-size: 36px;
  1016. }
  1017. a {
  1018. text-decoration: none;
  1019. color: #000;
  1020. transition: 0.3s;
  1021. cursor: pointer;
  1022. &:hover {
  1023. color: $navbgcolor;
  1024. }
  1025. }
  1026. h5 {
  1027. font-size: 20px;
  1028. font-weight: 900;
  1029. }
  1030. p {
  1031. font-size: 16px;
  1032. }
  1033. }
  1034. }
  1035. #sec11 {
  1036. #sec11-container {
  1037. a {
  1038. text-decoration: none;
  1039. color: #000;
  1040. transition: 0.3s;
  1041. cursor: pointer;
  1042. &:hover {
  1043. color: $navbgcolor;
  1044. }
  1045. }
  1046. h1 {
  1047. color: #000;
  1048. font-size: 30px;
  1049. }
  1050. width: 90vw;
  1051. .sec11-01 {
  1052. @media screen and(max-width:$moblie) {
  1053. display: block;
  1054. }
  1055. }
  1056. .col {
  1057. overflow: hidden;
  1058. }
  1059. .sec11-img {
  1060. width: 550px;
  1061. height: 350px;
  1062. object-fit: cover;
  1063. transition: 0.3s;
  1064. cursor: pointer;
  1065. &:hover {
  1066. transform: scale(1.02);
  1067. }
  1068. @media screen and(max-width:$moblie) {
  1069. height: 250px;
  1070. }
  1071. }
  1072. h2 {
  1073. font-weight: 900;
  1074. font-size: 24px;
  1075. }
  1076. }
  1077. }
  1078. @keyframes Cardload {
  1079. 0% {
  1080. opacity: 0;
  1081. }
  1082. 100% {
  1083. opacity: 1;
  1084. }
  1085. }
  1086. .btn-close{
  1087. color:#fff ;
  1088. background: none !important;
  1089. img{
  1090. width: 24px;
  1091. object-fit: cover;
  1092. filter: invert(74%) sepia(4%) saturate(5%) hue-rotate(317deg) brightness(94%) contrast(89%);
  1093. }
  1094. }