main.css 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175
  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. }
  857. @media (prefers-color-scheme: dark) {
  858. :root {
  859. --color-mode: "dark";
  860. }
  861. :root:not([data-user-color-scheme]) {
  862. --body-bg-color: #181c27;
  863. --board-bg-color: #252d38;
  864. --text-color: #c4c6c9;
  865. --sec-text-color: #a7a9ad;
  866. --post-text-color: #c4c6c9;
  867. --post-heading-color: #c4c6c9;
  868. --post-link-color: #1589e9;
  869. --link-hover-color: #30a9de;
  870. --link-hover-bg-color: #364151;
  871. --line-color: #435266;
  872. --navbar-bg-color: #1f3144;
  873. --navbar-text-color: #d0d0d0;
  874. --subtitle-color: #d0d0d0;
  875. --scrollbar-color: #687582;
  876. --scrollbar-hover-color: #9da8b3;
  877. --button-bg-color: transparent;
  878. --button-hover-bg-color: #46647e;
  879. --highlight-bg-color: #303030;
  880. --inlinecode-bg-color: rgba(99,110,123,0.4);
  881. }
  882. :root:not([data-user-color-scheme]) img {
  883. -webkit-filter: brightness(0.9);
  884. filter: brightness(0.9);
  885. transition: filter 0.2s ease-in-out;
  886. }
  887. :root:not([data-user-color-scheme]) .license-box {
  888. background-color: rgba(62,75,94,0.35);
  889. transition: background-color 0.2s ease-in-out;
  890. }
  891. :root:not([data-user-color-scheme]) .gt-comment-admin .gt-comment-content {
  892. background-color: transparent;
  893. transition: background-color 0.2s ease-in-out;
  894. }
  895. }
  896. @media not print {
  897. [data-user-color-scheme="dark"] {
  898. --body-bg-color: #181c27;
  899. --board-bg-color: #252d38;
  900. --text-color: #c4c6c9;
  901. --sec-text-color: #a7a9ad;
  902. --post-text-color: #c4c6c9;
  903. --post-heading-color: #c4c6c9;
  904. --post-link-color: #1589e9;
  905. --link-hover-color: #30a9de;
  906. --link-hover-bg-color: #364151;
  907. --line-color: #435266;
  908. --navbar-bg-color: #1f3144;
  909. --navbar-text-color: #d0d0d0;
  910. --subtitle-color: #d0d0d0;
  911. --scrollbar-color: #687582;
  912. --scrollbar-hover-color: #9da8b3;
  913. --button-bg-color: transparent;
  914. --button-hover-bg-color: #46647e;
  915. --highlight-bg-color: #303030;
  916. --inlinecode-bg-color: rgba(99,110,123,0.4);
  917. }
  918. [data-user-color-scheme="dark"] img {
  919. -webkit-filter: brightness(0.9);
  920. filter: brightness(0.9);
  921. transition: filter 0.2s ease-in-out;
  922. }
  923. [data-user-color-scheme="dark"] .license-box {
  924. background-color: rgba(62,75,94,0.35);
  925. transition: background-color 0.2s ease-in-out;
  926. }
  927. [data-user-color-scheme="dark"] .gt-comment-admin .gt-comment-content {
  928. background-color: transparent;
  929. transition: background-color 0.2s ease-in-out;
  930. }
  931. }
  932. @media print {
  933. :root {
  934. --color-mode: "light";
  935. }
  936. }
  937. .fade-in-up {
  938. -webkit-animation-name: fade-in-up;
  939. animation-name: fade-in-up;
  940. }
  941. .hidden-mobile {
  942. display: block;
  943. }
  944. .visible-mobile {
  945. display: none;
  946. }
  947. @media (max-width: 575px) {
  948. .hidden-mobile {
  949. display: none;
  950. }
  951. .visible-mobile {
  952. display: block;
  953. }
  954. }
  955. .nomargin-x {
  956. margin-left: 0 !important;
  957. margin-right: 0 !important;
  958. }
  959. .nopadding-x {
  960. padding-left: 0 !important;
  961. padding-right: 0 !important;
  962. }
  963. @media (max-width: 767px) {
  964. .nopadding-x-md {
  965. padding-left: 0 !important;
  966. padding-right: 0 !important;
  967. }
  968. }
  969. .flex-center {
  970. display: -webkit-box;
  971. display: -ms-flexbox;
  972. display: flex;
  973. -webkit-box-align: center;
  974. -ms-flex-align: center;
  975. align-items: center;
  976. -webkit-box-pack: center;
  977. -ms-flex-pack: center;
  978. justify-content: center;
  979. height: 100%;
  980. }
  981. .hover-with-bg {
  982. display: inline-block;
  983. line-height: 1;
  984. }
  985. .hover-with-bg:hover {
  986. background-color: var(--link-hover-bg-color);
  987. transition-duration: 0.2s;
  988. transition-timing-function: ease-in-out;
  989. border-radius: 0.2rem;
  990. }
  991. @-moz-keyframes fade-in-up {
  992. from {
  993. opacity: 0;
  994. -webkit-transform: translate3d(0, 100%, 0);
  995. transform: translate3d(0, 100%, 0);
  996. }
  997. to {
  998. opacity: 1;
  999. -webkit-transform: translate3d(0, 0, 0);
  1000. transform: translate3d(0, 0, 0);
  1001. }
  1002. }
  1003. @-webkit-keyframes fade-in-up {
  1004. from {
  1005. opacity: 0;
  1006. -webkit-transform: translate3d(0, 100%, 0);
  1007. transform: translate3d(0, 100%, 0);
  1008. }
  1009. to {
  1010. opacity: 1;
  1011. -webkit-transform: translate3d(0, 0, 0);
  1012. transform: translate3d(0, 0, 0);
  1013. }
  1014. }
  1015. @-o-keyframes fade-in-up {
  1016. from {
  1017. opacity: 0;
  1018. -webkit-transform: translate3d(0, 100%, 0);
  1019. transform: translate3d(0, 100%, 0);
  1020. }
  1021. to {
  1022. opacity: 1;
  1023. -webkit-transform: translate3d(0, 0, 0);
  1024. transform: translate3d(0, 0, 0);
  1025. }
  1026. }
  1027. @keyframes fade-in-up {
  1028. from {
  1029. opacity: 0;
  1030. -webkit-transform: translate3d(0, 100%, 0);
  1031. transform: translate3d(0, 100%, 0);
  1032. }
  1033. to {
  1034. opacity: 1;
  1035. -webkit-transform: translate3d(0, 0, 0);
  1036. transform: translate3d(0, 0, 0);
  1037. }
  1038. }
  1039. @-moz-keyframes scroll-down {
  1040. 0% {
  1041. opacity: 0.8;
  1042. top: 0;
  1043. }
  1044. 50% {
  1045. opacity: 0.4;
  1046. top: -1em;
  1047. }
  1048. 100% {
  1049. opacity: 0.8;
  1050. top: 0;
  1051. }
  1052. }
  1053. @-webkit-keyframes scroll-down {
  1054. 0% {
  1055. opacity: 0.8;
  1056. top: 0;
  1057. }
  1058. 50% {
  1059. opacity: 0.4;
  1060. top: -1em;
  1061. }
  1062. 100% {
  1063. opacity: 0.8;
  1064. top: 0;
  1065. }
  1066. }
  1067. @-o-keyframes scroll-down {
  1068. 0% {
  1069. opacity: 0.8;
  1070. top: 0;
  1071. }
  1072. 50% {
  1073. opacity: 0.4;
  1074. top: -1em;
  1075. }
  1076. 100% {
  1077. opacity: 0.8;
  1078. top: 0;
  1079. }
  1080. }
  1081. @keyframes scroll-down {
  1082. 0% {
  1083. opacity: 0.8;
  1084. top: 0;
  1085. }
  1086. 50% {
  1087. opacity: 0.4;
  1088. top: -1em;
  1089. }
  1090. 100% {
  1091. opacity: 0.8;
  1092. top: 0;
  1093. }
  1094. }
  1095. @-moz-keyframes scroll-top {
  1096. 0% {
  1097. -webkit-transform: translateY(0);
  1098. transform: translateY(0);
  1099. }
  1100. 50% {
  1101. -webkit-transform: translateY(-0.35rem);
  1102. transform: translateY(-0.35rem);
  1103. }
  1104. 100% {
  1105. -webkit-transform: translateY(0);
  1106. transform: translateY(0);
  1107. }
  1108. }
  1109. @-webkit-keyframes scroll-top {
  1110. 0% {
  1111. -webkit-transform: translateY(0);
  1112. transform: translateY(0);
  1113. }
  1114. 50% {
  1115. -webkit-transform: translateY(-0.35rem);
  1116. transform: translateY(-0.35rem);
  1117. }
  1118. 100% {
  1119. -webkit-transform: translateY(0);
  1120. transform: translateY(0);
  1121. }
  1122. }
  1123. @-o-keyframes scroll-top {
  1124. 0% {
  1125. -webkit-transform: translateY(0);
  1126. transform: translateY(0);
  1127. }
  1128. 50% {
  1129. -webkit-transform: translateY(-0.35rem);
  1130. transform: translateY(-0.35rem);
  1131. }
  1132. 100% {
  1133. -webkit-transform: translateY(0);
  1134. transform: translateY(0);
  1135. }
  1136. }
  1137. @keyframes scroll-top {
  1138. 0% {
  1139. -webkit-transform: translateY(0);
  1140. transform: translateY(0);
  1141. }
  1142. 50% {
  1143. -webkit-transform: translateY(-0.35rem);
  1144. transform: translateY(-0.35rem);
  1145. }
  1146. 100% {
  1147. -webkit-transform: translateY(0);
  1148. transform: translateY(0);
  1149. }
  1150. }
  1151. @media print {
  1152. header,
  1153. footer,
  1154. .side-col,
  1155. #scroll-top-button,
  1156. .post-prevnext,
  1157. #comments {
  1158. display: none !important;
  1159. }
  1160. .markdown-body a:not([href^='#']):not([href^='javascript:']):not(.print-no-link)::after {
  1161. content: ' (' attr(href) ')';
  1162. font-size: 0.8rem;
  1163. color: var(--post-text-color);
  1164. opacity: 0.8;
  1165. }
  1166. .markdown-body > h1,
  1167. .markdown-body h2 {
  1168. border-bottom-color: transparent !important;
  1169. }
  1170. .markdown-body > h1,
  1171. .markdown-body h2,
  1172. .markdown-body h3,
  1173. .markdown-body h4,
  1174. .markdown-body h5,
  1175. .markdown-body h6 {
  1176. margin-top: 1.25em !important;
  1177. margin-bottom: 0.25em !important;
  1178. }
  1179. .markdown-body [data-anchorjs-icon]::after {
  1180. display: none;
  1181. }
  1182. .markdown-body figure.highlight table,
  1183. .markdown-body figure.highlight tbody,
  1184. .markdown-body figure.highlight tr,
  1185. .markdown-body figure.highlight td.code,
  1186. .markdown-body figure.highlight td.code pre {
  1187. width: 100% !important;
  1188. display: block !important;
  1189. }
  1190. .markdown-body figure.highlight pre > code {
  1191. white-space: pre-wrap;
  1192. }
  1193. .markdown-body figure.highlight .gutter,
  1194. .markdown-body figure.highlight .code-widget {
  1195. display: none !important;
  1196. }
  1197. .post-metas a {
  1198. text-decoration: none;
  1199. }
  1200. }
  1201. @media not print {
  1202. #seo-header {
  1203. display: none;
  1204. }
  1205. }
  1206. .index-card {
  1207. margin-bottom: 2.5rem;
  1208. }
  1209. .index-img img {
  1210. display: block;
  1211. width: 100%;
  1212. height: 10rem;
  1213. object-fit: cover;
  1214. box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18), 0 4px 15px 0 rgba(0,0,0,0.15);
  1215. border-radius: 0.25rem;
  1216. background-color: transparent;
  1217. }
  1218. .index-info {
  1219. display: flex;
  1220. flex-direction: column;
  1221. justify-content: space-between;
  1222. padding-top: 0.5rem;
  1223. padding-bottom: 0.5rem;
  1224. }
  1225. .index-header {
  1226. color: var(--text-color);
  1227. font-size: 1.5rem;
  1228. font-weight: bold;
  1229. line-height: 1.4;
  1230. white-space: nowrap;
  1231. overflow: hidden;
  1232. text-overflow: ellipsis;
  1233. margin-bottom: 0.25rem;
  1234. }
  1235. .index-header .index-pin {
  1236. color: var(--text-color);
  1237. font-size: 1.5rem;
  1238. margin-right: 0.15rem;
  1239. }
  1240. .index-btm {
  1241. color: var(--sec-text-color);
  1242. }
  1243. .index-btm a {
  1244. color: var(--sec-text-color);
  1245. }
  1246. .index-excerpt {
  1247. color: var(--sec-text-color);
  1248. margin: 0.5rem 0 0.5rem 0;
  1249. height: calc(1.4rem * 3);
  1250. overflow: hidden;
  1251. display: flex;
  1252. }
  1253. .index-excerpt > div {
  1254. width: 100%;
  1255. line-height: 1.4rem;
  1256. word-break: break-word;
  1257. display: -webkit-box;
  1258. -webkit-box-orient: vertical;
  1259. -webkit-line-clamp: 3;
  1260. }
  1261. .index-excerpt__noimg {
  1262. height: auto;
  1263. max-height: calc(1.4rem * 3);
  1264. }
  1265. @media (max-width: 767px) {
  1266. .index-info {
  1267. padding-top: 1.25rem;
  1268. }
  1269. .index-header {
  1270. font-size: 1.25rem;
  1271. white-space: normal;
  1272. overflow: hidden;
  1273. word-break: break-word;
  1274. display: -webkit-box;
  1275. -webkit-box-orient: vertical;
  1276. -webkit-line-clamp: 2;
  1277. }
  1278. .index-header .index-pin {
  1279. font-size: 1.25rem;
  1280. }
  1281. }
  1282. #valine.v[data-class=v] .status-bar,
  1283. #valine.v[data-class=v] .veditor,
  1284. #valine.v[data-class=v] .vinput,
  1285. #valine.v[data-class=v] .vbtn,
  1286. #valine.v[data-class=v] p,
  1287. #valine.v[data-class=v] pre code {
  1288. color: var(--text-color);
  1289. }
  1290. #valine.v[data-class=v] .vinput::placeholder {
  1291. color: var(--sec-text-color);
  1292. }
  1293. #valine.v[data-class=v] .vicon {
  1294. fill: var(--text-color);
  1295. }
  1296. .gt-container .gt-comment-content:hover {
  1297. -webkit-box-shadow: none;
  1298. box-shadow: none;
  1299. }
  1300. .gt-container .gt-comment-body {
  1301. color: var(--text-color) !important;
  1302. transition: color 0.2s ease-in-out;
  1303. }
  1304. #remark-km423lmfdslkm34-back {
  1305. z-index: 1030;
  1306. }
  1307. #remark-km423lmfdslkm34-node {
  1308. z-index: 1031;
  1309. }
  1310. .markdown-body .highlight pre,
  1311. .markdown-body pre {
  1312. padding: 1.45rem 1rem;
  1313. }
  1314. .markdown-body pre code.hljs {
  1315. padding: 0;
  1316. }
  1317. .markdown-body pre[class*="language-"] {
  1318. padding-top: 1.45rem;
  1319. padding-bottom: 1.45rem;
  1320. padding-right: 1rem;
  1321. line-height: 1.5;
  1322. margin-bottom: 1rem;
  1323. }
  1324. .markdown-body .code-wrapper {
  1325. position: relative;
  1326. border-radius: 4px;
  1327. margin-bottom: 1rem;
  1328. }
  1329. .markdown-body .hljs,
  1330. .markdown-body .highlight pre,
  1331. .markdown-body .code-wrapper pre,
  1332. .markdown-body figure.highlight td.gutter {
  1333. transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
  1334. background-color: var(--highlight-bg-color);
  1335. }
  1336. pre[class*=language-].line-numbers {
  1337. position: initial;
  1338. }
  1339. figure {
  1340. margin: 1rem 0;
  1341. }
  1342. figure.highlight {
  1343. position: relative;
  1344. }
  1345. figure.highlight table {
  1346. border: 0;
  1347. margin: 0;
  1348. width: auto;
  1349. border-radius: 4px;
  1350. }
  1351. figure.highlight td {
  1352. border: 0;
  1353. padding: 0;
  1354. }
  1355. figure.highlight tr {
  1356. border: 0;
  1357. }
  1358. figure.highlight td.code {
  1359. width: 100%;
  1360. }
  1361. figure.highlight td.gutter {
  1362. display: table-cell;
  1363. position: -webkit-sticky;
  1364. position: sticky;
  1365. left: 0;
  1366. z-index: 1;
  1367. }
  1368. figure.highlight td.gutter pre {
  1369. text-align: right;
  1370. padding: 0 0.75rem;
  1371. border-radius: initial;
  1372. border-right: 1px solid #999;
  1373. }
  1374. figure.highlight td.gutter pre span.line {
  1375. color: #999;
  1376. }
  1377. figure.highlight td.code > pre {
  1378. border-top-left-radius: 0;
  1379. border-bottom-left-radius: 0;
  1380. }
  1381. .markdown-body {
  1382. font-size: 1rem;
  1383. line-height: 1.6;
  1384. font-family: var(--font-family-sans-serif);
  1385. margin-bottom: 2rem;
  1386. color: var(--post-text-color);
  1387. }
  1388. .markdown-body > h1,
  1389. .markdown-body h2 {
  1390. border-bottom-color: var(--line-color);
  1391. }
  1392. .markdown-body > h1,
  1393. .markdown-body h2,
  1394. .markdown-body h3,
  1395. .markdown-body h4,
  1396. .markdown-body h5,
  1397. .markdown-body h6 {
  1398. color: var(--post-heading-color);
  1399. transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
  1400. font-weight: bold;
  1401. margin-bottom: 0.75em;
  1402. margin-top: 2em;
  1403. }
  1404. .markdown-body > h1::before,
  1405. .markdown-body h2::before,
  1406. .markdown-body h3::before,
  1407. .markdown-body h4::before,
  1408. .markdown-body h5::before,
  1409. .markdown-body h6::before {
  1410. display: block;
  1411. content: "";
  1412. margin-top: -5rem;
  1413. height: 5rem;
  1414. width: 1px;
  1415. visibility: hidden;
  1416. }
  1417. .markdown-body > h1:focus,
  1418. .markdown-body h2:focus,
  1419. .markdown-body h3:focus,
  1420. .markdown-body h4:focus,
  1421. .markdown-body h5:focus,
  1422. .markdown-body h6:focus {
  1423. outline: none;
  1424. }
  1425. .markdown-body a {
  1426. color: var(--post-link-color);
  1427. }
  1428. .markdown-body strong {
  1429. font-weight: bold;
  1430. }
  1431. .markdown-body code {
  1432. tab-size: 4;
  1433. background-color: var(--inlinecode-bg-color);
  1434. transition: background-color 0.2s ease-in-out;
  1435. }
  1436. .markdown-body table tr {
  1437. background-color: var(--board-bg-color);
  1438. transition: background-color 0.2s ease-in-out;
  1439. }
  1440. .markdown-body table tr:nth-child(2n) {
  1441. background-color: var(--board-bg-color);
  1442. transition: background-color 0.2s ease-in-out;
  1443. }
  1444. .markdown-body table th,
  1445. .markdown-body table td {
  1446. border-color: var(--line-color);
  1447. transition: border-color 0.2s ease-in-out;
  1448. }
  1449. .markdown-body pre {
  1450. font-size: 85% !important;
  1451. }
  1452. .markdown-body pre .mermaid {
  1453. text-align: center;
  1454. }
  1455. .markdown-body pre .mermaid > svg {
  1456. min-width: 100%;
  1457. }
  1458. .markdown-body p > img,
  1459. .markdown-body p > a > img,
  1460. .markdown-body figure > img,
  1461. .markdown-body figure > a > img {
  1462. max-width: 90%;
  1463. margin: 1.5rem auto;
  1464. display: block;
  1465. box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18), 0 4px 15px 0 rgba(0,0,0,0.15);
  1466. border-radius: 4px;
  1467. background-color: transparent;
  1468. }
  1469. .markdown-body blockquote {
  1470. color: var(--sec-text-color);
  1471. }
  1472. .markdown-body details {
  1473. cursor: pointer;
  1474. }
  1475. .markdown-body details summary {
  1476. outline: none;
  1477. }
  1478. hr,
  1479. .markdown-body hr {
  1480. background-color: initial;
  1481. border-top: 1px solid var(--line-color);
  1482. transition: border-top-color 0.2s ease-in-out;
  1483. }
  1484. .markdown-body hr {
  1485. height: 0;
  1486. margin: 2rem 0;
  1487. }
  1488. .markdown-body figcaption.image-caption {
  1489. font-size: 0.8rem;
  1490. color: var(--post-text-color);
  1491. opacity: 0.65;
  1492. line-height: 1;
  1493. margin: -0.75rem auto 2rem;
  1494. text-align: center;
  1495. }
  1496. .markdown-body figcaption:not(.image-caption) {
  1497. display: none;
  1498. }
  1499. .post-content,
  1500. post-custom {
  1501. box-sizing: border-box;
  1502. padding-left: 10%;
  1503. padding-right: 10%;
  1504. }
  1505. @media (max-width: 767px) {
  1506. .post-content,
  1507. post-custom {
  1508. padding-left: 2rem;
  1509. padding-right: 2rem;
  1510. }
  1511. }
  1512. @media (max-width: 424px) {
  1513. .post-content,
  1514. post-custom {
  1515. padding-left: 1rem;
  1516. padding-right: 1rem;
  1517. }
  1518. .anchorjs-link-left {
  1519. opacity: 0 !important;
  1520. }
  1521. }
  1522. .page-content strong,
  1523. .post-content strong {
  1524. font-weight: bold;
  1525. }
  1526. .page-content > *:first-child,
  1527. .post-content > *:first-child {
  1528. margin-top: 0;
  1529. }
  1530. .page-content img,
  1531. .post-content img {
  1532. object-fit: cover;
  1533. max-width: 100%;
  1534. }
  1535. @media (max-width: 767px) {
  1536. .page-content,
  1537. .post-content {
  1538. overflow-x: hidden;
  1539. }
  1540. }
  1541. .post-metas {
  1542. display: flex;
  1543. flex-wrap: wrap;
  1544. font-size: 0.9rem;
  1545. }
  1546. .post-meta > *:not(.hover-with-bg) {
  1547. margin-right: 0.2rem;
  1548. }
  1549. .post-prevnext {
  1550. display: flex;
  1551. flex-wrap: wrap;
  1552. justify-content: space-between;
  1553. font-size: 0.9rem;
  1554. margin-left: -0.35rem;
  1555. margin-right: -0.35rem;
  1556. }
  1557. .post-prevnext .post-prev,
  1558. .post-prevnext .post-next {
  1559. display: flex;
  1560. padding-left: 0;
  1561. padding-right: 0;
  1562. }
  1563. .post-prevnext .post-prev i,
  1564. .post-prevnext .post-next i {
  1565. font-size: 1.5rem;
  1566. }
  1567. .post-prevnext .post-prev a,
  1568. .post-prevnext .post-next a {
  1569. display: flex;
  1570. align-items: center;
  1571. }
  1572. .post-prevnext .post-prev .hidden-mobile,
  1573. .post-prevnext .post-next .hidden-mobile {
  1574. display: -webkit-box;
  1575. -webkit-box-orient: vertical;
  1576. -webkit-line-clamp: 2;
  1577. text-overflow: ellipsis;
  1578. overflow: hidden;
  1579. }
  1580. @media (max-width: 575px) {
  1581. .post-prevnext .post-prev .hidden-mobile,
  1582. .post-prevnext .post-next .hidden-mobile {
  1583. display: none;
  1584. }
  1585. }
  1586. .post-prevnext .post-prev:hover i,
  1587. .post-prevnext .post-prev:active i,
  1588. .post-prevnext .post-next:hover i,
  1589. .post-prevnext .post-next:active i {
  1590. -webkit-animation-duration: 1s;
  1591. animation-duration: 1s;
  1592. -webkit-animation-delay: 0.1s;
  1593. animation-delay: 0.1s;
  1594. -webkit-animation-timing-function: ease-in-out;
  1595. animation-timing-function: ease-in-out;
  1596. -webkit-animation-iteration-count: infinite;
  1597. animation-iteration-count: infinite;
  1598. -webkit-animation-fill-mode: forwards;
  1599. animation-fill-mode: forwards;
  1600. -webkit-animation-direction: alternate;
  1601. animation-direction: alternate;
  1602. }
  1603. .post-prevnext .post-prev:hover i,
  1604. .post-prevnext .post-prev:active i {
  1605. -webkit-animation-name: post-prev-anim;
  1606. animation-name: post-prev-anim;
  1607. }
  1608. .post-prevnext .post-next:hover i,
  1609. .post-prevnext .post-next:active i {
  1610. -webkit-animation-name: post-next-anim;
  1611. animation-name: post-next-anim;
  1612. }
  1613. .post-prevnext .post-next {
  1614. justify-content: flex-end;
  1615. }
  1616. .post-prevnext .fa-chevron-left {
  1617. margin-right: 0.5rem;
  1618. }
  1619. .post-prevnext .fa-chevron-right {
  1620. margin-left: 0.5rem;
  1621. }
  1622. #seo-header {
  1623. color: var(--post-heading-color);
  1624. font-weight: bold;
  1625. margin-top: 0.5em;
  1626. margin-bottom: 0.75em;
  1627. border-bottom-color: var(--line-color);
  1628. border-bottom-style: solid;
  1629. border-bottom-width: 2px;
  1630. line-height: 1.5;
  1631. }
  1632. .custom,
  1633. #comments {
  1634. margin-top: 2rem;
  1635. }
  1636. #comments noscript {
  1637. display: block;
  1638. text-align: center;
  1639. padding: 2rem 0;
  1640. }
  1641. .visitors {
  1642. font-size: 0.8em;
  1643. padding: 0.45rem;
  1644. float: right;
  1645. }
  1646. a.fancybox:hover {
  1647. text-decoration: none;
  1648. }
  1649. mjx-container,
  1650. .mjx-container {
  1651. overflow-x: auto;
  1652. overflow-y: hidden !important;
  1653. padding: 0.5em 0;
  1654. }
  1655. mjx-container:focus,
  1656. .mjx-container:focus,
  1657. mjx-container svg:focus,
  1658. .mjx-container svg:focus {
  1659. outline: none;
  1660. }
  1661. .mjx-char {
  1662. line-height: 1;
  1663. }
  1664. .katex-block {
  1665. overflow-x: auto;
  1666. }
  1667. .katex,
  1668. .mjx-mrow {
  1669. white-space: pre-wrap !important;
  1670. }
  1671. .footnote-ref [class*=hint--][aria-label]:after {
  1672. max-width: 12rem;
  1673. white-space: nowrap;
  1674. overflow: hidden;
  1675. text-overflow: ellipsis;
  1676. }
  1677. @-moz-keyframes post-prev-anim {
  1678. 0% {
  1679. -webkit-transform: translateX(0);
  1680. transform: translateX(0);
  1681. }
  1682. 50% {
  1683. -webkit-transform: translateX(-0.35rem);
  1684. transform: translateX(-0.35rem);
  1685. }
  1686. 100% {
  1687. -webkit-transform: translateX(0);
  1688. transform: translateX(0);
  1689. }
  1690. }
  1691. @-webkit-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. @-o-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. @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. @-moz-keyframes post-next-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. @-webkit-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. @-o-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. @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. .note {
  1790. padding: 0.75rem;
  1791. border-left: 0.35rem solid;
  1792. border-radius: 0.25rem;
  1793. margin: 1.5rem 0;
  1794. color: var(--text-color);
  1795. transition: color 0.2s ease-in-out;
  1796. font-size: 0.9rem;
  1797. }
  1798. .note a {
  1799. color: var(--text-color);
  1800. transition: color 0.2s ease-in-out;
  1801. }
  1802. .note *:last-child {
  1803. margin-bottom: 0;
  1804. }
  1805. .note-primary {
  1806. background-color: rgba(183,160,224,0.25);
  1807. border-color: #6f42c1;
  1808. }
  1809. .note-secondary,
  1810. note-default {
  1811. background-color: rgba(187,187,187,0.25);
  1812. border-color: #777;
  1813. }
  1814. .note-success {
  1815. background-color: rgba(174,220,174,0.25);
  1816. border-color: #5cb85c;
  1817. }
  1818. .note-danger {
  1819. background-color: rgba(236,169,167,0.25);
  1820. border-color: #d9534f;
  1821. }
  1822. .note-warning {
  1823. background-color: rgba(248,214,166,0.25);
  1824. border-color: #f0ad4e;
  1825. }
  1826. .note-info {
  1827. background-color: rgba(160,197,228,0.25);
  1828. border-color: #428bca;
  1829. }
  1830. .note-light {
  1831. background-color: rgba(254,254,254,0.25);
  1832. border-color: #0f0f0f;
  1833. }
  1834. .label {
  1835. display: inline;
  1836. border-radius: 3px;
  1837. font-size: 85%;
  1838. margin: 0;
  1839. padding: 0.2em 0.4em;
  1840. color: var(--text-color);
  1841. transition: color 0.2s ease-in-out;
  1842. }
  1843. .label-default {
  1844. background: rgba(187,187,187,0.25);
  1845. }
  1846. .label-primary {
  1847. background: rgba(183,160,224,0.25);
  1848. }
  1849. .label-info {
  1850. background: rgba(160,197,228,0.25);
  1851. }
  1852. .label-success {
  1853. background: rgba(174,220,174,0.25);
  1854. }
  1855. .label-warning {
  1856. background: rgba(248,214,166,0.25);
  1857. }
  1858. .label-danger {
  1859. background: rgba(236,169,167,0.25);
  1860. }
  1861. .markdown-body .btn {
  1862. border: 1px solid var(--line-color);
  1863. background-color: var(--button-bg-color);
  1864. color: var(--text-color);
  1865. transition: color 0.2s ease-in-out, background 0.2s ease-in-out, border-color 0.2s ease-in-out;
  1866. border-radius: 0.25rem;
  1867. display: inline-block;
  1868. font-size: 0.875em;
  1869. line-height: 2;
  1870. padding: 0 0.75rem;
  1871. margin-bottom: 1rem;
  1872. }
  1873. .markdown-body .btn:hover {
  1874. background-color: var(--button-hover-bg-color);
  1875. text-decoration: none;
  1876. }
  1877. .group-image-container {
  1878. margin: 1.5rem auto;
  1879. }
  1880. .group-image-container img {
  1881. margin: 0 auto;
  1882. border-radius: 3px;
  1883. background-color: transparent;
  1884. box-shadow: 0 3px 9px 0 rgba(0,0,0,0.15), 0 3px 9px 0 rgba(0,0,0,0.15);
  1885. }
  1886. .group-image-row {
  1887. margin-bottom: 0.5rem;
  1888. display: flex;
  1889. justify-content: center;
  1890. }
  1891. .group-image-wrap {
  1892. flex: 1;
  1893. display: flex;
  1894. justify-content: center;
  1895. }
  1896. .group-image-wrap:not(:last-child) {
  1897. margin-right: 0.25rem;
  1898. }
  1899. input[type=checkbox] {
  1900. margin: 0 0.2em 0.2em 0;
  1901. vertical-align: middle;
  1902. }
  1903. .list-group a ~ p.h5 {
  1904. margin-top: 1rem;
  1905. }
  1906. .list-group-item {
  1907. display: flex;
  1908. background-color: transparent;
  1909. border: 0;
  1910. }
  1911. .list-group-item time {
  1912. flex: 0 0 5rem;
  1913. }
  1914. .list-group-item .list-group-item-title {
  1915. white-space: nowrap;
  1916. overflow: hidden;
  1917. text-overflow: ellipsis;
  1918. }
  1919. @media (max-width: 575px) {
  1920. .list-group-item {
  1921. font-size: 0.95rem;
  1922. padding: 0.5rem 0.75rem;
  1923. }
  1924. .list-group-item time {
  1925. flex: 0 0 4rem;
  1926. }
  1927. }
  1928. .list-group-item-action {
  1929. color: var(--text-color);
  1930. }
  1931. .list-group-item-action:focus,
  1932. .list-group-item-action:hover {
  1933. color: var(--link-hover-color);
  1934. background-color: var(--link-hover-bg-color);
  1935. }
  1936. .about-avatar {
  1937. position: relative;
  1938. margin: -8rem auto 1rem;
  1939. width: 10rem;
  1940. height: 10rem;
  1941. z-index: 3;
  1942. }
  1943. .about-avatar img {
  1944. width: 100%;
  1945. height: 100%;
  1946. border-radius: 50%;
  1947. background-color: transparent;
  1948. object-fit: cover;
  1949. box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  1950. }
  1951. .about-info > div {
  1952. margin-bottom: 0.5rem;
  1953. }
  1954. .about-name {
  1955. font-size: 1.75rem;
  1956. font-weight: bold;
  1957. }
  1958. .about-intro {
  1959. font-size: 1rem;
  1960. }
  1961. .about-icons > a:not(:last-child) {
  1962. margin-right: 0.5rem;
  1963. }
  1964. .about-icons > a > i {
  1965. font-size: 1.5rem;
  1966. }
  1967. .category-bar .category-list {
  1968. max-height: 85vh;
  1969. overflow-y: auto;
  1970. overflow-x: hidden;
  1971. }
  1972. .category-bar .category-list::-webkit-scrollbar {
  1973. display: none;
  1974. }
  1975. .category-bar .category-list > .category-sub > a {
  1976. font-weight: bold;
  1977. font-size: 1.2rem;
  1978. }
  1979. .category-bar .category-list .category-item-action i {
  1980. margin: 0;
  1981. }
  1982. .category-bar .category-list .category-subitem.list-group-item {
  1983. padding-left: 0.5rem;
  1984. padding-right: 0;
  1985. }
  1986. .category-bar .category-list .category-collapse .category-post-list {
  1987. margin-top: 0.25rem;
  1988. margin-bottom: 0.5rem;
  1989. }
  1990. .category-bar .category-list .category-collapse .category-post {
  1991. font-size: 0.9rem;
  1992. line-height: 1.75;
  1993. }
  1994. .category-bar .category-list .category-item-action:hover {
  1995. background-color: initial;
  1996. }
  1997. .category-bar .list-group-item {
  1998. padding: 0;
  1999. }
  2000. .category-bar .list-group-item.active {
  2001. color: var(--link-hover-color);
  2002. background-color: initial;
  2003. font-weight: bold;
  2004. font-family: "iconfont";
  2005. font-style: normal;
  2006. -webkit-font-smoothing: antialiased;
  2007. }
  2008. .category-bar .list-group-item.active::before {
  2009. content: "\e61f";
  2010. font-weight: initial;
  2011. margin-right: 0.25rem;
  2012. }
  2013. .category-bar .list-group-count {
  2014. margin-left: 0.2rem;
  2015. margin-right: 0.2rem;
  2016. font-size: 0.9em;
  2017. }
  2018. .category-bar .list-group-item-action:focus,
  2019. .category-bar .list-group-item-action:hover {
  2020. background-color: initial;
  2021. }
  2022. .category-chains {
  2023. display: flex;
  2024. flex-wrap: wrap;
  2025. }
  2026. .category-chains > *:not(:last-child) {
  2027. margin-right: 1em;
  2028. }
  2029. .category:not(:last-child) {
  2030. margin-bottom: 1rem;
  2031. }
  2032. .category .category-item,
  2033. .category .category-subitem {
  2034. font-weight: bold;
  2035. display: flex;
  2036. align-items: center;
  2037. }
  2038. .category .category-item {
  2039. font-size: 1.25rem;
  2040. }
  2041. .category .category-subitem {
  2042. font-size: 1.1rem;
  2043. }
  2044. .category .category-collapse {
  2045. padding-left: 1.25rem;
  2046. width: 100%;
  2047. }
  2048. .category .category-count {
  2049. font-size: 0.9rem;
  2050. font-weight: initial;
  2051. min-width: 1.3em;
  2052. line-height: 1.3em;
  2053. display: flex;
  2054. align-items: center;
  2055. }
  2056. .category .category-count i {
  2057. padding-right: 0.25rem;
  2058. }
  2059. .category .category-count span {
  2060. width: 2rem;
  2061. }
  2062. .category .category-post {
  2063. white-space: nowrap;
  2064. overflow: hidden;
  2065. text-overflow: ellipsis;
  2066. }
  2067. .category .category-item-action:not(.collapsed) > i {
  2068. transform: rotate(90deg);
  2069. transform-origin: center center;
  2070. }
  2071. .category .category-item-action i {
  2072. transition: transform 0.3s ease-out;
  2073. display: inline-block;
  2074. margin-left: 0.25rem;
  2075. }
  2076. .category .category-item-action .category:hover {
  2077. z-index: 1;
  2078. color: var(--link-hover-color);
  2079. text-decoration: none;
  2080. background-color: var(--link-hover-bg-color);
  2081. }
  2082. .category .row {
  2083. margin-left: 0;
  2084. margin-right: 0;
  2085. }
  2086. .tagcloud {
  2087. padding: 1rem 5%;
  2088. }
  2089. .tagcloud a {
  2090. display: inline-block;
  2091. padding: 0.5rem;
  2092. }
  2093. .tagcloud a:hover {
  2094. color: var(--link-hover-color) !important;
  2095. }
  2096. .links .card {
  2097. box-shadow: none;
  2098. min-width: 33%;
  2099. background-color: transparent;
  2100. border: 0;
  2101. }
  2102. .links .card-body {
  2103. margin: 1rem 0;
  2104. padding: 1rem;
  2105. border-radius: 0.3rem;
  2106. display: block;
  2107. width: 100%;
  2108. height: 100%;
  2109. }
  2110. .links .card-body:hover .link-avatar {
  2111. transform: scale(1.1);
  2112. }
  2113. .links .card-content {
  2114. display: flex;
  2115. flex-wrap: nowrap;
  2116. width: 100%;
  2117. height: 3.5rem;
  2118. }
  2119. .link-avatar {
  2120. flex: none;
  2121. width: 3rem;
  2122. height: 3rem;
  2123. margin-right: 0.75rem;
  2124. object-fit: cover;
  2125. transition-duration: 0.2s;
  2126. transition-timing-function: ease-in-out;
  2127. }
  2128. .link-avatar img {
  2129. width: 100%;
  2130. height: 100%;
  2131. border-radius: 50%;
  2132. background-color: transparent;
  2133. object-fit: cover;
  2134. }
  2135. .link-text {
  2136. flex: 1;
  2137. display: grid;
  2138. flex-direction: column;
  2139. line-height: 1.5;
  2140. }
  2141. .link-title {
  2142. overflow: hidden;
  2143. text-overflow: ellipsis;
  2144. white-space: nowrap;
  2145. color: var(--text-color);
  2146. font-weight: bold;
  2147. }
  2148. .link-intro {
  2149. max-height: 2rem;
  2150. font-size: 0.85rem;
  2151. line-height: 1.2;
  2152. color: var(--sec-text-color);
  2153. display: -webkit-box;
  2154. -webkit-box-orient: vertical;
  2155. -webkit-line-clamp: 2;
  2156. text-overflow: ellipsis;
  2157. overflow: hidden;
  2158. }
  2159. @media (max-width: 767px) {
  2160. .links {
  2161. display: flex;
  2162. flex-direction: column;
  2163. justify-content: center;
  2164. align-items: center;
  2165. }
  2166. .links .card {
  2167. padding-left: 2rem;
  2168. padding-right: 2rem;
  2169. }
  2170. }
  2171. @media (min-width: 768px) {
  2172. .link-text:only-child {
  2173. margin-left: 1rem;
  2174. }
  2175. }