style.css 11 KB

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