style.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775
  1. .navbar {
  2. box-shadow: 0 2px 10px 2px rgb(204, 204, 204);
  3. background-color: white;
  4. width: 100%;
  5. }
  6. .navbar .navbar-collapse {
  7. flex-grow: 0;
  8. }
  9. .header {
  10. margin-top: 77px;
  11. padding-top: 6.5rem;
  12. height: 75vh;
  13. position: relative;
  14. padding-bottom: 3rem;
  15. }
  16. .header__lefttop {
  17. position: absolute;
  18. left: 0;
  19. top: 0;
  20. z-index: -1;
  21. width: 350px;
  22. }
  23. .header__title {
  24. font-size: 3rem;
  25. color: #20616D;
  26. font-weight: 400;
  27. }
  28. .header__sub {
  29. color: #38A7BB;
  30. font-size: 1.5rem;
  31. font-weight: 300;
  32. position: relative;
  33. }
  34. .header__sub::before, .header__sub::after {
  35. content: " ";
  36. position: absolute;
  37. width: 12%;
  38. height: 1px;
  39. background-color: #38A7BB;
  40. top: 50%;
  41. }
  42. .header__sub::before {
  43. left: 28%;
  44. }
  45. .header__sub::after {
  46. left: 60%;
  47. }
  48. .header__form {
  49. margin: 1rem auto;
  50. justify-content: center;
  51. }
  52. .header__form__input {
  53. border-radius: 10rem;
  54. padding: .4rem .8rem;
  55. width: 60%;
  56. margin-left: 4.5rem;
  57. }
  58. .header__form__sub {
  59. border-radius: 10rem;
  60. background-color: #FCA25E;
  61. color: white;
  62. border: none;
  63. width: 5rem;
  64. transform: translateX(-100%);
  65. transition: all .3s;
  66. }
  67. .header__form__sub:hover {
  68. background-color: #ff892e;
  69. }
  70. .header__right {
  71. width: 80%;
  72. height: 50vh;
  73. background-image: url('../imgs/電腦2.webp');
  74. background-size: contain;
  75. background-repeat: no-repeat;
  76. margin: 0 auto;
  77. position: relative;
  78. }
  79. .header__right.header__dm {
  80. background-image: url('https://i.imgur.com/SOu53ii.jpg');
  81. }
  82. .header__right__cir {
  83. width: 60%;
  84. position: absolute;
  85. right: 0%;
  86. top: -5%;
  87. z-index: -1;
  88. }
  89. .header__right__video {
  90. position: absolute;
  91. width: calc(80% - 10%);
  92. height: auto;
  93. left: 3.3rem;
  94. top: 1.8rem;
  95. }
  96. .header__right__magnifier {
  97. position: absolute;
  98. width: 25%;
  99. right: 3%;
  100. bottom: 1%;
  101. }
  102. .header__right__bubble {
  103. position: absolute;
  104. width: 22%;
  105. top: 0;
  106. left: 0;
  107. transform: translate(-60%, -50%);
  108. }
  109. .header__right__linecir {
  110. width: 45%;
  111. position: absolute;
  112. left: -8%;
  113. bottom: -3%;
  114. z-index: -1;
  115. }
  116. .category {
  117. padding: 2rem 0;
  118. }
  119. .category__sub_h2 {
  120. position: relative;
  121. }
  122. .category__sub_h2::after {
  123. position: absolute;
  124. content: "";
  125. width: 4rem;
  126. height: 1rem;
  127. border-bottom: 10px solid #ff892e;
  128. left: 50%;
  129. top: -1.5rem;
  130. transform: translateX(-50%);
  131. }
  132. .category__btngrp {
  133. padding: 0 8rem;
  134. }
  135. .category__btn {
  136. background-color: #A7D9E2;
  137. border: none;
  138. border-radius: 5rem;
  139. outline: none;
  140. color: white;
  141. font-size: 1.3rem;
  142. padding: .4rem 2rem;
  143. text-decoration: none;
  144. }
  145. .category__btn.active {
  146. background-color: #38A7BB;
  147. text-decoration: none;
  148. color: white;
  149. }
  150. .card__rank {
  151. border: 1px solid #CECECE;
  152. box-shadow: 1px 1px 5px 1px rgb(211, 211, 211);
  153. position: relative;
  154. padding: 1rem 1.5rem;
  155. }
  156. .top20 .card__rank {
  157. margin-bottom: 1.5rem;
  158. }
  159. .top3 {
  160. padding: 3rem 0rem;
  161. padding-bottom: 5rem;
  162. position: relative;
  163. }
  164. .top3 .row {
  165. padding: 0rem 4rem;
  166. }
  167. .top3 .backfill {
  168. position: absolute;
  169. width: 100%;
  170. height: 100px;
  171. background-color: #FFEBE8;
  172. left: 0;
  173. right: 0;
  174. top: 7rem;
  175. }
  176. .top3__num {
  177. color: #FCA25E;
  178. font-size: 5.8rem;
  179. font-family: 'Trebuchet MS';
  180. position: absolute;
  181. left: 1rem;
  182. top: -3.5rem;
  183. font-weight: 300;
  184. }
  185. .card__rank__word {
  186. color: #20616D;
  187. margin-left: 3rem;
  188. font-size: 1.8rem;
  189. font-weight: 400;
  190. }
  191. .card__rank__goto {
  192. text-align: right;
  193. }
  194. .card__rank__link {
  195. color: #38A7BB;
  196. text-decoration: none;
  197. font-weight: 400;
  198. }
  199. .card__rank__link:hover {
  200. color: #19879b;
  201. }
  202. .top20 {
  203. padding-bottom: 5rem;
  204. }
  205. .top20 .row {
  206. padding: 0rem 4rem;
  207. }
  208. .top20 .card__rank__word {
  209. margin-left: 0;
  210. }
  211. .top20__num {
  212. color: #FCA25E;
  213. font-size: 2.5rem;
  214. font-family: 'Trebuchet MS';
  215. font-weight: 300;
  216. display: inline-block;
  217. width: 3rem;
  218. }
  219. .footer {
  220. background-color: #555555;
  221. padding: 50px 0;
  222. color: #999999;
  223. }
  224. .footer h4 {
  225. text-transform: uppercase;
  226. color: white;
  227. font-size: 14px;
  228. font-weight: 800;
  229. }
  230. .footer__btn__text {
  231. font-size: 1.3rem;
  232. color: white;
  233. }
  234. .footer .btn {
  235. border: 2px solid #38a7bb;
  236. color: #38a7bb;
  237. text-decoration: none;
  238. }
  239. .followus__btn {
  240. text-decoration: none;
  241. color: white;
  242. }
  243. .followus__btn:hover {
  244. color: #38a7bb;
  245. }
  246. .footer .btn:hover {
  247. color: white;
  248. background-color: #38a7bb;
  249. }
  250. .followus__txt {
  251. display: inline-block;
  252. margin-right: 1rem;
  253. color: white;
  254. font-weight: 600;
  255. }
  256. .footer_img {
  257. height: 60px;
  258. }
  259. /* content page */
  260. .cntheader {
  261. margin-top: 81px;
  262. padding: 4rem 0;
  263. position: relative;
  264. padding-bottom: 2rem;
  265. }
  266. .cntheader__sub {
  267. color: #38A7BB;
  268. font-size: 1.5rem;
  269. font-weight: 300;
  270. position: relative;
  271. }
  272. .cntheader__sub::before, .cntheader__sub::after {
  273. content: " ";
  274. position: absolute;
  275. width: 15%;
  276. height: 1px;
  277. background-color: #38A7BB;
  278. top: 50%;
  279. }
  280. .cntheader__sub::before {
  281. left: 18%;
  282. }
  283. .cntheader__sub::after {
  284. left: 67%;
  285. }
  286. .cntheader .category__btngrp {
  287. padding: 0 4rem;
  288. }
  289. .card__art {
  290. padding: 1rem;
  291. border: 1px solid #20616D;
  292. border-radius: 1rem;
  293. margin-bottom: 1rem;
  294. }
  295. .card__title {
  296. font-size: 1.8rem;
  297. font-weight: 400;
  298. }
  299. .card__text {
  300. color: #918F8F;
  301. }
  302. .card__link {
  303. display: inline-block;
  304. color: #38A7BB;
  305. margin-right: 1rem;
  306. text-decoration: none;
  307. }
  308. .card__link:hover {
  309. color: #20616D;
  310. }
  311. .toparticle {
  312. border: 1px solid #CECECE;
  313. box-shadow: 1px 2px 3px 1px rgb(224, 224, 224);
  314. }
  315. .toparticle__title {
  316. color: white;
  317. background-color: #38A7BB;
  318. text-align: center;
  319. font-size: 1.3rem;
  320. padding: .3rem 0;
  321. position: relative;
  322. }
  323. .toparticle__title img {
  324. position: absolute;
  325. width: 150px;
  326. right: -4rem;
  327. top: -3.5rem;
  328. }
  329. .toparticle__list {
  330. padding: 1.5rem;
  331. padding-top: 0;
  332. list-style: none;
  333. padding-bottom: 1rem;
  334. }
  335. .toparticle__list-item {
  336. padding: .3rem;
  337. border-bottom: 1px solid #CECECE;
  338. color: #38A7BB;
  339. position: relative;
  340. }
  341. .toparticle__list-item:nth-of-type(10) {
  342. border: none;
  343. }
  344. .toparticle__list-item a {
  345. text-decoration: none;
  346. color: #38A7BB;
  347. }
  348. .toparticle__num {
  349. color: #FCA25E;
  350. font-size: 1.8rem;
  351. font-family: 'Trebuchet MS';
  352. font-weight: 300;
  353. margin-right: 8px;
  354. }
  355. .toparticle__top {
  356. font-size: 2rem;
  357. }
  358. .toparticle__list-item small {
  359. position: absolute;
  360. right: 0;
  361. top: 45%;
  362. }
  363. .cntsubscribe {
  364. text-align: center;
  365. }
  366. .cntsubscribe__form {
  367. position: relative;
  368. }
  369. .cntsubscribe__sub {
  370. border-radius: 10rem;
  371. background-color: #FCA25E;
  372. color: white;
  373. border: none;
  374. width: 5rem;
  375. position: absolute;
  376. right: 0;
  377. top: 0;
  378. padding: .45rem .8rem;
  379. }
  380. .cntsubscribe__sub:hover {
  381. background-color: #ff892e;
  382. color: white;
  383. }
  384. .cntsubscribe__input {
  385. border-radius: 10rem;
  386. padding: .4rem .8rem;
  387. width: 100%;
  388. }
  389. .img-block .img-block__img {
  390. width: 70%;
  391. }
  392. .img-block-list {
  393. padding: 2rem 6rem;
  394. }
  395. .img-block__linecir {
  396. position: absolute;
  397. right: 10%;
  398. bottom: 5%;
  399. width: 30%;
  400. z-index: -1;
  401. }
  402. .img-block__linecir.left {
  403. right: -10%;
  404. bottom: -5%;
  405. }
  406. .img-block__linecir.right {
  407. left: -10%;
  408. bottom: -5%;
  409. }
  410. .img-block__linecir.left {
  411. left: -10%;
  412. bottom: -5%;
  413. }
  414. .aboutus_img {
  415. width: 100%;
  416. }
  417. .aboutus_prize_img {
  418. border: 1.5rem solid rgb(231, 231, 231);
  419. border-radius: 1rem;
  420. }
  421. .header__ai-training__span {
  422. width: 6rem;
  423. height: 6rem;
  424. padding: 1rem;
  425. display: inline-block;
  426. font-size: 1.4rem;
  427. background-color: rgb(255, 255, 159);
  428. border-radius: 50%;
  429. }
  430. .ai-training__action {
  431. border: 3px dashed #FFEBE8;
  432. }
  433. .ai-training__card .card-img-top {
  434. height: 35vh;
  435. }
  436. .ai-training__action ul {
  437. list-style: none;
  438. line-height: 2rem;
  439. }
  440. .ai-training__action__box {
  441. flex-direction: row;
  442. }
  443. .ai-training__action__btn {
  444. padding: 1.2rem 3rem;
  445. border: none;
  446. outline: none;
  447. border-radius: 4rem;
  448. background: #FCA25E;
  449. font-size: 1.5rem;
  450. }
  451. .ai-training__action__img {
  452. width: 15rem;
  453. height: 15rem;
  454. background-repeat: no-repeat;
  455. background-position: center;
  456. background-size: cover;
  457. border-radius: 50%;
  458. border: 3px solid #ffdbd6;
  459. }
  460. @media (max-width: 1300px) {
  461. .header__right__video {
  462. position: absolute;
  463. width: calc(80% - 4%);
  464. }
  465. }
  466. @media (max-width: 992px) {
  467. .header__title {
  468. font-size: 3rem;
  469. }
  470. .cntheader .header__title {
  471. font-size: 2.2rem;
  472. }
  473. .header {
  474. padding-top: 4rem;
  475. height: 50vh;
  476. }
  477. .header__right {
  478. height: 40vh;
  479. }
  480. .header__right__magnifier {
  481. right: -2.5rem;
  482. bottom: 1rem;
  483. }
  484. .header__sub {
  485. font-size: 1.3rem;
  486. }
  487. .header__sub::before, .header__sub::after {
  488. width: 8%;
  489. }
  490. .header__sub::before {
  491. left: 30%;
  492. }
  493. .header__sub::after {
  494. left: 62%;
  495. }
  496. .header__form__input {
  497. font-size: .9rem;
  498. }
  499. .category__btngrp {
  500. padding: 0;
  501. }
  502. .category__btn {
  503. padding: .3rem 1.5rem;
  504. font-size: 1.2rem;
  505. }
  506. .ctncategory__btn {
  507. padding: .2rem 1rem;
  508. font-size: 1rem;
  509. }
  510. .top3 .row {
  511. padding: 0;
  512. }
  513. .card__rank {
  514. padding: .8rem 1rem;
  515. }
  516. .top3__num {
  517. left: .6rem;
  518. top: -2.5rem;
  519. font-size: 4rem;
  520. }
  521. .card__rank__word {
  522. margin-left: 1.5rem;
  523. font-size: 1.2rem;
  524. }
  525. .card__rank hr {
  526. margin-top: 8px;
  527. margin-bottom: 8px;
  528. }
  529. .top20 .row {
  530. padding: 0;
  531. }
  532. .top20__num {
  533. font-size: 2.1rem;
  534. width: 1.6rem;
  535. }
  536. .container__footer {
  537. width: 95vw;
  538. }
  539. .header__form {
  540. width: 85%;
  541. position: relative;
  542. }
  543. .header__form__input {
  544. margin-left: 0;
  545. width: 100%;
  546. }
  547. .header__form__sub {
  548. transform: none;
  549. position: absolute;
  550. right:0;
  551. top: 0;
  552. }
  553. .header__right__linecir {
  554. bottom: 0;
  555. }
  556. .cntheader__sub {
  557. font-size: 1.2rem;
  558. }
  559. .cntheader__sub::before {
  560. left: 13%;
  561. }
  562. .cntheader__sub::after {
  563. left: 72%;
  564. }
  565. .toparticle__title img {
  566. position: absolute;
  567. width: 90px;
  568. right: -2rem;
  569. top: -2rem;
  570. }
  571. .toparticle__top {
  572. font-size: 1.7rem;
  573. }
  574. .fb__fr {
  575. width: 100%;
  576. }
  577. .cntsubscribe__form {
  578. width: 100%;
  579. }
  580. .ai-training__action__box {
  581. flex-direction: column;
  582. }
  583. }
  584. @media (max-width: 768px) {
  585. .header {
  586. height: 70vh;
  587. }
  588. .header .col-md-5 {
  589. margin-bottom: 3rem;
  590. }
  591. .header__right__bubble {
  592. width: 15%;
  593. }
  594. .header__right__magnifier {
  595. right: 4rem;
  596. bottom: 1rem;
  597. }
  598. .category {
  599. padding-top: 4rem;
  600. }
  601. .top3 {
  602. padding-bottom: 2rem;
  603. }
  604. .top3 .col-md-4 {
  605. margin-bottom: 1.5rem;
  606. }
  607. .top3 .col-md-4:nth-of-type(3) {
  608. margin-bottom: 0;
  609. }
  610. .card__rank {
  611. margin-bottom: 1.5rem;
  612. }
  613. .row-right {
  614. margin-top: 2rem;
  615. }
  616. .cntheader {
  617. padding-bottom: 0rem;
  618. }
  619. .header__right__video {
  620. position: absolute;
  621. width: calc(80% - 10%);
  622. left: 2.3rem;
  623. top: 1.5rem;
  624. }
  625. .img-block-list {
  626. padding: 2rem 1.5rem;
  627. }
  628. .ai-training__card .card-img-top {
  629. height: 50vh;
  630. }
  631. }
  632. @media (max-width: 576px) {
  633. .header__title {
  634. font-size: 2.5rem;
  635. }
  636. .header {
  637. padding-top: 3rem;
  638. height: 63vh;
  639. padding-bottom: 0rem
  640. }
  641. .header.ai-training {
  642. height: 80vh;
  643. }
  644. .header__right {
  645. height: 30vh;
  646. }
  647. .header__right__magnifier {
  648. right: 0rem;
  649. bottom: 1.5rem;
  650. }
  651. .category__btn {
  652. padding: .2rem 1rem;
  653. font-size: 1rem;
  654. }
  655. .category {
  656. padding: 1rem;
  657. }
  658. .footer_img {
  659. height: 50px;
  660. }
  661. .footer {
  662. font-size: .9rem;
  663. }
  664. }
  665. @media (max-width: 480px) {
  666. .ctncategory__btn {
  667. margin-top: .6rem;
  668. }
  669. .header__right__video {
  670. position: absolute;
  671. width: calc(80% - 5%);
  672. left: 2.1rem;
  673. top: 1.3rem;
  674. }
  675. }