style.css 10 KB

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