main.css 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241
  1. .anchorjs-link {
  2. text-decoration: none !important;
  3. transition: opacity 0.2s ease-in-out;
  4. }
  5. .markdown-body h1:hover > .anchorjs-link,
  6. h2:hover > .anchorjs-link,
  7. h3:hover > .anchorjs-link,
  8. h4:hover > .anchorjs-link,
  9. h5:hover > .anchorjs-link,
  10. h6:hover > .anchorjs-link {
  11. opacity: 1;
  12. }
  13. .banner {
  14. height: 100%;
  15. position: relative;
  16. overflow: hidden;
  17. cursor: default;
  18. }
  19. .banner .mask {
  20. position: absolute;
  21. width: 100%;
  22. height: 100%;
  23. background-color: rgba(0,0,0,0.3);
  24. }
  25. .banner[parallax="true"] {
  26. will-change: transform;
  27. -webkit-transform-style: preserve-3d;
  28. -webkit-backface-visibility: hidden;
  29. transition: transform 0.05s ease-out;
  30. }
  31. @media (max-width: 100vh) {
  32. .header-inner {
  33. max-height: 100vw;
  34. }
  35. #board {
  36. margin-top: -1rem !important;
  37. }
  38. }
  39. @media (max-width: 79.99vh) {
  40. .scroll-down-bar {
  41. display: none;
  42. }
  43. }
  44. #board {
  45. position: relative;
  46. margin-top: -2rem;
  47. padding: 3rem 0;
  48. background-color: var(--board-bg-color);
  49. transition: background-color 0.2s ease-in-out;
  50. border-radius: 0.5rem;
  51. z-index: 3;
  52. -webkit-box-shadow: 0 12px 15px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  53. box-shadow: 0 12px 15px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  54. }
  55. .code-widget {
  56. display: inline-block;
  57. background-color: transparent;
  58. font-size: 0.75rem;
  59. line-height: 1;
  60. font-weight: bold;
  61. padding: 0.3rem 0.1rem 0.1rem 0.1rem;
  62. position: absolute;
  63. right: 0.45rem;
  64. top: 0.15rem;
  65. z-index: 1;
  66. }
  67. .code-widget-light {
  68. color: #999;
  69. }
  70. .code-widget-dark {
  71. color: #bababa;
  72. }
  73. .copy-btn {
  74. cursor: pointer;
  75. user-select: none;
  76. -webkit-appearance: none;
  77. outline: none;
  78. }
  79. .copy-btn > i {
  80. font-size: 0.75rem !important;
  81. font-weight: 400;
  82. margin-right: 0.15rem;
  83. opacity: 0;
  84. transition: opacity 0.2s ease-in-out;
  85. }
  86. .markdown-body pre:hover > .copy-btn > i {
  87. opacity: 0.9;
  88. }
  89. .markdown-body pre:hover > .copy-btn,
  90. .markdown-body pre:not(:hover) > .copy-btn {
  91. outline: none;
  92. }
  93. .license-box {
  94. background-color: rgba(27,31,35,0.05);
  95. transition: background-color 0.2s ease-in-out;
  96. border-radius: 4px;
  97. font-size: 0.9rem;
  98. overflow: hidden;
  99. padding: 1.25rem;
  100. position: relative;
  101. z-index: 1;
  102. }
  103. .license-box .license-icon {
  104. position: absolute;
  105. top: 50%;
  106. left: 100%;
  107. }
  108. .license-box .license-icon::after {
  109. content: "\e8e4";
  110. font-size: 12.5rem;
  111. line-height: 1;
  112. opacity: 0.1;
  113. position: relative;
  114. left: -0.85em;
  115. bottom: 0.5em;
  116. z-index: -1;
  117. }
  118. .license-box .license-title {
  119. margin-bottom: 1rem;
  120. }
  121. .license-box .license-title div:nth-child(1) {
  122. line-height: 1.2;
  123. margin-bottom: 0.25rem;
  124. }
  125. .license-box .license-title div:nth-child(2) {
  126. color: var(--sec-text-color);
  127. font-size: 0.8rem;
  128. }
  129. .license-box .license-meta {
  130. align-items: center;
  131. display: flex;
  132. flex-wrap: wrap;
  133. justify-content: flex-start;
  134. }
  135. .license-box .license-meta .license-meta-item {
  136. align-items: center;
  137. justify-content: center;
  138. margin-right: 1.5rem;
  139. }
  140. .license-box .license-meta .license-meta-item div:nth-child(1) {
  141. color: var(--sec-text-color);
  142. font-size: 0.8rem;
  143. font-weight: normal;
  144. }
  145. .license-box .license-meta .license-meta-item i.iconfont {
  146. font-size: 1rem;
  147. }
  148. @media (max-width: 575px) and (min-width: 425px) {
  149. .license-box .license-meta .license-meta-item {
  150. display: flex;
  151. justify-content: flex-start;
  152. flex-wrap: wrap;
  153. font-size: 0.8rem;
  154. flex: 0 0 50%;
  155. max-width: 50%;
  156. margin-right: 0;
  157. }
  158. .license-box .license-meta .license-meta-item div:nth-child(1) {
  159. margin-right: 0.5rem;
  160. }
  161. .license-box .license-meta .license-meta-date {
  162. order: -1;
  163. }
  164. }
  165. @media (max-width: 424px) {
  166. .license-box::after {
  167. top: -65px;
  168. }
  169. .license-box .license-meta {
  170. flex-direction: column;
  171. align-items: flex-start;
  172. }
  173. .license-box .license-meta .license-meta-item {
  174. display: flex;
  175. flex-wrap: wrap;
  176. font-size: 0.8rem;
  177. }
  178. .license-box .license-meta .license-meta-item div:nth-child(1) {
  179. margin-right: 0.5rem;
  180. }
  181. }
  182. .footer-inner {
  183. padding: 3rem 0 1rem 0;
  184. text-align: center;
  185. }
  186. .footer-inner > div:not(:first-child) {
  187. margin: 0.25rem 0;
  188. font-size: 0.85rem;
  189. }
  190. .footer-inner .statistics {
  191. display: flex;
  192. flex-direction: row;
  193. justify-content: center;
  194. }
  195. .footer-inner .statistics > span {
  196. flex: 1;
  197. margin: 0 0.25rem;
  198. }
  199. .footer-inner .statistics > *:nth-last-child(2):first-child {
  200. text-align: right;
  201. }
  202. .footer-inner .statistics > *:nth-last-child(2):first-child ~ * {
  203. text-align: left;
  204. }
  205. .footer-inner .beian {
  206. display: flex;
  207. flex-direction: row;
  208. justify-content: center;
  209. }
  210. .footer-inner .beian > * {
  211. margin: 0 0.25rem;
  212. }
  213. .footer-inner .beian-police {
  214. position: relative;
  215. overflow: hidden;
  216. display: inline-flex;
  217. align-items: center;
  218. justify-content: left;
  219. }
  220. .footer-inner .beian-police img {
  221. margin-right: 3px;
  222. width: 1rem;
  223. height: 1rem;
  224. margin-bottom: 0.1rem;
  225. }
  226. @media (max-width: 424px) {
  227. .footer-inner .statistics {
  228. flex-direction: column;
  229. }
  230. .footer-inner .statistics > *:nth-last-child(2):first-child {
  231. text-align: center;
  232. }
  233. .footer-inner .statistics > *:nth-last-child(2):first-child ~ * {
  234. text-align: center;
  235. }
  236. .footer-inner .beian {
  237. flex-direction: column;
  238. }
  239. .footer-inner .beian .beian-police {
  240. justify-content: center;
  241. }
  242. .footer-inner .beian > *:nth-last-child(2):first-child {
  243. text-align: center;
  244. }
  245. .footer-inner .beian > *:nth-last-child(2):first-child ~ * {
  246. text-align: center;
  247. }
  248. }
  249. sup > a::before,
  250. .footnote-text::before {
  251. display: block;
  252. content: "";
  253. margin-top: -5rem;
  254. height: 5rem;
  255. width: 1px;
  256. visibility: hidden;
  257. }
  258. sup > a::before,
  259. .footnote-text::before {
  260. display: inline-block;
  261. }
  262. .footnote-item::before {
  263. display: block;
  264. content: "";
  265. margin-top: -5rem;
  266. height: 5rem;
  267. width: 1px;
  268. visibility: hidden;
  269. }
  270. .footnote-list ol {
  271. list-style-type: none;
  272. counter-reset: sectioncounter;
  273. padding-left: 0.5rem;
  274. font-size: 0.95rem;
  275. }
  276. .footnote-list ol li:before {
  277. font-family: "Helvetica Neue", monospace, "Monaco";
  278. content: "[" counter(sectioncounter) "]";
  279. counter-increment: sectioncounter;
  280. }
  281. .footnote-list ol li+li {
  282. margin-top: 0.5rem;
  283. }
  284. .footnote-text {
  285. padding-left: 0.5em;
  286. }
  287. .navbar {
  288. background-color: transparent;
  289. font-size: 0.875rem;
  290. box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  291. -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  292. }
  293. .navbar .navbar-brand {
  294. color: var(--navbar-text-color);
  295. }
  296. .navbar .navbar-toggler .animated-icon span {
  297. background-color: var(--navbar-text-color);
  298. }
  299. .navbar .nav-item .nav-link {
  300. display: block;
  301. color: var(--navbar-text-color);
  302. transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
  303. }
  304. .navbar .nav-item .nav-link:hover {
  305. color: var(--link-hover-color);
  306. }
  307. .navbar .nav-item .nav-link:focus {
  308. color: var(--navbar-text-color);
  309. }
  310. .navbar .nav-item .nav-link i {
  311. font-size: 0.875rem;
  312. line-height: inherit;
  313. }
  314. .navbar .nav-item .nav-link i:only-child {
  315. margin: 0 0.2rem;
  316. }
  317. .navbar .navbar-toggler {
  318. border-width: 0;
  319. outline: 0;
  320. }
  321. .navbar.scrolling-navbar {
  322. will-change: background, padding;
  323. -webkit-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
  324. transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
  325. }
  326. @media (min-width: 600px) {
  327. .navbar.scrolling-navbar {
  328. padding-top: 12px;
  329. padding-bottom: 12px;
  330. }
  331. .navbar.scrolling-navbar .navbar-nav > li {
  332. -webkit-transition-duration: 1s;
  333. transition-duration: 1s;
  334. }
  335. }
  336. .navbar.scrolling-navbar.top-nav-collapse {
  337. padding-top: 5px;
  338. padding-bottom: 5px;
  339. }
  340. .navbar .dropdown-menu {
  341. font-size: 0.875rem;
  342. color: var(--navbar-text-color);
  343. background-color: rgba(0,0,0,0.3);
  344. border: none;
  345. min-width: 8rem;
  346. -webkit-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
  347. transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
  348. }
  349. @media (max-width: 991.98px) {
  350. .navbar .dropdown-menu {
  351. text-align: center;
  352. }
  353. }
  354. .navbar .dropdown-item {
  355. color: var(--navbar-text-color);
  356. }
  357. .navbar .dropdown-item:hover,
  358. .navbar .dropdown-item:focus {
  359. color: var(--link-hover-color);
  360. background-color: rgba(0,0,0,0.1);
  361. }
  362. @media (min-width: 992px) {
  363. .navbar .dropdown:hover > .dropdown-menu {
  364. display: block;
  365. }
  366. .navbar .dropdown > .dropdown-toggle:active {
  367. pointer-events: none;
  368. }
  369. .navbar .dropdown-menu {
  370. top: 95%;
  371. }
  372. }
  373. .navbar .animated-icon {
  374. width: 30px;
  375. height: 20px;
  376. position: relative;
  377. margin: 0;
  378. -webkit-transform: rotate(0deg);
  379. -moz-transform: rotate(0deg);
  380. -o-transform: rotate(0deg);
  381. transform: rotate(0deg);
  382. -webkit-transition: 0.5s ease-in-out;
  383. -moz-transition: 0.5s ease-in-out;
  384. -o-transition: 0.5s ease-in-out;
  385. transition: 0.5s ease-in-out;
  386. cursor: pointer;
  387. }
  388. .navbar .animated-icon span {
  389. display: block;
  390. position: absolute;
  391. height: 3px;
  392. width: 100%;
  393. border-radius: 9px;
  394. opacity: 1;
  395. left: 0;
  396. -webkit-transform: rotate(0deg);
  397. -moz-transform: rotate(0deg);
  398. -o-transform: rotate(0deg);
  399. transform: rotate(0deg);
  400. -webkit-transition: 0.25s ease-in-out;
  401. -moz-transition: 0.25s ease-in-out;
  402. -o-transition: 0.25s ease-in-out;
  403. transition: 0.25s ease-in-out;
  404. background: #fff;
  405. }
  406. .navbar .animated-icon span:nth-child(1) {
  407. top: 0;
  408. }
  409. .navbar .animated-icon span:nth-child(2) {
  410. top: 10px;
  411. }
  412. .navbar .animated-icon span:nth-child(3) {
  413. top: 20px;
  414. }
  415. .navbar .animated-icon.open span:nth-child(1) {
  416. top: 11px;
  417. -webkit-transform: rotate(135deg);
  418. -moz-transform: rotate(135deg);
  419. -o-transform: rotate(135deg);
  420. transform: rotate(135deg);
  421. }
  422. .navbar .animated-icon.open span:nth-child(2) {
  423. opacity: 0;
  424. left: -60px;
  425. }
  426. .navbar .animated-icon.open span:nth-child(3) {
  427. top: 11px;
  428. -webkit-transform: rotate(-135deg);
  429. -moz-transform: rotate(-135deg);
  430. -o-transform: rotate(-135deg);
  431. transform: rotate(-135deg);
  432. }
  433. .navbar .dropdown-collapse,
  434. .top-nav-collapse,
  435. .navbar-col-show {
  436. background-color: var(--navbar-bg-color);
  437. }
  438. @media (max-width: 767px) {
  439. .navbar {
  440. font-size: 1rem;
  441. line-height: 2.5rem;
  442. }
  443. }
  444. .banner-text {
  445. color: var(--subtitle-color);
  446. max-width: calc(960px - 6rem);
  447. width: 80%;
  448. overflow-wrap: break-word;
  449. }
  450. .banner-text .typed-cursor {
  451. margin: 0 0.2rem;
  452. }
  453. @media (max-width: 767px) {
  454. #subtitle,
  455. .typed-cursor {
  456. font-size: 1.5rem;
  457. }
  458. }
  459. @media (max-width: 575px) {
  460. .banner-text {
  461. font-size: 0.9rem;
  462. }
  463. #subtitle,
  464. .typed-cursor {
  465. font-size: 1.35rem;
  466. }
  467. }
  468. .modal-dialog .modal-content {
  469. background-color: var(--board-bg-color);
  470. border: 0;
  471. border-radius: 0.125rem;
  472. -webkit-box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18), 0 4px 15px 0 rgba(0,0,0,0.15);
  473. box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18), 0 4px 15px 0 rgba(0,0,0,0.15);
  474. }
  475. .modal-dialog .modal-content .modal-header {
  476. border-bottom-color: var(--line-color);
  477. transition: border-bottom-color 0.2s ease-in-out;
  478. }
  479. .close {
  480. color: var(--text-color);
  481. }
  482. .close:hover {
  483. color: var(--link-hover-color);
  484. }
  485. .close:focus {
  486. outline: 0;
  487. }
  488. .modal-dialog .modal-content .modal-header {
  489. border-top-left-radius: 0.125rem;
  490. border-top-right-radius: 0.125rem;
  491. border-bottom: 1px solid #dee2e6;
  492. }
  493. .md-form {
  494. position: relative;
  495. margin-top: 1.5rem;
  496. margin-bottom: 1.5rem;
  497. }
  498. .md-form input[type] {
  499. -webkit-box-sizing: content-box;
  500. box-sizing: content-box;
  501. background-color: transparent;
  502. border: none;
  503. border-bottom: 1px solid #ced4da;
  504. border-radius: 0;
  505. outline: none;
  506. -webkit-box-shadow: none;
  507. box-shadow: none;
  508. transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  509. }
  510. .md-form input[type]:focus:not([readonly]) {
  511. border-bottom: 1px solid #4285f4;
  512. -webkit-box-shadow: 0 1px 0 0 #4285f4;
  513. box-shadow: 0 1px 0 0 #4285f4;
  514. }
  515. .md-form input[type]:focus:not([readonly]) + label {
  516. color: #4285f4;
  517. }
  518. .md-form input[type].valid,
  519. .md-form input[type]:focus.valid {
  520. border-bottom: 1px solid #00c851;
  521. -webkit-box-shadow: 0 1px 0 0 #00c851;
  522. box-shadow: 0 1px 0 0 #00c851;
  523. }
  524. .md-form input[type].valid + label,
  525. .md-form input[type]:focus.valid + label {
  526. color: #00c851;
  527. }
  528. .md-form input[type].invalid,
  529. .md-form input[type]:focus.invalid {
  530. border-bottom: 1px solid #f44336;
  531. -webkit-box-shadow: 0 1px 0 0 #f44336;
  532. box-shadow: 0 1px 0 0 #f44336;
  533. }
  534. .md-form input[type].invalid + label,
  535. .md-form input[type]:focus.invalid + label {
  536. color: #f44336;
  537. }
  538. .md-form input[type].validate {
  539. margin-bottom: 2.5rem;
  540. }
  541. .md-form input[type].form-control {
  542. height: auto;
  543. padding: 0.6rem 0 0.4rem 0;
  544. margin: 0 0 0.5rem 0;
  545. color: var(--text-color);
  546. background-color: transparent;
  547. border-radius: 0;
  548. }
  549. .md-form label {
  550. font-size: 0.8rem;
  551. position: absolute;
  552. top: -1rem;
  553. left: 0;
  554. color: #757575;
  555. cursor: text;
  556. transition: color 0.2s ease-out;
  557. }
  558. .modal-open[style] {
  559. padding-right: 0 !important;
  560. overflow: auto;
  561. }
  562. .modal-open[style] #navbar[style] {
  563. padding-right: 1rem !important;
  564. }
  565. #nprogress .bar {
  566. height: 3px !important;
  567. background-color: #29d !important;
  568. }
  569. #nprogress .peg {
  570. box-shadow: 0 0 14px #29d, 0 0 8px #29d !important;
  571. }
  572. @media (max-width: 575px) {
  573. #nprogress .bar {
  574. display: none;
  575. }
  576. }
  577. .noscript-warning {
  578. background-color: #f55;
  579. color: #fff;
  580. font-family: sans-serif;
  581. font-size: 1rem;
  582. font-weight: bold;
  583. position: fixed;
  584. left: 0;
  585. bottom: 0;
  586. text-align: center;
  587. width: 100%;
  588. z-index: 99;
  589. }
  590. .pagination {
  591. margin-top: 3rem;
  592. justify-content: center;
  593. }
  594. .pagination .space {
  595. align-self: flex-end;
  596. }
  597. .pagination .page-number,
  598. .pagination .current,
  599. .pagination .extend {
  600. outline: 0;
  601. border: 0;
  602. background-color: transparent;
  603. font-size: 0.9rem;
  604. padding: 0.5rem 0.75rem;
  605. line-height: 1.25;
  606. border-radius: 0.125rem;
  607. }
  608. .pagination .page-number {
  609. margin: 0 0.05rem;
  610. }
  611. .pagination .page-number:hover,
  612. .pagination .current {
  613. transition: background-color 0.2s ease-in-out;
  614. background-color: var(--link-hover-bg-color);
  615. }
  616. .qr-trigger {
  617. cursor: pointer;
  618. position: relative;
  619. }
  620. .qr-trigger:hover .qr-img {
  621. display: block;
  622. transition: all 0.3s;
  623. }
  624. .qr-img {
  625. max-width: 12rem;
  626. position: absolute;
  627. right: -5.25rem;
  628. z-index: 99;
  629. display: none;
  630. border-radius: 0.2rem;
  631. background-color: transparent;
  632. box-shadow: 0 0 20px -5px rgba(158,158,158,0.2);
  633. }
  634. .scroll-down-bar {
  635. position: absolute;
  636. width: 100%;
  637. height: 6rem;
  638. text-align: center;
  639. cursor: pointer;
  640. bottom: 0;
  641. }
  642. .scroll-down-bar i.iconfont {
  643. font-size: 2rem;
  644. font-weight: bold;
  645. display: inline-block;
  646. position: relative;
  647. padding-top: 2rem;
  648. color: var(--subtitle-color);
  649. transform: translateZ(0);
  650. animation: scroll-down 1.5s infinite;
  651. }
  652. #scroll-top-button {
  653. position: fixed;
  654. z-index: 99;
  655. background: var(--board-bg-color);
  656. transition: background-color 0.2s ease-in-out, bottom 0.3s ease;
  657. border-radius: 4px;
  658. min-width: 40px;
  659. min-height: 40px;
  660. bottom: -60px;
  661. outline: none;
  662. display: flex;
  663. display: -webkit-flex;
  664. align-items: center;
  665. box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  666. }
  667. #scroll-top-button i {
  668. font-size: 32px;
  669. margin: auto;
  670. color: var(--sec-text-color);
  671. }
  672. #scroll-top-button:hover i,
  673. #scroll-top-button:active i {
  674. animation-name: scroll-top;
  675. animation-duration: 1s;
  676. animation-delay: 0.1s;
  677. animation-timing-function: ease-in-out;
  678. animation-iteration-count: infinite;
  679. animation-fill-mode: forwards;
  680. animation-direction: alternate;
  681. }
  682. #local-search-result .search-list-title {
  683. border-left: 3px solid #0d47a1;
  684. }
  685. #local-search-result .search-list-content {
  686. padding: 0 1.25rem;
  687. }
  688. #local-search-result .search-word {
  689. color: #ff4500;
  690. }
  691. #toc {
  692. visibility: hidden;
  693. }
  694. .toc-header {
  695. margin-bottom: 0.5rem;
  696. font-weight: bold;
  697. line-height: 1.2;
  698. }
  699. .toc-header,
  700. .toc-header > i {
  701. font-size: 1.25rem;
  702. }
  703. .toc-body {
  704. max-height: 75vh;
  705. overflow-y: auto;
  706. overflow: -moz-scrollbars-none;
  707. -ms-overflow-style: none;
  708. }
  709. .toc-body ol {
  710. list-style: none;
  711. padding-inline-start: 1rem;
  712. }
  713. .toc-body::-webkit-scrollbar {
  714. display: none;
  715. }
  716. .tocbot-list {
  717. position: relative;
  718. }
  719. .tocbot-list ol {
  720. list-style: none;
  721. padding-left: 1rem;
  722. }
  723. .tocbot-list a {
  724. font-size: 0.95rem;
  725. }
  726. .tocbot-link {
  727. color: var(--text-color);
  728. }
  729. .tocbot-active-link {
  730. font-weight: bold;
  731. color: var(--link-hover-color);
  732. }
  733. .tocbot-is-collapsed {
  734. max-height: 0;
  735. }
  736. .tocbot-is-collapsible {
  737. overflow: hidden;
  738. transition: all 0.3s ease-in-out;
  739. }
  740. .toc-list-item {
  741. white-space: nowrap;
  742. overflow: hidden;
  743. text-overflow: ellipsis;
  744. }
  745. .toc-list-item.is-active-li::before {
  746. height: 1rem;
  747. margin: 0.25rem 0;
  748. visibility: visible;
  749. }
  750. .toc-list-item::before {
  751. width: 0.15rem;
  752. height: 0.2rem;
  753. position: absolute;
  754. left: 0.25rem;
  755. content: "";
  756. border-radius: 2px;
  757. margin: 0.65rem 0;
  758. background: var(--link-hover-color);
  759. visibility: hidden;
  760. transition: height 0.1s ease-in-out, margin 0.1s ease-in-out, visibility 0.1s ease-in-out;
  761. }
  762. .sidebar {
  763. position: -webkit-sticky;
  764. position: sticky;
  765. top: 2rem;
  766. padding: 3rem 0;
  767. }
  768. html {
  769. font-size: 16px;
  770. letter-spacing: 0.02em;
  771. }
  772. html,
  773. body {
  774. height: 100%;
  775. font-family: var(--font-family-sans-serif);
  776. overflow-wrap: break-word;
  777. }
  778. body {
  779. transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
  780. background-color: var(--body-bg-color);
  781. color: var(--text-color);
  782. -webkit-font-smoothing: antialiased;
  783. -moz-osx-font-smoothing: grayscale;
  784. }
  785. body a {
  786. color: var(--text-color);
  787. text-decoration: none;
  788. cursor: pointer;
  789. transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
  790. }
  791. body a:hover {
  792. color: var(--link-hover-color);
  793. text-decoration: none;
  794. transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
  795. }
  796. code {
  797. color: inherit;
  798. }
  799. table {
  800. font-size: inherit;
  801. color: var(--post-text-color);
  802. }
  803. img[lazyload] {
  804. object-fit: cover;
  805. }
  806. *[align="left"] {
  807. text-align: left;
  808. }
  809. *[align="center"] {
  810. text-align: center;
  811. }
  812. *[align="right"] {
  813. text-align: right;
  814. }
  815. ::-webkit-scrollbar {
  816. width: 6px;
  817. height: 6px;
  818. }
  819. ::-webkit-scrollbar-thumb {
  820. background-color: var(--scrollbar-color);
  821. border-radius: 6px;
  822. }
  823. ::-webkit-scrollbar-thumb:hover {
  824. background-color: var(--scrollbar-hover-color);
  825. }
  826. ::-webkit-scrollbar-corner {
  827. background-color: transparent;
  828. }
  829. label {
  830. margin-bottom: 0;
  831. }
  832. i.iconfont {
  833. font-size: 1em;
  834. line-height: 1;
  835. }
  836. :root {
  837. --color-mode: "light";
  838. --body-bg-color: #eee;
  839. --board-bg-color: #fff;
  840. --text-color: #3c4858;
  841. --sec-text-color: #718096;
  842. --post-text-color: #2c3e50;
  843. --post-heading-color: #1a202c;
  844. --post-link-color: #0366d6;
  845. --link-hover-color: #30a9de;
  846. --link-hover-bg-color: #f8f9fa;
  847. --line-color: #eaecef;
  848. --navbar-bg-color: #2f4154;
  849. --navbar-text-color: #fff;
  850. --subtitle-color: #fff;
  851. --scrollbar-color: #c4c6c9;
  852. --scrollbar-hover-color: #a6a6a6;
  853. --button-bg-color: transparent;
  854. --button-hover-bg-color: #f2f3f5;
  855. --highlight-bg-color: #f6f8fa;
  856. --inlinecode-bg-color: rgba(175,184,193,0.2);
  857. --fold-title-color: #3c4858;
  858. --fold-border-color: #eaecef;
  859. }
  860. @media (prefers-color-scheme: dark) {
  861. :root {
  862. --color-mode: "dark";
  863. }
  864. :root:not([data-user-color-scheme]) {
  865. --body-bg-color: #181c27;
  866. --board-bg-color: #252d38;
  867. --text-color: #c4c6c9;
  868. --sec-text-color: #a7a9ad;
  869. --post-text-color: #c4c6c9;
  870. --post-heading-color: #c4c6c9;
  871. --post-link-color: #1589e9;
  872. --link-hover-color: #30a9de;
  873. --link-hover-bg-color: #364151;
  874. --line-color: #435266;
  875. --navbar-bg-color: #1f3144;
  876. --navbar-text-color: #d0d0d0;
  877. --subtitle-color: #d0d0d0;
  878. --scrollbar-color: #687582;
  879. --scrollbar-hover-color: #9da8b3;
  880. --button-bg-color: transparent;
  881. --button-hover-bg-color: #46647e;
  882. --highlight-bg-color: #303030;
  883. --inlinecode-bg-color: rgba(99,110,123,0.4);
  884. --fold-title-color: #c4c6c9;
  885. --fold-border-color: #435266;
  886. }
  887. :root:not([data-user-color-scheme]) img {
  888. -webkit-filter: brightness(0.9);
  889. filter: brightness(0.9);
  890. transition: filter 0.2s ease-in-out;
  891. }
  892. :root:not([data-user-color-scheme]) .license-box {
  893. background-color: rgba(62,75,94,0.35);
  894. transition: background-color 0.2s ease-in-out;
  895. }
  896. :root:not([data-user-color-scheme]) .gt-comment-admin .gt-comment-content {
  897. background-color: transparent;
  898. transition: background-color 0.2s ease-in-out;
  899. }
  900. }
  901. @media not print {
  902. [data-user-color-scheme="dark"] {
  903. --body-bg-color: #181c27;
  904. --board-bg-color: #252d38;
  905. --text-color: #c4c6c9;
  906. --sec-text-color: #a7a9ad;
  907. --post-text-color: #c4c6c9;
  908. --post-heading-color: #c4c6c9;
  909. --post-link-color: #1589e9;
  910. --link-hover-color: #30a9de;
  911. --link-hover-bg-color: #364151;
  912. --line-color: #435266;
  913. --navbar-bg-color: #1f3144;
  914. --navbar-text-color: #d0d0d0;
  915. --subtitle-color: #d0d0d0;
  916. --scrollbar-color: #687582;
  917. --scrollbar-hover-color: #9da8b3;
  918. --button-bg-color: transparent;
  919. --button-hover-bg-color: #46647e;
  920. --highlight-bg-color: #303030;
  921. --inlinecode-bg-color: rgba(99,110,123,0.4);
  922. --fold-title-color: #c4c6c9;
  923. --fold-border-color: #435266;
  924. }
  925. [data-user-color-scheme="dark"] img {
  926. -webkit-filter: brightness(0.9);
  927. filter: brightness(0.9);
  928. transition: filter 0.2s ease-in-out;
  929. }
  930. [data-user-color-scheme="dark"] .license-box {
  931. background-color: rgba(62,75,94,0.35);
  932. transition: background-color 0.2s ease-in-out;
  933. }
  934. [data-user-color-scheme="dark"] .gt-comment-admin .gt-comment-content {
  935. background-color: transparent;
  936. transition: background-color 0.2s ease-in-out;
  937. }
  938. }
  939. @media print {
  940. :root {
  941. --color-mode: "light";
  942. }
  943. }
  944. .fade-in-up {
  945. -webkit-animation-name: fade-in-up;
  946. animation-name: fade-in-up;
  947. }
  948. .hidden-mobile {
  949. display: block;
  950. }
  951. .visible-mobile {
  952. display: none;
  953. }
  954. @media (max-width: 575px) {
  955. .hidden-mobile {
  956. display: none;
  957. }
  958. .visible-mobile {
  959. display: block;
  960. }
  961. }
  962. .nomargin-x {
  963. margin-left: 0 !important;
  964. margin-right: 0 !important;
  965. }
  966. .nopadding-x {
  967. padding-left: 0 !important;
  968. padding-right: 0 !important;
  969. }
  970. @media (max-width: 767px) {
  971. .nopadding-x-md {
  972. padding-left: 0 !important;
  973. padding-right: 0 !important;
  974. }
  975. }
  976. .flex-center {
  977. display: -webkit-box;
  978. display: -ms-flexbox;
  979. display: flex;
  980. -webkit-box-align: center;
  981. -ms-flex-align: center;
  982. align-items: center;
  983. -webkit-box-pack: center;
  984. -ms-flex-pack: center;
  985. justify-content: center;
  986. height: 100%;
  987. }
  988. .hover-with-bg {
  989. display: inline-block;
  990. line-height: 1;
  991. }
  992. .hover-with-bg:hover {
  993. background-color: var(--link-hover-bg-color);
  994. transition-duration: 0.2s;
  995. transition-timing-function: ease-in-out;
  996. border-radius: 0.2rem;
  997. }
  998. @-moz-keyframes fade-in-up {
  999. from {
  1000. opacity: 0;
  1001. -webkit-transform: translate3d(0, 100%, 0);
  1002. transform: translate3d(0, 100%, 0);
  1003. }
  1004. to {
  1005. opacity: 1;
  1006. -webkit-transform: translate3d(0, 0, 0);
  1007. transform: translate3d(0, 0, 0);
  1008. }
  1009. }
  1010. @-webkit-keyframes fade-in-up {
  1011. from {
  1012. opacity: 0;
  1013. -webkit-transform: translate3d(0, 100%, 0);
  1014. transform: translate3d(0, 100%, 0);
  1015. }
  1016. to {
  1017. opacity: 1;
  1018. -webkit-transform: translate3d(0, 0, 0);
  1019. transform: translate3d(0, 0, 0);
  1020. }
  1021. }
  1022. @-o-keyframes fade-in-up {
  1023. from {
  1024. opacity: 0;
  1025. -webkit-transform: translate3d(0, 100%, 0);
  1026. transform: translate3d(0, 100%, 0);
  1027. }
  1028. to {
  1029. opacity: 1;
  1030. -webkit-transform: translate3d(0, 0, 0);
  1031. transform: translate3d(0, 0, 0);
  1032. }
  1033. }
  1034. @keyframes fade-in-up {
  1035. from {
  1036. opacity: 0;
  1037. -webkit-transform: translate3d(0, 100%, 0);
  1038. transform: translate3d(0, 100%, 0);
  1039. }
  1040. to {
  1041. opacity: 1;
  1042. -webkit-transform: translate3d(0, 0, 0);
  1043. transform: translate3d(0, 0, 0);
  1044. }
  1045. }
  1046. @-moz-keyframes scroll-down {
  1047. 0% {
  1048. opacity: 0.8;
  1049. top: 0;
  1050. }
  1051. 50% {
  1052. opacity: 0.4;
  1053. top: -1em;
  1054. }
  1055. 100% {
  1056. opacity: 0.8;
  1057. top: 0;
  1058. }
  1059. }
  1060. @-webkit-keyframes scroll-down {
  1061. 0% {
  1062. opacity: 0.8;
  1063. top: 0;
  1064. }
  1065. 50% {
  1066. opacity: 0.4;
  1067. top: -1em;
  1068. }
  1069. 100% {
  1070. opacity: 0.8;
  1071. top: 0;
  1072. }
  1073. }
  1074. @-o-keyframes scroll-down {
  1075. 0% {
  1076. opacity: 0.8;
  1077. top: 0;
  1078. }
  1079. 50% {
  1080. opacity: 0.4;
  1081. top: -1em;
  1082. }
  1083. 100% {
  1084. opacity: 0.8;
  1085. top: 0;
  1086. }
  1087. }
  1088. @keyframes scroll-down {
  1089. 0% {
  1090. opacity: 0.8;
  1091. top: 0;
  1092. }
  1093. 50% {
  1094. opacity: 0.4;
  1095. top: -1em;
  1096. }
  1097. 100% {
  1098. opacity: 0.8;
  1099. top: 0;
  1100. }
  1101. }
  1102. @-moz-keyframes scroll-top {
  1103. 0% {
  1104. -webkit-transform: translateY(0);
  1105. transform: translateY(0);
  1106. }
  1107. 50% {
  1108. -webkit-transform: translateY(-0.35rem);
  1109. transform: translateY(-0.35rem);
  1110. }
  1111. 100% {
  1112. -webkit-transform: translateY(0);
  1113. transform: translateY(0);
  1114. }
  1115. }
  1116. @-webkit-keyframes scroll-top {
  1117. 0% {
  1118. -webkit-transform: translateY(0);
  1119. transform: translateY(0);
  1120. }
  1121. 50% {
  1122. -webkit-transform: translateY(-0.35rem);
  1123. transform: translateY(-0.35rem);
  1124. }
  1125. 100% {
  1126. -webkit-transform: translateY(0);
  1127. transform: translateY(0);
  1128. }
  1129. }
  1130. @-o-keyframes scroll-top {
  1131. 0% {
  1132. -webkit-transform: translateY(0);
  1133. transform: translateY(0);
  1134. }
  1135. 50% {
  1136. -webkit-transform: translateY(-0.35rem);
  1137. transform: translateY(-0.35rem);
  1138. }
  1139. 100% {
  1140. -webkit-transform: translateY(0);
  1141. transform: translateY(0);
  1142. }
  1143. }
  1144. @keyframes scroll-top {
  1145. 0% {
  1146. -webkit-transform: translateY(0);
  1147. transform: translateY(0);
  1148. }
  1149. 50% {
  1150. -webkit-transform: translateY(-0.35rem);
  1151. transform: translateY(-0.35rem);
  1152. }
  1153. 100% {
  1154. -webkit-transform: translateY(0);
  1155. transform: translateY(0);
  1156. }
  1157. }
  1158. @media print {
  1159. header,
  1160. footer,
  1161. .side-col,
  1162. #scroll-top-button,
  1163. .post-prevnext,
  1164. #comments {
  1165. display: none !important;
  1166. }
  1167. .markdown-body a:not([href^='#']):not([href^='javascript:']):not(.print-no-link)::after {
  1168. content: ' (' attr(href) ')';
  1169. font-size: 0.8rem;
  1170. color: var(--post-text-color);
  1171. opacity: 0.8;
  1172. }
  1173. .markdown-body > h1,
  1174. .markdown-body h2 {
  1175. border-bottom-color: transparent !important;
  1176. }
  1177. .markdown-body > h1,
  1178. .markdown-body h2,
  1179. .markdown-body h3,
  1180. .markdown-body h4,
  1181. .markdown-body h5,
  1182. .markdown-body h6 {
  1183. margin-top: 1.25em !important;
  1184. margin-bottom: 0.25em !important;
  1185. }
  1186. .markdown-body [data-anchorjs-icon]::after {
  1187. display: none;
  1188. }
  1189. .markdown-body figure.highlight table,
  1190. .markdown-body figure.highlight tbody,
  1191. .markdown-body figure.highlight tr,
  1192. .markdown-body figure.highlight td.code,
  1193. .markdown-body figure.highlight td.code pre {
  1194. width: 100% !important;
  1195. display: block !important;
  1196. }
  1197. .markdown-body figure.highlight pre > code {
  1198. white-space: pre-wrap;
  1199. }
  1200. .markdown-body figure.highlight .gutter,
  1201. .markdown-body figure.highlight .code-widget {
  1202. display: none !important;
  1203. }
  1204. .post-metas a {
  1205. text-decoration: none;
  1206. }
  1207. }
  1208. @media not print {
  1209. #seo-header {
  1210. display: none;
  1211. }
  1212. }
  1213. .index-card {
  1214. margin-bottom: 2.5rem;
  1215. }
  1216. .index-img img {
  1217. display: block;
  1218. width: 100%;
  1219. height: 10rem;
  1220. object-fit: cover;
  1221. box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18), 0 4px 15px 0 rgba(0,0,0,0.15);
  1222. border-radius: 0.25rem;
  1223. background-color: transparent;
  1224. }
  1225. .index-info {
  1226. display: flex;
  1227. flex-direction: column;
  1228. justify-content: space-between;
  1229. padding-top: 0.5rem;
  1230. padding-bottom: 0.5rem;
  1231. }
  1232. .index-header {
  1233. color: var(--text-color);
  1234. font-size: 1.5rem;
  1235. font-weight: bold;
  1236. line-height: 1.4;
  1237. white-space: nowrap;
  1238. overflow: hidden;
  1239. text-overflow: ellipsis;
  1240. margin-bottom: 0.25rem;
  1241. }
  1242. .index-header .index-pin {
  1243. color: var(--text-color);
  1244. font-size: 1.5rem;
  1245. margin-right: 0.15rem;
  1246. }
  1247. .index-btm {
  1248. color: var(--sec-text-color);
  1249. }
  1250. .index-btm a {
  1251. color: var(--sec-text-color);
  1252. }
  1253. .index-excerpt {
  1254. color: var(--sec-text-color);
  1255. margin: 0.5rem 0;
  1256. height: calc(1.4rem * 3);
  1257. overflow: hidden;
  1258. display: flex;
  1259. }
  1260. .index-excerpt > div {
  1261. width: 100%;
  1262. line-height: 1.4rem;
  1263. word-break: break-word;
  1264. display: -webkit-box;
  1265. -webkit-box-orient: vertical;
  1266. -webkit-line-clamp: 3;
  1267. }
  1268. .index-excerpt__noimg {
  1269. height: auto;
  1270. max-height: calc(1.4rem * 3);
  1271. }
  1272. @media (max-width: 767px) {
  1273. .index-info {
  1274. padding-top: 1.25rem;
  1275. }
  1276. .index-header {
  1277. font-size: 1.25rem;
  1278. white-space: normal;
  1279. overflow: hidden;
  1280. word-break: break-word;
  1281. display: -webkit-box;
  1282. -webkit-box-orient: vertical;
  1283. -webkit-line-clamp: 2;
  1284. }
  1285. .index-header .index-pin {
  1286. font-size: 1.25rem;
  1287. }
  1288. .index-excerpt {
  1289. height: auto;
  1290. max-height: calc(1.4rem * 3);
  1291. margin: 0.25rem 0;
  1292. }
  1293. }
  1294. #valine.v[data-class=v] .status-bar,
  1295. #valine.v[data-class=v] .veditor,
  1296. #valine.v[data-class=v] .vinput,
  1297. #valine.v[data-class=v] .vbtn,
  1298. #valine.v[data-class=v] p,
  1299. #valine.v[data-class=v] pre code {
  1300. color: var(--text-color);
  1301. }
  1302. #valine.v[data-class=v] .vinput::placeholder {
  1303. color: var(--sec-text-color);
  1304. }
  1305. #valine.v[data-class=v] .vicon {
  1306. fill: var(--text-color);
  1307. }
  1308. .gt-container .gt-comment-content:hover {
  1309. -webkit-box-shadow: none;
  1310. box-shadow: none;
  1311. }
  1312. .gt-container .gt-comment-body {
  1313. color: var(--text-color) !important;
  1314. transition: color 0.2s ease-in-out;
  1315. }
  1316. #remark-km423lmfdslkm34-back {
  1317. z-index: 1030;
  1318. }
  1319. #remark-km423lmfdslkm34-node {
  1320. z-index: 1031;
  1321. }
  1322. .markdown-body .highlight pre,
  1323. .markdown-body pre {
  1324. padding: 1.45rem 1rem;
  1325. }
  1326. .markdown-body pre code.hljs {
  1327. padding: 0;
  1328. }
  1329. .markdown-body pre[class*="language-"] {
  1330. padding-top: 1.45rem;
  1331. padding-bottom: 1.45rem;
  1332. padding-right: 1rem;
  1333. line-height: 1.5;
  1334. margin-bottom: 1rem;
  1335. }
  1336. .markdown-body .code-wrapper {
  1337. position: relative;
  1338. border-radius: 4px;
  1339. margin-bottom: 1rem;
  1340. }
  1341. .markdown-body .hljs,
  1342. .markdown-body .highlight pre,
  1343. .markdown-body .code-wrapper pre,
  1344. .markdown-body figure.highlight td.gutter {
  1345. transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
  1346. background-color: var(--highlight-bg-color);
  1347. }
  1348. pre[class*=language-].line-numbers {
  1349. position: initial;
  1350. }
  1351. figure {
  1352. margin: 1rem 0;
  1353. }
  1354. figure.highlight {
  1355. position: relative;
  1356. }
  1357. figure.highlight table {
  1358. border: 0;
  1359. margin: 0;
  1360. width: auto;
  1361. border-radius: 4px;
  1362. }
  1363. figure.highlight td {
  1364. border: 0;
  1365. padding: 0;
  1366. }
  1367. figure.highlight tr {
  1368. border: 0;
  1369. }
  1370. figure.highlight td.code {
  1371. width: 100%;
  1372. }
  1373. figure.highlight td.gutter {
  1374. display: table-cell;
  1375. position: -webkit-sticky;
  1376. position: sticky;
  1377. left: 0;
  1378. z-index: 1;
  1379. }
  1380. figure.highlight td.gutter pre {
  1381. text-align: right;
  1382. padding: 0 0.75rem;
  1383. border-radius: initial;
  1384. border-right: 1px solid #999;
  1385. }
  1386. figure.highlight td.gutter pre span.line {
  1387. color: #999;
  1388. }
  1389. figure.highlight td.code > pre {
  1390. border-top-left-radius: 0;
  1391. border-bottom-left-radius: 0;
  1392. }
  1393. .markdown-body {
  1394. font-size: 1rem;
  1395. line-height: 1.6;
  1396. font-family: var(--font-family-sans-serif);
  1397. margin-bottom: 2rem;
  1398. color: var(--post-text-color);
  1399. }
  1400. .markdown-body > h1,
  1401. .markdown-body h2 {
  1402. border-bottom-color: var(--line-color);
  1403. }
  1404. .markdown-body > h1,
  1405. .markdown-body h2,
  1406. .markdown-body h3,
  1407. .markdown-body h4,
  1408. .markdown-body h5,
  1409. .markdown-body h6 {
  1410. color: var(--post-heading-color);
  1411. transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
  1412. font-weight: bold;
  1413. margin-bottom: 0.75em;
  1414. margin-top: 2em;
  1415. }
  1416. .markdown-body > h1::before,
  1417. .markdown-body h2::before,
  1418. .markdown-body h3::before,
  1419. .markdown-body h4::before,
  1420. .markdown-body h5::before,
  1421. .markdown-body h6::before {
  1422. display: block;
  1423. content: "";
  1424. margin-top: -5rem;
  1425. height: 5rem;
  1426. width: 1px;
  1427. visibility: hidden;
  1428. }
  1429. .markdown-body > h1:focus,
  1430. .markdown-body h2:focus,
  1431. .markdown-body h3:focus,
  1432. .markdown-body h4:focus,
  1433. .markdown-body h5:focus,
  1434. .markdown-body h6:focus {
  1435. outline: none;
  1436. }
  1437. .markdown-body a {
  1438. color: var(--post-link-color);
  1439. }
  1440. .markdown-body strong {
  1441. font-weight: bold;
  1442. }
  1443. .markdown-body code {
  1444. tab-size: 4;
  1445. background-color: var(--inlinecode-bg-color);
  1446. transition: background-color 0.2s ease-in-out;
  1447. }
  1448. .markdown-body table tr {
  1449. background-color: var(--board-bg-color);
  1450. transition: background-color 0.2s ease-in-out;
  1451. }
  1452. .markdown-body table tr:nth-child(2n) {
  1453. background-color: var(--board-bg-color);
  1454. transition: background-color 0.2s ease-in-out;
  1455. }
  1456. .markdown-body table th,
  1457. .markdown-body table td {
  1458. border-color: var(--line-color);
  1459. transition: border-color 0.2s ease-in-out;
  1460. }
  1461. .markdown-body pre {
  1462. font-size: 85% !important;
  1463. }
  1464. .markdown-body pre .mermaid {
  1465. text-align: center;
  1466. }
  1467. .markdown-body pre .mermaid > svg {
  1468. min-width: 100%;
  1469. }
  1470. .markdown-body p > img,
  1471. .markdown-body p > a > img,
  1472. .markdown-body figure > img,
  1473. .markdown-body figure > a > img {
  1474. max-width: 90%;
  1475. margin: 1.5rem auto;
  1476. display: block;
  1477. box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18), 0 4px 15px 0 rgba(0,0,0,0.15);
  1478. border-radius: 4px;
  1479. background-color: transparent;
  1480. }
  1481. .markdown-body blockquote {
  1482. color: var(--sec-text-color);
  1483. }
  1484. .markdown-body details {
  1485. cursor: pointer;
  1486. }
  1487. .markdown-body details summary {
  1488. outline: none;
  1489. }
  1490. hr,
  1491. .markdown-body hr {
  1492. background-color: initial;
  1493. border-top: 1px solid var(--line-color);
  1494. transition: border-top-color 0.2s ease-in-out;
  1495. }
  1496. .markdown-body hr {
  1497. height: 0;
  1498. margin: 2rem 0;
  1499. }
  1500. .markdown-body figcaption.image-caption {
  1501. font-size: 0.8rem;
  1502. color: var(--post-text-color);
  1503. opacity: 0.65;
  1504. line-height: 1;
  1505. margin: -0.75rem auto 2rem;
  1506. text-align: center;
  1507. }
  1508. .markdown-body figcaption:not(.image-caption) {
  1509. display: none;
  1510. }
  1511. .post-content,
  1512. post-custom {
  1513. box-sizing: border-box;
  1514. padding-left: 10%;
  1515. padding-right: 10%;
  1516. }
  1517. @media (max-width: 767px) {
  1518. .post-content,
  1519. post-custom {
  1520. padding-left: 2rem;
  1521. padding-right: 2rem;
  1522. }
  1523. .page-content,
  1524. .post-content {
  1525. overflow: hidden;
  1526. }
  1527. }
  1528. @media (max-width: 424px) {
  1529. .post-content,
  1530. post-custom {
  1531. padding-left: 1rem;
  1532. padding-right: 1rem;
  1533. }
  1534. .page-content,
  1535. .post-content {
  1536. overflow: hidden;
  1537. }
  1538. .anchorjs-link-left {
  1539. opacity: 0 !important;
  1540. }
  1541. }
  1542. .page-content strong,
  1543. .post-content strong {
  1544. font-weight: bold;
  1545. }
  1546. .page-content > *:nth-child(2),
  1547. .post-content > *:nth-child(2) {
  1548. margin-top: 0;
  1549. }
  1550. .page-content img,
  1551. .post-content img {
  1552. object-fit: cover;
  1553. max-width: 100%;
  1554. }
  1555. .post-metas {
  1556. display: flex;
  1557. flex-wrap: wrap;
  1558. font-size: 0.9rem;
  1559. }
  1560. .post-meta > *:not(.hover-with-bg) {
  1561. margin-right: 0.2rem;
  1562. }
  1563. .post-prevnext {
  1564. display: flex;
  1565. flex-wrap: wrap;
  1566. justify-content: space-between;
  1567. font-size: 0.9rem;
  1568. margin-left: -0.35rem;
  1569. margin-right: -0.35rem;
  1570. }
  1571. .post-prevnext .post-prev,
  1572. .post-prevnext .post-next {
  1573. display: flex;
  1574. padding-left: 0;
  1575. padding-right: 0;
  1576. }
  1577. .post-prevnext .post-prev i,
  1578. .post-prevnext .post-next i {
  1579. font-size: 1.5rem;
  1580. }
  1581. .post-prevnext .post-prev a,
  1582. .post-prevnext .post-next a {
  1583. display: flex;
  1584. align-items: center;
  1585. }
  1586. .post-prevnext .post-prev .hidden-mobile,
  1587. .post-prevnext .post-next .hidden-mobile {
  1588. display: -webkit-box;
  1589. -webkit-box-orient: vertical;
  1590. -webkit-line-clamp: 2;
  1591. text-overflow: ellipsis;
  1592. overflow: hidden;
  1593. }
  1594. @media (max-width: 575px) {
  1595. .post-prevnext .post-prev .hidden-mobile,
  1596. .post-prevnext .post-next .hidden-mobile {
  1597. display: none;
  1598. }
  1599. }
  1600. .post-prevnext .post-prev:hover i,
  1601. .post-prevnext .post-prev:active i,
  1602. .post-prevnext .post-next:hover i,
  1603. .post-prevnext .post-next:active i {
  1604. -webkit-animation-duration: 1s;
  1605. animation-duration: 1s;
  1606. -webkit-animation-delay: 0.1s;
  1607. animation-delay: 0.1s;
  1608. -webkit-animation-timing-function: ease-in-out;
  1609. animation-timing-function: ease-in-out;
  1610. -webkit-animation-iteration-count: infinite;
  1611. animation-iteration-count: infinite;
  1612. -webkit-animation-fill-mode: forwards;
  1613. animation-fill-mode: forwards;
  1614. -webkit-animation-direction: alternate;
  1615. animation-direction: alternate;
  1616. }
  1617. .post-prevnext .post-prev:hover i,
  1618. .post-prevnext .post-prev:active i {
  1619. -webkit-animation-name: post-prev-anim;
  1620. animation-name: post-prev-anim;
  1621. }
  1622. .post-prevnext .post-next:hover i,
  1623. .post-prevnext .post-next:active i {
  1624. -webkit-animation-name: post-next-anim;
  1625. animation-name: post-next-anim;
  1626. }
  1627. .post-prevnext .post-next {
  1628. justify-content: flex-end;
  1629. }
  1630. .post-prevnext .fa-chevron-left {
  1631. margin-right: 0.5rem;
  1632. }
  1633. .post-prevnext .fa-chevron-right {
  1634. margin-left: 0.5rem;
  1635. }
  1636. #seo-header {
  1637. color: var(--post-heading-color);
  1638. font-weight: bold;
  1639. margin-top: 0.5em;
  1640. margin-bottom: 0.75em;
  1641. border-bottom-color: var(--line-color);
  1642. border-bottom-style: solid;
  1643. border-bottom-width: 2px;
  1644. line-height: 1.5;
  1645. }
  1646. .custom,
  1647. #comments {
  1648. margin-top: 2rem;
  1649. }
  1650. #comments noscript {
  1651. display: block;
  1652. text-align: center;
  1653. padding: 2rem 0;
  1654. }
  1655. .visitors {
  1656. font-size: 0.8em;
  1657. padding: 0.45rem;
  1658. float: right;
  1659. }
  1660. a.fancybox:hover {
  1661. text-decoration: none;
  1662. }
  1663. mjx-container,
  1664. .mjx-container {
  1665. overflow-x: auto;
  1666. overflow-y: hidden !important;
  1667. padding: 0.5em 0;
  1668. }
  1669. mjx-container:focus,
  1670. .mjx-container:focus,
  1671. mjx-container svg:focus,
  1672. .mjx-container svg:focus {
  1673. outline: none;
  1674. }
  1675. .mjx-char {
  1676. line-height: 1;
  1677. }
  1678. .katex-block {
  1679. overflow-x: auto;
  1680. }
  1681. .katex,
  1682. .mjx-mrow {
  1683. white-space: pre-wrap !important;
  1684. }
  1685. .footnote-ref [class*=hint--][aria-label]:after {
  1686. max-width: 12rem;
  1687. white-space: nowrap;
  1688. overflow: hidden;
  1689. text-overflow: ellipsis;
  1690. }
  1691. @-moz-keyframes post-prev-anim {
  1692. 0% {
  1693. -webkit-transform: translateX(0);
  1694. transform: translateX(0);
  1695. }
  1696. 50% {
  1697. -webkit-transform: translateX(-0.35rem);
  1698. transform: translateX(-0.35rem);
  1699. }
  1700. 100% {
  1701. -webkit-transform: translateX(0);
  1702. transform: translateX(0);
  1703. }
  1704. }
  1705. @-webkit-keyframes post-prev-anim {
  1706. 0% {
  1707. -webkit-transform: translateX(0);
  1708. transform: translateX(0);
  1709. }
  1710. 50% {
  1711. -webkit-transform: translateX(-0.35rem);
  1712. transform: translateX(-0.35rem);
  1713. }
  1714. 100% {
  1715. -webkit-transform: translateX(0);
  1716. transform: translateX(0);
  1717. }
  1718. }
  1719. @-o-keyframes post-prev-anim {
  1720. 0% {
  1721. -webkit-transform: translateX(0);
  1722. transform: translateX(0);
  1723. }
  1724. 50% {
  1725. -webkit-transform: translateX(-0.35rem);
  1726. transform: translateX(-0.35rem);
  1727. }
  1728. 100% {
  1729. -webkit-transform: translateX(0);
  1730. transform: translateX(0);
  1731. }
  1732. }
  1733. @keyframes post-prev-anim {
  1734. 0% {
  1735. -webkit-transform: translateX(0);
  1736. transform: translateX(0);
  1737. }
  1738. 50% {
  1739. -webkit-transform: translateX(-0.35rem);
  1740. transform: translateX(-0.35rem);
  1741. }
  1742. 100% {
  1743. -webkit-transform: translateX(0);
  1744. transform: translateX(0);
  1745. }
  1746. }
  1747. @-moz-keyframes post-next-anim {
  1748. 0% {
  1749. -webkit-transform: translateX(0);
  1750. transform: translateX(0);
  1751. }
  1752. 50% {
  1753. -webkit-transform: translateX(0.35rem);
  1754. transform: translateX(0.35rem);
  1755. }
  1756. 100% {
  1757. -webkit-transform: translateX(0);
  1758. transform: translateX(0);
  1759. }
  1760. }
  1761. @-webkit-keyframes post-next-anim {
  1762. 0% {
  1763. -webkit-transform: translateX(0);
  1764. transform: translateX(0);
  1765. }
  1766. 50% {
  1767. -webkit-transform: translateX(0.35rem);
  1768. transform: translateX(0.35rem);
  1769. }
  1770. 100% {
  1771. -webkit-transform: translateX(0);
  1772. transform: translateX(0);
  1773. }
  1774. }
  1775. @-o-keyframes post-next-anim {
  1776. 0% {
  1777. -webkit-transform: translateX(0);
  1778. transform: translateX(0);
  1779. }
  1780. 50% {
  1781. -webkit-transform: translateX(0.35rem);
  1782. transform: translateX(0.35rem);
  1783. }
  1784. 100% {
  1785. -webkit-transform: translateX(0);
  1786. transform: translateX(0);
  1787. }
  1788. }
  1789. @keyframes post-next-anim {
  1790. 0% {
  1791. -webkit-transform: translateX(0);
  1792. transform: translateX(0);
  1793. }
  1794. 50% {
  1795. -webkit-transform: translateX(0.35rem);
  1796. transform: translateX(0.35rem);
  1797. }
  1798. 100% {
  1799. -webkit-transform: translateX(0);
  1800. transform: translateX(0);
  1801. }
  1802. }
  1803. .fold {
  1804. margin: 1rem 0;
  1805. border: 0.5px solid var(--fold-border-color);
  1806. position: relative;
  1807. clear: both;
  1808. border-radius: 0.125rem;
  1809. }
  1810. .fold .fold-title {
  1811. color: var(--fold-title-color);
  1812. padding: 0.5rem 0.75rem;
  1813. font-size: 0.9rem;
  1814. font-weight: bold;
  1815. border-radius: 0.125rem;
  1816. }
  1817. .fold .fold-title:not(.collapsed) > .fold-arrow {
  1818. transform: rotate(90deg);
  1819. transform-origin: center center;
  1820. }
  1821. .fold .fold-title .fold-arrow {
  1822. display: inline-block;
  1823. margin-right: 0.35rem;
  1824. transition: transform 0.3s ease-out;
  1825. }
  1826. .fold .fold-content {
  1827. padding: 1rem 1rem;
  1828. }
  1829. .fold .fold-content > *:last-child {
  1830. margin-bottom: 0;
  1831. }
  1832. .fold-default,
  1833. .fold-secondary {
  1834. background-color: rgba(187,187,187,0.25);
  1835. }
  1836. .fold-primary {
  1837. background-color: rgba(183,160,224,0.25);
  1838. }
  1839. .fold-info {
  1840. background-color: rgba(160,197,228,0.25);
  1841. }
  1842. .fold-success {
  1843. background-color: rgba(174,220,174,0.25);
  1844. }
  1845. .fold-warning {
  1846. background-color: rgba(248,214,166,0.25);
  1847. }
  1848. .fold-danger {
  1849. background-color: rgba(236,169,167,0.25);
  1850. }
  1851. .fold-light {
  1852. background-color: rgba(254,254,254,0.25);
  1853. }
  1854. .note {
  1855. padding: 0.75rem;
  1856. border-left: 0.35rem solid;
  1857. border-radius: 0.25rem;
  1858. margin: 1.5rem 0;
  1859. color: var(--text-color);
  1860. transition: color 0.2s ease-in-out;
  1861. font-size: 0.9rem;
  1862. }
  1863. .note a {
  1864. color: var(--text-color);
  1865. transition: color 0.2s ease-in-out;
  1866. }
  1867. .note *:last-child {
  1868. margin-bottom: 0;
  1869. }
  1870. .note-default,
  1871. .note-secondary {
  1872. background-color: rgba(187,187,187,0.25);
  1873. border-color: #777;
  1874. }
  1875. .note-primary {
  1876. background-color: rgba(183,160,224,0.25);
  1877. border-color: #6f42c1;
  1878. }
  1879. .note-success {
  1880. background-color: rgba(174,220,174,0.25);
  1881. border-color: #5cb85c;
  1882. }
  1883. .note-danger {
  1884. background-color: rgba(236,169,167,0.25);
  1885. border-color: #d9534f;
  1886. }
  1887. .note-warning {
  1888. background-color: rgba(248,214,166,0.25);
  1889. border-color: #f0ad4e;
  1890. }
  1891. .note-info {
  1892. background-color: rgba(160,197,228,0.25);
  1893. border-color: #428bca;
  1894. }
  1895. .note-light {
  1896. background-color: rgba(254,254,254,0.25);
  1897. border-color: #0f0f0f;
  1898. }
  1899. .label {
  1900. display: inline;
  1901. border-radius: 3px;
  1902. font-size: 85%;
  1903. margin: 0;
  1904. padding: 0.2em 0.4em;
  1905. color: var(--text-color);
  1906. transition: color 0.2s ease-in-out;
  1907. }
  1908. .label-default,
  1909. .label-secondary {
  1910. background-color: rgba(187,187,187,0.25);
  1911. }
  1912. .label-primary {
  1913. background-color: rgba(183,160,224,0.25);
  1914. }
  1915. .label-info {
  1916. background-color: rgba(160,197,228,0.25);
  1917. }
  1918. .label-success {
  1919. background-color: rgba(174,220,174,0.25);
  1920. }
  1921. .label-warning {
  1922. background-color: rgba(248,214,166,0.25);
  1923. }
  1924. .label-danger {
  1925. background-color: rgba(236,169,167,0.25);
  1926. }
  1927. .markdown-body .btn {
  1928. border: 1px solid var(--line-color);
  1929. background-color: var(--button-bg-color);
  1930. color: var(--text-color);
  1931. transition: color 0.2s ease-in-out, background 0.2s ease-in-out, border-color 0.2s ease-in-out;
  1932. border-radius: 0.25rem;
  1933. display: inline-block;
  1934. font-size: 0.875em;
  1935. line-height: 2;
  1936. padding: 0 0.75rem;
  1937. margin-bottom: 1rem;
  1938. }
  1939. .markdown-body .btn:hover {
  1940. background-color: var(--button-hover-bg-color);
  1941. text-decoration: none;
  1942. }
  1943. .group-image-container {
  1944. margin: 1.5rem auto;
  1945. }
  1946. .group-image-container img {
  1947. margin: 0 auto;
  1948. border-radius: 3px;
  1949. background-color: transparent;
  1950. box-shadow: 0 3px 9px 0 rgba(0,0,0,0.15), 0 3px 9px 0 rgba(0,0,0,0.15);
  1951. }
  1952. .group-image-row {
  1953. margin-bottom: 0.5rem;
  1954. display: flex;
  1955. justify-content: center;
  1956. }
  1957. .group-image-wrap {
  1958. flex: 1;
  1959. display: flex;
  1960. justify-content: center;
  1961. }
  1962. .group-image-wrap:not(:last-child) {
  1963. margin-right: 0.25rem;
  1964. }
  1965. input[type=checkbox] {
  1966. margin: 0 0.2em 0.2em 0;
  1967. vertical-align: middle;
  1968. }
  1969. .list-group a ~ p.h5 {
  1970. margin-top: 1rem;
  1971. }
  1972. .list-group-item {
  1973. display: flex;
  1974. background-color: transparent;
  1975. border: 0;
  1976. }
  1977. .list-group-item time {
  1978. flex: 0 0 5rem;
  1979. }
  1980. .list-group-item .list-group-item-title {
  1981. white-space: nowrap;
  1982. overflow: hidden;
  1983. text-overflow: ellipsis;
  1984. }
  1985. @media (max-width: 575px) {
  1986. .list-group-item {
  1987. font-size: 0.95rem;
  1988. padding: 0.5rem 0.75rem;
  1989. }
  1990. .list-group-item time {
  1991. flex: 0 0 4rem;
  1992. }
  1993. }
  1994. .list-group-item-action {
  1995. color: var(--text-color);
  1996. }
  1997. .list-group-item-action:focus,
  1998. .list-group-item-action:hover {
  1999. color: var(--link-hover-color);
  2000. background-color: var(--link-hover-bg-color);
  2001. }
  2002. .about-avatar {
  2003. position: relative;
  2004. margin: -8rem auto 1rem;
  2005. width: 10rem;
  2006. height: 10rem;
  2007. z-index: 3;
  2008. }
  2009. .about-avatar img {
  2010. width: 100%;
  2011. height: 100%;
  2012. border-radius: 50%;
  2013. background-color: transparent;
  2014. object-fit: cover;
  2015. box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  2016. }
  2017. .about-info > div {
  2018. margin-bottom: 0.5rem;
  2019. }
  2020. .about-name {
  2021. font-size: 1.75rem;
  2022. font-weight: bold;
  2023. }
  2024. .about-intro {
  2025. font-size: 1rem;
  2026. }
  2027. .about-icons > a:not(:last-child) {
  2028. margin-right: 0.5rem;
  2029. }
  2030. .about-icons > a > i {
  2031. font-size: 1.5rem;
  2032. }
  2033. .category-bar .category-list {
  2034. max-height: 85vh;
  2035. overflow-y: auto;
  2036. overflow-x: hidden;
  2037. }
  2038. .category-bar .category-list::-webkit-scrollbar {
  2039. display: none;
  2040. }
  2041. .category-bar .category-list > .category-sub > a {
  2042. font-weight: bold;
  2043. font-size: 1.2rem;
  2044. }
  2045. .category-bar .category-list .category-item-action i {
  2046. margin: 0;
  2047. }
  2048. .category-bar .category-list .category-subitem.list-group-item {
  2049. padding-left: 0.5rem;
  2050. padding-right: 0;
  2051. }
  2052. .category-bar .category-list .category-collapse .category-post-list {
  2053. margin-top: 0.25rem;
  2054. margin-bottom: 0.5rem;
  2055. }
  2056. .category-bar .category-list .category-collapse .category-post {
  2057. font-size: 0.9rem;
  2058. line-height: 1.75;
  2059. }
  2060. .category-bar .category-list .category-item-action:hover {
  2061. background-color: initial;
  2062. }
  2063. .category-bar .list-group-item {
  2064. padding: 0;
  2065. }
  2066. .category-bar .list-group-item.active {
  2067. color: var(--link-hover-color);
  2068. background-color: initial;
  2069. font-weight: bold;
  2070. font-family: "iconfont";
  2071. font-style: normal;
  2072. -webkit-font-smoothing: antialiased;
  2073. }
  2074. .category-bar .list-group-item.active::before {
  2075. content: "\e61f";
  2076. font-weight: initial;
  2077. margin-right: 0.25rem;
  2078. }
  2079. .category-bar .list-group-count {
  2080. margin-left: 0.2rem;
  2081. margin-right: 0.2rem;
  2082. font-size: 0.9em;
  2083. }
  2084. .category-bar .list-group-item-action:focus,
  2085. .category-bar .list-group-item-action:hover {
  2086. background-color: initial;
  2087. }
  2088. .category-chains {
  2089. display: flex;
  2090. flex-wrap: wrap;
  2091. }
  2092. .category-chains > *:not(:last-child) {
  2093. margin-right: 1em;
  2094. }
  2095. .category:not(:last-child) {
  2096. margin-bottom: 1rem;
  2097. }
  2098. .category .category-item,
  2099. .category .category-subitem {
  2100. font-weight: bold;
  2101. display: flex;
  2102. align-items: center;
  2103. }
  2104. .category .category-item {
  2105. font-size: 1.25rem;
  2106. }
  2107. .category .category-subitem {
  2108. font-size: 1.1rem;
  2109. }
  2110. .category .category-collapse {
  2111. padding-left: 1.25rem;
  2112. width: 100%;
  2113. }
  2114. .category .category-count {
  2115. font-size: 0.9rem;
  2116. font-weight: initial;
  2117. min-width: 1.3em;
  2118. line-height: 1.3em;
  2119. display: flex;
  2120. align-items: center;
  2121. }
  2122. .category .category-count i {
  2123. padding-right: 0.25rem;
  2124. }
  2125. .category .category-count span {
  2126. width: 2rem;
  2127. }
  2128. .category .category-post {
  2129. white-space: nowrap;
  2130. overflow: hidden;
  2131. text-overflow: ellipsis;
  2132. }
  2133. .category .category-item-action:not(.collapsed) > i {
  2134. transform: rotate(90deg);
  2135. transform-origin: center center;
  2136. }
  2137. .category .category-item-action i {
  2138. transition: transform 0.3s ease-out;
  2139. display: inline-block;
  2140. margin-left: 0.25rem;
  2141. }
  2142. .category .category-item-action .category:hover {
  2143. z-index: 1;
  2144. color: var(--link-hover-color);
  2145. text-decoration: none;
  2146. background-color: var(--link-hover-bg-color);
  2147. }
  2148. .category .row {
  2149. margin-left: 0;
  2150. margin-right: 0;
  2151. }
  2152. .tagcloud {
  2153. padding: 1rem 5%;
  2154. }
  2155. .tagcloud a {
  2156. display: inline-block;
  2157. padding: 0.5rem;
  2158. }
  2159. .tagcloud a:hover {
  2160. color: var(--link-hover-color) !important;
  2161. }
  2162. .links .card {
  2163. box-shadow: none;
  2164. min-width: 33%;
  2165. background-color: transparent;
  2166. border: 0;
  2167. }
  2168. .links .card-body {
  2169. margin: 1rem 0;
  2170. padding: 1rem;
  2171. border-radius: 0.3rem;
  2172. display: block;
  2173. width: 100%;
  2174. height: 100%;
  2175. }
  2176. .links .card-body:hover .link-avatar {
  2177. transform: scale(1.1);
  2178. }
  2179. .links .card-content {
  2180. display: flex;
  2181. flex-wrap: nowrap;
  2182. width: 100%;
  2183. height: 3.5rem;
  2184. }
  2185. .link-avatar {
  2186. flex: none;
  2187. width: 3rem;
  2188. height: 3rem;
  2189. margin-right: 0.75rem;
  2190. object-fit: cover;
  2191. transition-duration: 0.2s;
  2192. transition-timing-function: ease-in-out;
  2193. }
  2194. .link-avatar img {
  2195. width: 100%;
  2196. height: 100%;
  2197. border-radius: 50%;
  2198. background-color: transparent;
  2199. object-fit: cover;
  2200. }
  2201. .link-text {
  2202. flex: 1;
  2203. display: grid;
  2204. flex-direction: column;
  2205. line-height: 1.5;
  2206. }
  2207. .link-title {
  2208. overflow: hidden;
  2209. text-overflow: ellipsis;
  2210. white-space: nowrap;
  2211. color: var(--text-color);
  2212. font-weight: bold;
  2213. }
  2214. .link-intro {
  2215. max-height: 2rem;
  2216. font-size: 0.85rem;
  2217. line-height: 1.2;
  2218. color: var(--sec-text-color);
  2219. display: -webkit-box;
  2220. -webkit-box-orient: vertical;
  2221. -webkit-line-clamp: 2;
  2222. text-overflow: ellipsis;
  2223. overflow: hidden;
  2224. }
  2225. @media (max-width: 767px) {
  2226. .links {
  2227. display: flex;
  2228. flex-direction: column;
  2229. justify-content: center;
  2230. align-items: center;
  2231. }
  2232. .links .card {
  2233. padding-left: 2rem;
  2234. padding-right: 2rem;
  2235. }
  2236. }
  2237. @media (min-width: 768px) {
  2238. .link-text:only-child {
  2239. margin-left: 1rem;
  2240. }
  2241. }