style.css 13 KB

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