extra.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748
  1. :root > * {
  2. --md-primary-fg-color: #518FC1;
  3. --md-primary-fg-color--light:#518FC1;
  4. --md-primary-fg-color--dark: #518FC1;
  5. }
  6. /* 给所有元素加上边框 */
  7. /* * {
  8. outline: 1px solid #518FC1;
  9. } */
  10. button.md-top {
  11. font-family: LXGW WenKai; /* 修改字体 */
  12. font-size: 16px; /* 修改字体大小 */
  13. font-weight: bold; /* 修改字体粗细 */
  14. color: #518FC1; /* 修改字体颜色 */
  15. }
  16. :root {
  17. --md-text-font: "LXGW WenKai";
  18. } /* 字体 */
  19. .ml3 {
  20. font-weight: 900;
  21. font-size: 30px;
  22. font-family: LXGW WenKai;
  23. }
  24. img.img1 {
  25. border-radius: 25px;
  26. }
  27. img.img2 {
  28. border-radius: 25px;
  29. }
  30. img.twitter {
  31. color: #1DA1F2;
  32. }
  33. .bilibili {
  34. color: #EA7A99;
  35. }
  36. .github {
  37. color: #25292E;
  38. }
  39. @keyframes heart {
  40. 0%, 40%, 80%, 100% {
  41. transform: scale(1);
  42. }
  43. 20%, 60% {
  44. transform: scale(1.15);
  45. }
  46. }
  47. .heart {
  48. animation: heart 1000ms infinite;
  49. }
  50. :root {
  51. --md-admonition-icon--pied-piper: url("data:image/svg+xml,%3Csvg width='30.000000' height='30.000000' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdesc%3E Created with Pixso. %3C/desc%3E%3Cdefs%3E%3CclipPath id='clip103_2030'%3E%3Crect id='icon' width='30.000000' height='30.000000' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23clip103_2030)'%3E%3Cpath id='icon' d='M25.8 5.40002L25.8 24.6L4.20001 24.6L4.20001 5.40002L25.8 5.40002ZM9.60001 10.8L13.8 15L9.60001 19.2M15.6 19.2L21.6 19.2' stroke='%23101112' stroke-width='1.200000'/%3E%3C/g%3E%3C/svg%3E%0A");
  52. }
  53. .md-typeset .admonition.pied-piper,
  54. .md-typeset details.pied-piper {
  55. border-color: rgb(43, 155, 70);
  56. font-size: large;
  57. }
  58. .md-typeset .pied-piper > .admonition-title,
  59. .md-typeset .pied-piper > summary {
  60. background-color: rgba(43, 155, 70, 0.1);
  61. }
  62. .md-typeset .pied-piper > .admonition-title::before,
  63. .md-typeset .pied-piper > summary::before {
  64. background-color: rgb(43, 155, 70);
  65. -webkit-mask-image: var(--md-admonition-icon--pied-piper);
  66. mask-image: var(--md-admonition-icon--pied-piper);
  67. }
  68. :root {
  69. --md-admonition-icon--pied-piper1: url("data:image/svg+xml,%3Csvg width='30.000000' height='30.000000' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdesc%3E Created with Pixso. %3C/desc%3E%3Cdefs%3E%3CclipPath id='clip103_2030'%3E%3Crect id='icon' width='30.000000' height='30.000000' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23clip103_2030)'%3E%3Cpath id='icon' d='M25.8 5.40002L25.8 24.6L4.20001 24.6L4.20001 5.40002L25.8 5.40002ZM9.60001 10.8L13.8 15L9.60001 19.2M15.6 19.2L21.6 19.2' stroke='%23101112' stroke-width='1.200000'/%3E%3C/g%3E%3C/svg%3E%0A");
  70. }
  71. .md-typeset .admonition.pied-piper1,
  72. .md-typeset details.pied-piper1 {
  73. border-color: rgb(96,141,189);
  74. font-size: large;
  75. /* border-radius:25px; */
  76. border-bottom-left-radius: 25px;
  77. border-bottom-right-radius: 25px;
  78. border-top-left-radius: 25px;
  79. border-top-right-radius: 25px;
  80. }
  81. .md-typeset .pied-piper1 > .admonition-title,
  82. .md-typeset .pied-piper1 > summary {
  83. background-color: linear-gradient(to right, rgba(238, 243, 254));
  84. border-top-left-radius: 25px;
  85. border-top-right-radius: 25px;
  86. height: 50px;
  87. }
  88. .md-typeset .pied-piper1 > .admonition-title::before,
  89. .md-typeset .pied-piper1 > summary::before {
  90. background-color: rgb(31,31,33);
  91. -webkit-mask-image: var(--md-admonition-icon--pied-piper1);
  92. mask-image: var(--md-admonition-icon--pied-piper1);
  93. }
  94. /* .md-typeset .admonition-note,
  95. .md-typeset details {
  96. border:2px solid;
  97. border-radius:25px;
  98. font-size:16px;
  99. padding: 30px;
  100. height: 100%;
  101. } */
  102. /* 鼠标 */
  103. /* body {
  104. cursor: url(https://cos.cdn.azpay.cn/uploads/2021/11/28/default.cur),
  105. default;
  106. }
  107. a,
  108. img {
  109. cursor: url(https://cos.cdn.azpay.cn/uploads/2021/11/28/pointer.cur),
  110. default;
  111. } */
  112. /* 鼠标end */
  113. /* 滚动条 */
  114. ::-webkit-scrollbar {
  115. width: 8px;
  116. height: 8px;
  117. }
  118. ::-webkit-scrollbar-track {
  119. background-color: rgba(73, 177, 245, 0.2);
  120. border-radius: 2em;
  121. }
  122. ::-webkit-scrollbar-thumb {
  123. background-color: #49b1f5;
  124. background-image: -webkit-linear-gradient(
  125. 45deg,
  126. rgba(255, 255, 255, 0.4) 25%,
  127. transparent 25%,
  128. transparent 50%,
  129. rgba(255, 255, 255, 0.4) 50%,
  130. rgba(255, 255, 255, 0.4) 75%,
  131. transparent 75%,
  132. transparent
  133. );
  134. border-radius: 10px;
  135. }
  136. ::-webkit-scrollbar-corner {
  137. background-color: transparent;
  138. }
  139. ::-moz-selection {
  140. color: #fff;
  141. background-color: #49b1f5;
  142. }
  143. ::-webkit-scrollbar:hover {
  144. width: 7px;
  145. height: 7px;
  146. }
  147. /*bilbili*/
  148. /*哔哩哔哩视频适配*/
  149. .aspect-ratio {
  150. position: relative;
  151. width: 90%;
  152. height: auto;
  153. padding-bottom: 75%;
  154. margin: 3% auto;
  155. text-align: center;
  156. }
  157. .aspect-ratio iframe {
  158. position: absolute;
  159. width: 100%;
  160. height: 86%;
  161. left: 0;
  162. top: 0;
  163. }
  164. /*图片放大*/
  165. /* 图片放大start */
  166. /* .shadow {
  167. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  168. }
  169. .zoom {
  170. transition: transform ease-in-out 0.5s;
  171. cursor: zoom-in;
  172. }
  173. .image-zoom-large {
  174. transform: scale(1.9);
  175. cursor: zoom-out;
  176. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  177. z-index: 100;
  178. position: relative;
  179. } */
  180. /* 图片放大end*/
  181. .progress-label {
  182. position: absolute;
  183. text-align: center;
  184. font-weight: 700;
  185. width: 100%;
  186. margin: 0;
  187. line-height: 1.2rem;
  188. white-space: nowrap;
  189. overflow: hidden;
  190. }
  191. .progress-bar {
  192. height: 1.2rem;
  193. float: left;
  194. background-color: #2979ff;
  195. }
  196. .progress {
  197. display: block;
  198. width: 100%;
  199. margin: 0.5rem 0;
  200. height: 1.2rem;
  201. background-color: #eeeeee;
  202. position: relative;
  203. }
  204. .progress.thin {
  205. margin-top: 0.9rem;
  206. height: 0.4rem;
  207. }
  208. .progress.thin .progress-label {
  209. margin-top: -0.4rem;
  210. }
  211. .progress.thin .progress-bar {
  212. height: 0.4rem;
  213. }
  214. .progress-100plus .progress-bar {
  215. background-color: #00e676;
  216. }
  217. .progress-80plus .progress-bar {
  218. background-color: #fbc02d;
  219. }
  220. .progress-60plus .progress-bar {
  221. background-color: #ff9100;
  222. }
  223. .progress-40plus .progress-bar {
  224. background-color: #ff5252;
  225. }
  226. .progress-20plus .progress-bar {
  227. background-color: #ff1744;
  228. }
  229. .progress-0plus .progress-bar {
  230. background-color: #f50057;
  231. }
  232. /* #imgBaseDiv > img {
  233. position: absolute;
  234. top: 50%;
  235. left: 50%;
  236. transform: translate(-50%, -50%);
  237. max-width: 99%;
  238. max-height: 99%;
  239. }
  240. #imgBaseDiv {
  241. width: 100%;
  242. height: 100%;
  243. position: fixed;
  244. background: rgba(0, 0, 0, 0.9);
  245. top: 0;
  246. left: 0;
  247. z-index: 1050;
  248. } */
  249. /**/
  250. .video1{
  251. position: fixed;
  252. right: 0px;
  253. bottom: 0px;
  254. min-width: 100%;
  255. min-height: 100%;
  256. height: auto;
  257. width: auto;
  258. /*加滤镜*/
  259. /*filter: blur(15px); //背景模糊设置 */
  260. /*-webkit-filter: grayscale(100%);*/
  261. /*filter:grayscale(100%); //背景灰度设置*/
  262. z-index:-11
  263. }
  264. .video1 video{
  265. width: 100%;
  266. height: 100%;
  267. object-fit: cover;
  268. }
  269. source{
  270. min-width: 100%;
  271. min-height: 100%;
  272. height: auto;
  273. width: auto;
  274. }
  275. @media only screen and (max-width: 768px) {
  276. #video1 {
  277. display: none;
  278. }
  279. }
  280. /*圆角*/
  281. #rcorners1 {
  282. border-radius: 25px;
  283. background: linear-gradient(to right, rgba(189,224,245),rgba(218,232,241), rgba(238,237,238));
  284. /* #F0EFEB; F5F4F1*/
  285. padding: 20px;
  286. width: 100%;
  287. height: 100px;
  288. text-align: center;
  289. font-size:16px;
  290. }
  291. #rcorners2 {
  292. border-radius: 25px;
  293. border: 2px solid #518FC1;
  294. padding: 20px;
  295. width: 100%;
  296. height: 100%;
  297. font-size:16px;
  298. }
  299. #rcorners3 {
  300. border-radius: 25px;
  301. border: 2px solid #518FC1;
  302. padding: 20px;
  303. width: 100%;
  304. height: 100%;
  305. }
  306. .image-container {
  307. text-align: center; /* 居中对齐容器中的内容 */
  308. }
  309. .image-container img {
  310. display: inline-block; /* 将图片水平排列在一行 */
  311. margin: 10px; /* 可以根据需要添加图片之间的间距 */
  312. }
  313. /* 渐变 */
  314. #grad1 {
  315. height: 200px;
  316. background-color: red; /* 不支持线性的时候显示 */
  317. background-image: linear-gradient(to bottom right, red , yellow);
  318. }
  319. /* 按钮 */
  320. .buttoncss {
  321. background-color: #4CAF50;
  322. border-radius: 12px;
  323. border: none;
  324. color: white;
  325. padding: 15px 32px;
  326. text-align: center;
  327. text-decoration: none;
  328. display: inline-block;
  329. font-size: 16px;
  330. margin: 4px 2px;
  331. cursor: pointer;
  332. }
  333. .buttoncss1 {
  334. background-color: #567fd0;
  335. border-radius: 12px;
  336. border: none;
  337. color: white;
  338. padding: 15px 32px;
  339. text-align: center;
  340. text-decoration: none;
  341. display: inline-block;
  342. font-size: 16px;
  343. margin: 4px 2px;
  344. cursor: pointer;
  345. }
  346. .buttonxuan {
  347. background-color: #4CAF50; /* Green */
  348. border: none;
  349. color: white;
  350. padding: 16px 32px;
  351. text-align: center;
  352. text-decoration: none;
  353. display: inline-block;
  354. font-size: 16px;
  355. margin: 4px 2px;
  356. -webkit-transition-duration: 0.4s; /* Safari */
  357. transition-duration: 0.4s;
  358. cursor: pointer;
  359. }
  360. .buttonxuan1 {
  361. background-color: white;
  362. color: black;
  363. border: 2px solid #4CAF50;
  364. }
  365. .buttonxuan1:hover {
  366. background-color: #4CAF50;
  367. color: white;
  368. }
  369. .buttonxuan2 {
  370. display: inline-block;
  371. background-color: #ACE48E;
  372. color: #FFFFFF;
  373. text-align: center;
  374. font-size: 28px;
  375. padding: 20px;
  376. width: 300px;
  377. transition: all 0.5s;
  378. cursor: pointer;
  379. margin: 5px;
  380. border:2px solid;
  381. border-radius:25px;
  382. }
  383. .buttonxuan2 span {
  384. cursor: pointer;
  385. display: inline-block;
  386. position: relative;
  387. transition: 0.5s;
  388. }
  389. .buttonxuan2 span:after {
  390. content: '»';
  391. position: absolute;
  392. opacity: 0;
  393. top: 0;
  394. right: -20px;
  395. transition: 0.5s;
  396. }
  397. .buttonxuan2:hover span {
  398. padding-right: 25px;
  399. }
  400. .buttonxuan2:hover span:after {
  401. opacity: 1;
  402. right: 0;
  403. }
  404. /* .buttonxuan3 */
  405. .buttonxuan3:hover {
  406. display: inline-block;
  407. background-color: #5577D1;
  408. color: #FFFFFF;
  409. text-align: center;
  410. font-size: 28px;
  411. padding: 20px;
  412. width: 300px;
  413. transition: all 0.5s;
  414. cursor: pointer;
  415. margin: 5px;
  416. border:2px solid;
  417. border-radius:25px;
  418. }
  419. .buttonxuan3 span {
  420. cursor: pointer;
  421. display: inline-block;
  422. position: relative;
  423. transition: 0.5s;
  424. }
  425. .buttonxuan3 span:after {
  426. content: '»';
  427. position: absolute;
  428. opacity: 0;
  429. top: 0;
  430. right: -20px;
  431. transition: 0.5s;
  432. }
  433. .buttonxuan3:hover span {
  434. padding-right: 25px;
  435. }
  436. .buttonxuan3:hover span:after {
  437. opacity: 1;
  438. right: 0;
  439. }
  440. /* 蕴藏 */
  441. div.hide {
  442. background-color: yellow;
  443. padding: 20px;
  444. }
  445. @media screen and (max-width: 1000px) {
  446. div.hide {
  447. display: none;
  448. }
  449. }
  450. /* 布局 */
  451. .item1 { grid-area: header; }
  452. .item2 { grid-area: menu; }
  453. .item3 { grid-area: main; }
  454. .item4 { grid-area: right; }
  455. .item5 { grid-area: footer; }
  456. .grid-container {
  457. display: grid;
  458. grid:
  459. 'header header header header header header'
  460. 'menu main main main right right'
  461. 'menu footer footer footer footer footer';
  462. grid-gap: 10px;
  463. background-color: #2196F3;
  464. padding: 10px;
  465. }
  466. .grid-container > div {
  467. background-color: rgba(255, 255, 255, 0.8);
  468. text-align: center;
  469. padding: 20px 0;
  470. font-size: 30px;
  471. }
  472. /* 变灰代码 */
  473. /* html {
  474. filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
  475. -webkit-filter: grayscale(100%);} */
  476. /* 加载 */
  477. .spinner {
  478. margin: 100px auto;
  479. width: 50px;
  480. height: 40px;
  481. text-align: center;
  482. font-size: 10px;
  483. }
  484. .spinner > div {
  485. background-color: #333;
  486. height: 100%;
  487. width: 6px;
  488. display: inline-block;
  489. -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  490. animation: sk-stretchdelay 1.2s infinite ease-in-out;
  491. }
  492. .spinner .rect2 {
  493. -webkit-animation-delay: -1.1s;
  494. animation-delay: -1.1s;
  495. }
  496. .spinner .rect3 {
  497. -webkit-animation-delay: -1.0s;
  498. animation-delay: -1.0s;
  499. }
  500. .spinner .rect4 {
  501. -webkit-animation-delay: -0.9s;
  502. animation-delay: -0.9s;
  503. }
  504. .spinner .rect5 {
  505. -webkit-animation-delay: -0.8s;
  506. animation-delay: -0.8s;
  507. }
  508. @-webkit-keyframes sk-stretchdelay {
  509. 0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
  510. 20% { -webkit-transform: scaleY(1.0) }
  511. }
  512. @keyframes sk-stretchdelay {
  513. 0%, 40%, 100% {
  514. transform: scaleY(0.4);
  515. -webkit-transform: scaleY(0.4);
  516. } 20% {
  517. transform: scaleY(1.0);
  518. -webkit-transform: scaleY(1.0);
  519. }
  520. }
  521. /* end */
  522. /* begin */
  523. .sk-chase {
  524. width: 40px;
  525. height: 40px;
  526. position: relative;
  527. animation: sk-chase 2.5s infinite linear both;
  528. }
  529. .sk-chase-dot {
  530. width: 100%;
  531. height: 100%;
  532. position: absolute;
  533. left: 0;
  534. top: 0;
  535. animation: sk-chase-dot 2.0s infinite ease-in-out both;
  536. }
  537. .sk-chase-dot:before {
  538. content: '';
  539. display: block;
  540. width: 25%;
  541. height: 25%;
  542. background-color: #fff;
  543. border-radius: 100%;
  544. animation: sk-chase-dot-before 2.0s infinite ease-in-out both;
  545. }
  546. .sk-chase-dot:nth-child(1) { animation-delay: -1.1s; }
  547. .sk-chase-dot:nth-child(2) { animation-delay: -1.0s; }
  548. .sk-chase-dot:nth-child(3) { animation-delay: -0.9s; }
  549. .sk-chase-dot:nth-child(4) { animation-delay: -0.8s; }
  550. .sk-chase-dot:nth-child(5) { animation-delay: -0.7s; }
  551. .sk-chase-dot:nth-child(6) { animation-delay: -0.6s; }
  552. .sk-chase-dot:nth-child(1):before { animation-delay: -1.1s; }
  553. .sk-chase-dot:nth-child(2):before { animation-delay: -1.0s; }
  554. .sk-chase-dot:nth-child(3):before { animation-delay: -0.9s; }
  555. .sk-chase-dot:nth-child(4):before { animation-delay: -0.8s; }
  556. .sk-chase-dot:nth-child(5):before { animation-delay: -0.7s; }
  557. .sk-chase-dot:nth-child(6):before { animation-delay: -0.6s; }
  558. @keyframes sk-chase {
  559. 100% { transform: rotate(360deg); }
  560. }
  561. @keyframes sk-chase-dot {
  562. 80%, 100% { transform: rotate(360deg); }
  563. }
  564. @keyframes sk-chase-dot-before {
  565. 50% {
  566. transform: scale(0.4);
  567. } 100%, 0% {
  568. transform: scale(1.0);
  569. }
  570. }
  571. /* end */
  572. .loader {
  573. position: fixed;
  574. top: 0;
  575. left: 0;
  576. width: 100%;
  577. height: 100%;
  578. /* background-color: rgba(255, 255, 255, 0.8); */
  579. display: flex;
  580. justify-content: center;
  581. align-items: center;
  582. z-index: 9999; /* 确保加载动画位于其他内容之上 */
  583. }
  584. .spinner {
  585. width: 50px;
  586. height: 40px;
  587. text-align: center;
  588. font-size: 10px;
  589. }
  590. .spinner > div {
  591. background-color: #333;
  592. height: 100%;
  593. width: 6px;
  594. display: inline-block;
  595. -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  596. animation: sk-stretchdelay 1.2s infinite ease-in-out;
  597. }
  598. .spinner .rect2 {
  599. -webkit-animation-delay: -1.1s;
  600. animation-delay: -1.1s;
  601. }
  602. .spinner .rect3 {
  603. -webkit-animation-delay: -1.0s;
  604. animation-delay: -1.0s;
  605. }
  606. .spinner .rect4 {
  607. -webkit-animation-delay: -0.9s;
  608. animation-delay: -0.9s;
  609. }
  610. @-webkit-keyframes sk-stretchdelay {
  611. 0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
  612. 20% { -webkit-transform: scaleY(1.0) }
  613. }
  614. @keyframes sk-stretchdelay {
  615. 0%, 40%, 100% {
  616. transform: scaleY(0.4);
  617. -webkit-transform: scaleY(0.4);
  618. }
  619. 20% {
  620. transform: scaleY(1.0);
  621. -webkit-transform: scaleY(1.0);
  622. }
  623. }