style.css 10 KB

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