main.css 41 KB

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