style.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  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: 95%;
  391. }
  392. .img-block-list {
  393. padding: 2rem 8rem;
  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. @media (max-width: 1300px) {
  411. .header__right__video {
  412. position: absolute;
  413. width: calc(80% - 4%);
  414. }
  415. }
  416. @media (max-width: 992px) {
  417. .header__title {
  418. font-size: 3rem;
  419. }
  420. .cntheader .header__title {
  421. font-size: 2.2rem;
  422. }
  423. .header {
  424. padding-top: 4rem;
  425. height: 50vh;
  426. }
  427. .header__right {
  428. height: 40vh;
  429. }
  430. .header__right__magnifier {
  431. right: -2.5rem;
  432. bottom: 1rem;
  433. }
  434. .header__sub {
  435. font-size: 1.3rem;
  436. }
  437. .header__sub::before, .header__sub::after {
  438. width: 8%;
  439. }
  440. .header__sub::before {
  441. left: 30%;
  442. }
  443. .header__sub::after {
  444. left: 62%;
  445. }
  446. .header__form__input {
  447. font-size: .9rem;
  448. }
  449. .category__btngrp {
  450. padding: 0;
  451. }
  452. .category__btn {
  453. padding: .3rem 1.5rem;
  454. font-size: 1.2rem;
  455. }
  456. .ctncategory__btn {
  457. padding: .2rem 1rem;
  458. font-size: 1rem;
  459. }
  460. .top3 .row {
  461. padding: 0;
  462. }
  463. .card__rank {
  464. padding: .8rem 1rem;
  465. }
  466. .top3__num {
  467. left: .6rem;
  468. top: -2.5rem;
  469. font-size: 4rem;
  470. }
  471. .card__rank__word {
  472. margin-left: 1.5rem;
  473. font-size: 1.2rem;
  474. }
  475. .card__rank hr {
  476. margin-top: 8px;
  477. margin-bottom: 8px;
  478. }
  479. .top20 .row {
  480. padding: 0;
  481. }
  482. .top20__num {
  483. font-size: 2.1rem;
  484. width: 1.6rem;
  485. }
  486. .container__footer {
  487. width: 95vw;
  488. }
  489. .header__form {
  490. width: 85%;
  491. position: relative;
  492. }
  493. .header__form__input {
  494. margin-left: 0;
  495. width: 100%;
  496. }
  497. .header__form__sub {
  498. transform: none;
  499. position: absolute;
  500. right:0;
  501. top: 0;
  502. }
  503. .header__right__linecir {
  504. bottom: 0;
  505. }
  506. .cntheader__sub {
  507. font-size: 1.2rem;
  508. }
  509. .cntheader__sub::before {
  510. left: 13%;
  511. }
  512. .cntheader__sub::after {
  513. left: 72%;
  514. }
  515. .toparticle__title img {
  516. position: absolute;
  517. width: 90px;
  518. right: -2rem;
  519. top: -2rem;
  520. }
  521. .toparticle__top {
  522. font-size: 1.7rem;
  523. }
  524. .fb__fr {
  525. width: 100%;
  526. }
  527. .cntsubscribe__form {
  528. width: 100%;
  529. }
  530. }
  531. @media (max-width: 768px) {
  532. .header {
  533. height: 70vh;
  534. }
  535. .header .col-md-5 {
  536. margin-bottom: 3rem;
  537. }
  538. .header__right__bubble {
  539. width: 15%;
  540. }
  541. .header__right__magnifier {
  542. right: 4rem;
  543. bottom: 1rem;
  544. }
  545. .category {
  546. padding-top: 4rem;
  547. }
  548. .top3 {
  549. padding-bottom: 2rem;
  550. }
  551. .top3 .col-md-4 {
  552. margin-bottom: 1.5rem;
  553. }
  554. .top3 .col-md-4:nth-of-type(3) {
  555. margin-bottom: 0;
  556. }
  557. .card__rank {
  558. margin-bottom: 1.5rem;
  559. }
  560. .row-right {
  561. margin-top: 2rem;
  562. }
  563. .cntheader {
  564. padding-bottom: 0rem;
  565. }
  566. .header__right__video {
  567. position: absolute;
  568. width: calc(80% - 10%);
  569. left: 2.3rem;
  570. top: 1.5rem;
  571. }
  572. .img-block-list {
  573. padding: 2rem 1.5rem;
  574. }
  575. }
  576. @media (max-width: 576px) {
  577. .header__title {
  578. font-size: 2.5rem;
  579. }
  580. .header {
  581. padding-top: 3rem;
  582. height: 63vh;
  583. padding-bottom: 0rem
  584. }
  585. .header__right {
  586. height: 30vh;
  587. }
  588. .header__right__magnifier {
  589. right: 0rem;
  590. bottom: 1.5rem;
  591. }
  592. .category__btn {
  593. padding: .2rem 1rem;
  594. font-size: 1rem;
  595. }
  596. .category {
  597. padding: 1rem;
  598. }
  599. .footer_img {
  600. height: 50px;
  601. }
  602. .footer {
  603. font-size: .9rem;
  604. }
  605. }
  606. @media (max-width: 480px) {
  607. .ctncategory__btn {
  608. margin-top: .6rem;
  609. }
  610. .header__right__video {
  611. position: absolute;
  612. width: calc(80% - 5%);
  613. left: 2.1rem;
  614. top: 1.3rem;
  615. }
  616. }