main.css 47 KB

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