main.css 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315
  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: 3px;
  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:not(.no-icon) {
  753. padding-left: 2.5em;
  754. }
  755. .post-body .note:not(.no-icon)::before {
  756. font-family: 'FontAwesome';
  757. font-size: 1.5em;
  758. left: 0.4em;
  759. position: absolute;
  760. top: calc(50% - 1em);
  761. }
  762. .post-body .note.default {
  763. border-left-color: #777;
  764. }
  765. .post-body .note.default h2,
  766. .post-body .note.default h3,
  767. .post-body .note.default h4,
  768. .post-body .note.default h5,
  769. .post-body .note.default h6 {
  770. color: #777;
  771. }
  772. .post-body .note.default:not(.no-icon)::before {
  773. content: "\f0a9";
  774. color: #777;
  775. }
  776. .post-body .note.primary {
  777. border-left-color: #6f42c1;
  778. }
  779. .post-body .note.primary h2,
  780. .post-body .note.primary h3,
  781. .post-body .note.primary h4,
  782. .post-body .note.primary h5,
  783. .post-body .note.primary h6 {
  784. color: #6f42c1;
  785. }
  786. .post-body .note.primary:not(.no-icon)::before {
  787. content: "\f055";
  788. color: #6f42c1;
  789. }
  790. .post-body .note.info {
  791. border-left-color: #428bca;
  792. }
  793. .post-body .note.info h2,
  794. .post-body .note.info h3,
  795. .post-body .note.info h4,
  796. .post-body .note.info h5,
  797. .post-body .note.info h6 {
  798. color: #428bca;
  799. }
  800. .post-body .note.info:not(.no-icon)::before {
  801. content: "\f05a";
  802. color: #428bca;
  803. }
  804. .post-body .note.success {
  805. border-left-color: #5cb85c;
  806. }
  807. .post-body .note.success h2,
  808. .post-body .note.success h3,
  809. .post-body .note.success h4,
  810. .post-body .note.success h5,
  811. .post-body .note.success h6 {
  812. color: #5cb85c;
  813. }
  814. .post-body .note.success:not(.no-icon)::before {
  815. content: "\f058";
  816. color: #5cb85c;
  817. }
  818. .post-body .note.warning {
  819. border-left-color: #f0ad4e;
  820. }
  821. .post-body .note.warning h2,
  822. .post-body .note.warning h3,
  823. .post-body .note.warning h4,
  824. .post-body .note.warning h5,
  825. .post-body .note.warning h6 {
  826. color: #f0ad4e;
  827. }
  828. .post-body .note.warning:not(.no-icon)::before {
  829. content: "\f06a";
  830. color: #f0ad4e;
  831. }
  832. .post-body .note.danger {
  833. border-left-color: #d9534f;
  834. }
  835. .post-body .note.danger h2,
  836. .post-body .note.danger h3,
  837. .post-body .note.danger h4,
  838. .post-body .note.danger h5,
  839. .post-body .note.danger h6 {
  840. color: #d9534f;
  841. }
  842. .post-body .note.danger:not(.no-icon)::before {
  843. content: "\f056";
  844. color: #d9534f;
  845. }
  846. .pagination .prev,
  847. .pagination .next,
  848. .pagination .page-number,
  849. .pagination .space {
  850. display: inline-block;
  851. margin: 0 10px;
  852. padding: 0 11px;
  853. position: relative;
  854. top: -1px;
  855. }
  856. @media (max-width: 767px) {
  857. .pagination .prev,
  858. .pagination .next,
  859. .pagination .page-number,
  860. .pagination .space {
  861. margin: 0 5px;
  862. }
  863. }
  864. .pagination {
  865. border-top: 1px solid #eee;
  866. margin: 120px 0 0;
  867. text-align: center;
  868. }
  869. .pagination .prev,
  870. .pagination .next,
  871. .pagination .page-number {
  872. border-bottom: 0;
  873. border-top: 1px solid #eee;
  874. transition-property: border-color;
  875. transition-delay: 0s;
  876. transition-duration: 0.2s;
  877. transition-timing-function: ease-in-out;
  878. }
  879. .pagination .prev:hover,
  880. .pagination .next:hover,
  881. .pagination .page-number:hover {
  882. border-top-color: #222;
  883. }
  884. .pagination .space {
  885. margin: 0;
  886. padding: 0;
  887. }
  888. .pagination .prev {
  889. margin-left: 0;
  890. }
  891. .pagination .next {
  892. margin-right: 0;
  893. }
  894. .pagination .page-number.current {
  895. background: #ccc;
  896. border-top-color: #ccc;
  897. color: #fff;
  898. }
  899. @media (max-width: 767px) {
  900. .pagination {
  901. border-top: none;
  902. }
  903. .pagination .prev,
  904. .pagination .next,
  905. .pagination .page-number {
  906. border-bottom: 1px solid #eee;
  907. border-top: 0;
  908. margin-bottom: 10px;
  909. padding: 0 10px;
  910. }
  911. .pagination .prev:hover,
  912. .pagination .next:hover,
  913. .pagination .page-number:hover {
  914. border-bottom-color: #222;
  915. }
  916. }
  917. .comments {
  918. margin: 60px 20px 0;
  919. overflow: hidden;
  920. }
  921. .comment-button-group {
  922. display: flex;
  923. flex-wrap: wrap-reverse;
  924. justify-content: center;
  925. margin: 1em 0;
  926. }
  927. .comment-button-group .comment-button {
  928. margin: 0.1em 0.2em;
  929. }
  930. .comment-button-group .comment-button.active {
  931. background: #fff;
  932. border-color: #222;
  933. color: #222;
  934. }
  935. .comment-position {
  936. display: none;
  937. }
  938. .comment-position.active {
  939. display: block;
  940. }
  941. .tabs-comment {
  942. background: var(--content-bg-color);
  943. margin-top: 4em;
  944. padding-top: 0;
  945. }
  946. .tabs-comment .comments {
  947. border: 0;
  948. box-shadow: none;
  949. margin-top: 0;
  950. padding-top: 0;
  951. }
  952. .container {
  953. min-height: 100%;
  954. position: relative;
  955. }
  956. .main-inner {
  957. margin: 0 auto;
  958. width: 700px;
  959. }
  960. @media (min-width: 1200px) {
  961. .main-inner {
  962. width: 800px;
  963. }
  964. }
  965. @media (min-width: 1600px) {
  966. .main-inner {
  967. width: 900px;
  968. }
  969. }
  970. .header {
  971. background: transparent;
  972. }
  973. .header-inner {
  974. margin: 0 auto;
  975. width: 700px;
  976. }
  977. @media (min-width: 1200px) {
  978. .header-inner {
  979. width: 800px;
  980. }
  981. }
  982. @media (min-width: 1600px) {
  983. .header-inner {
  984. width: 900px;
  985. }
  986. }
  987. .site-brand-container {
  988. display: flex;
  989. flex-shrink: 0;
  990. padding: 0 10px;
  991. }
  992. .headband {
  993. background: #222;
  994. height: 3px;
  995. }
  996. .site-meta {
  997. flex-grow: 1;
  998. text-align: center;
  999. }
  1000. @media (max-width: 767px) {
  1001. .site-meta {
  1002. text-align: center;
  1003. }
  1004. }
  1005. .brand {
  1006. border-bottom: none;
  1007. color: var(--brand-color);
  1008. display: inline-block;
  1009. line-height: 1.375em;
  1010. padding: 0 40px;
  1011. position: relative;
  1012. }
  1013. .brand:hover {
  1014. color: var(--brand-hover-color);
  1015. }
  1016. .site-title {
  1017. display: inline-block;
  1018. font-family: 'Lato', "PingFang SC", "Microsoft YaHei", sans-serif;
  1019. font-size: 1.375em;
  1020. font-weight: normal;
  1021. line-height: 1.5;
  1022. vertical-align: top;
  1023. }
  1024. .site-subtitle {
  1025. color: #999;
  1026. font-size: 0.8125em;
  1027. margin: 10px 0;
  1028. }
  1029. .use-motion .brand {
  1030. opacity: 0;
  1031. }
  1032. .use-motion .site-title,
  1033. .use-motion .site-subtitle,
  1034. .use-motion .custom-logo-image {
  1035. opacity: 0;
  1036. position: relative;
  1037. top: -10px;
  1038. }
  1039. .site-nav-toggle,
  1040. .site-nav-right {
  1041. display: none;
  1042. }
  1043. @media (max-width: 767px) {
  1044. .site-nav-toggle,
  1045. .site-nav-right {
  1046. display: flex;
  1047. flex-direction: column;
  1048. justify-content: center;
  1049. }
  1050. }
  1051. .site-nav-toggle .toggle,
  1052. .site-nav-right .toggle {
  1053. color: var(--text-color);
  1054. padding: 10px;
  1055. width: 22px;
  1056. }
  1057. .site-nav-toggle .toggle .toggle-line,
  1058. .site-nav-right .toggle .toggle-line {
  1059. background: var(--text-color);
  1060. border-radius: 1px;
  1061. }
  1062. .site-nav {
  1063. display: block;
  1064. }
  1065. @media (max-width: 767px) {
  1066. .site-nav {
  1067. clear: both;
  1068. display: none;
  1069. }
  1070. }
  1071. .site-nav.site-nav-on {
  1072. display: block;
  1073. }
  1074. .menu {
  1075. margin-top: 20px;
  1076. padding-left: 0;
  1077. text-align: center;
  1078. }
  1079. .menu-item {
  1080. display: inline-block;
  1081. list-style: none;
  1082. margin: 0 10px;
  1083. }
  1084. @media (max-width: 767px) {
  1085. .menu-item {
  1086. display: block;
  1087. margin-top: 10px;
  1088. }
  1089. .menu-item.menu-item-search {
  1090. display: none;
  1091. }
  1092. }
  1093. .menu-item a,
  1094. .menu-item span.exturl {
  1095. border-bottom: 0;
  1096. display: block;
  1097. font-size: 0.8125em;
  1098. transition-property: border-color;
  1099. transition-delay: 0s;
  1100. transition-duration: 0.2s;
  1101. transition-timing-function: ease-in-out;
  1102. }
  1103. @media (hover: none) {
  1104. .menu-item a:hover,
  1105. .menu-item span.exturl:hover {
  1106. border-bottom-color: transparent !important;
  1107. }
  1108. }
  1109. .menu-item .fa {
  1110. margin-right: 8px;
  1111. }
  1112. .menu-item .badge {
  1113. display: inline-block;
  1114. font-weight: bold;
  1115. line-height: 1;
  1116. margin-left: 0.35em;
  1117. margin-top: 0.35em;
  1118. text-align: center;
  1119. white-space: nowrap;
  1120. }
  1121. @media (max-width: 767px) {
  1122. .menu-item .badge {
  1123. float: right;
  1124. margin-left: 0;
  1125. }
  1126. }
  1127. .menu-item-active a,
  1128. .menu .menu-item a:hover,
  1129. .menu .menu-item span.exturl:hover {
  1130. background: var(--menu-item-bg-color);
  1131. }
  1132. .use-motion .menu-item {
  1133. opacity: 0;
  1134. }
  1135. .sidebar {
  1136. background: #222;
  1137. bottom: 0;
  1138. box-shadow: inset 0 2px 6px #000;
  1139. position: fixed;
  1140. top: 0;
  1141. }
  1142. @media (max-width: 991px) {
  1143. .sidebar {
  1144. display: none;
  1145. }
  1146. }
  1147. .sidebar-inner {
  1148. color: #999;
  1149. padding: 18px 10px;
  1150. text-align: center;
  1151. }
  1152. .cc-license {
  1153. margin-top: 10px;
  1154. text-align: center;
  1155. }
  1156. .cc-license .cc-opacity {
  1157. border-bottom: none;
  1158. opacity: 0.7;
  1159. }
  1160. .cc-license .cc-opacity:hover {
  1161. opacity: 0.9;
  1162. }
  1163. .cc-license img {
  1164. display: inline-block;
  1165. }
  1166. .site-author-image {
  1167. border: 2px solid #333;
  1168. display: block;
  1169. margin: 0 auto;
  1170. max-width: 96px;
  1171. padding: 2px;
  1172. }
  1173. .site-author-name {
  1174. color: #f5f5f5;
  1175. font-weight: normal;
  1176. margin: 5px 0 0;
  1177. text-align: center;
  1178. }
  1179. .site-description {
  1180. color: #999;
  1181. font-size: 1em;
  1182. margin-top: 5px;
  1183. text-align: center;
  1184. }
  1185. .links-of-author {
  1186. margin-top: 15px;
  1187. }
  1188. .links-of-author a,
  1189. .links-of-author span.exturl {
  1190. border-bottom-color: #555;
  1191. display: inline-block;
  1192. font-size: 0.8125em;
  1193. margin-bottom: 10px;
  1194. margin-right: 10px;
  1195. vertical-align: middle;
  1196. }
  1197. .links-of-author a::before,
  1198. .links-of-author span.exturl::before {
  1199. background: #9ff;
  1200. border-radius: 50%;
  1201. content: ' ';
  1202. display: inline-block;
  1203. height: 4px;
  1204. margin-right: 3px;
  1205. vertical-align: middle;
  1206. width: 4px;
  1207. }
  1208. .sidebar-button {
  1209. margin-top: 15px;
  1210. }
  1211. .sidebar-button a {
  1212. border: 1px solid #fc6423;
  1213. border-radius: 4px;
  1214. color: #fc6423;
  1215. display: inline-block;
  1216. padding: 0 15px;
  1217. }
  1218. .sidebar-button a .fa {
  1219. margin-right: 5px;
  1220. }
  1221. .sidebar-button a:hover {
  1222. background: #fc6423;
  1223. border: 1px solid #fc6423;
  1224. color: #fff;
  1225. }
  1226. .sidebar-button a:hover .fa {
  1227. color: #fff;
  1228. }
  1229. .links-of-blogroll {
  1230. font-size: 0.8125em;
  1231. margin-top: 10px;
  1232. }
  1233. .links-of-blogroll-title {
  1234. font-size: 0.875em;
  1235. font-weight: 600;
  1236. margin-top: 0;
  1237. }
  1238. .links-of-blogroll-list {
  1239. list-style: none;
  1240. margin: 0;
  1241. padding: 0;
  1242. }
  1243. #sidebar-dimmer {
  1244. display: none;
  1245. }
  1246. @media (max-width: 767px) {
  1247. #sidebar-dimmer {
  1248. background: #000;
  1249. display: block;
  1250. height: 100%;
  1251. left: 100%;
  1252. opacity: 0;
  1253. position: fixed;
  1254. top: 0;
  1255. width: 100%;
  1256. z-index: 1100;
  1257. }
  1258. .sidebar-active + #sidebar-dimmer {
  1259. opacity: 0.7;
  1260. transform: translateX(-100%);
  1261. transition: opacity 0.5s;
  1262. }
  1263. }
  1264. .sidebar-nav {
  1265. margin: 0;
  1266. padding-bottom: 20px;
  1267. padding-left: 0;
  1268. }
  1269. .sidebar-nav li {
  1270. border-bottom: 1px solid transparent;
  1271. color: #555;
  1272. cursor: pointer;
  1273. display: inline-block;
  1274. font-size: 0.875em;
  1275. }
  1276. .sidebar-nav li.sidebar-nav-overview {
  1277. margin-left: 10px;
  1278. }
  1279. .sidebar-nav li:hover {
  1280. color: #f5f5f5;
  1281. }
  1282. .sidebar-nav .sidebar-nav-active {
  1283. border-bottom-color: #87daff;
  1284. color: #87daff;
  1285. }
  1286. .sidebar-nav .sidebar-nav-active:hover {
  1287. color: #87daff;
  1288. }
  1289. .sidebar-panel {
  1290. display: none;
  1291. overflow-x: hidden;
  1292. overflow-y: auto;
  1293. }
  1294. .sidebar-panel-active {
  1295. display: block;
  1296. }
  1297. .sidebar-toggle {
  1298. background: #222;
  1299. bottom: 45px;
  1300. cursor: pointer;
  1301. height: 14px;
  1302. left: 30px;
  1303. padding: 5px;
  1304. position: fixed;
  1305. width: 14px;
  1306. z-index: 1300;
  1307. }
  1308. @media (max-width: 991px) {
  1309. .sidebar-toggle {
  1310. left: 20px;
  1311. opacity: 0.8;
  1312. display: none;
  1313. }
  1314. }
  1315. .sidebar-toggle:hover .toggle-line {
  1316. background: #87daff;
  1317. }
  1318. .post-toc {
  1319. font-size: 0.875em;
  1320. }
  1321. .post-toc ol {
  1322. list-style: none;
  1323. margin: 0;
  1324. padding: 0 2px 5px 10px;
  1325. text-align: left;
  1326. }
  1327. .post-toc ol > ol {
  1328. padding-left: 0;
  1329. }
  1330. .post-toc ol a {
  1331. transition-property: all;
  1332. transition-delay: 0s;
  1333. transition-duration: 0.2s;
  1334. transition-timing-function: ease-in-out;
  1335. }
  1336. .post-toc .nav-item {
  1337. line-height: 1.8;
  1338. overflow: hidden;
  1339. text-overflow: ellipsis;
  1340. white-space: nowrap;
  1341. }
  1342. .post-toc .nav .nav-child {
  1343. display: none;
  1344. }
  1345. .post-toc .nav .active > .nav-child {
  1346. display: block;
  1347. }
  1348. .post-toc .nav .active-current > .nav-child {
  1349. display: block;
  1350. }
  1351. .post-toc .nav .active-current > .nav-child > .nav-item {
  1352. display: block;
  1353. }
  1354. .post-toc .nav .active > a {
  1355. border-bottom-color: #87daff;
  1356. color: #87daff;
  1357. }
  1358. .post-toc .nav .active-current > a {
  1359. color: #87daff;
  1360. }
  1361. .post-toc .nav .active-current > a:hover {
  1362. color: #87daff;
  1363. }
  1364. .site-state {
  1365. display: flex;
  1366. justify-content: center;
  1367. line-height: 1.4;
  1368. margin-top: 10px;
  1369. overflow: hidden;
  1370. text-align: center;
  1371. white-space: nowrap;
  1372. }
  1373. .site-state-item {
  1374. padding: 0 15px;
  1375. }
  1376. .site-state-item:not(:first-child) {
  1377. border-left: 1px solid #333;
  1378. }
  1379. .site-state-item a {
  1380. border-bottom: none;
  1381. }
  1382. .site-state-item-count {
  1383. display: block;
  1384. font-size: 1.25em;
  1385. font-weight: 600;
  1386. text-align: center;
  1387. }
  1388. .site-state-item-name {
  1389. color: inherit;
  1390. font-size: 0.875em;
  1391. }
  1392. .footer {
  1393. color: #999;
  1394. font-size: 0.875em;
  1395. padding: 20px 0;
  1396. }
  1397. .footer.footer-fixed {
  1398. bottom: 0;
  1399. left: 0;
  1400. position: absolute;
  1401. right: 0;
  1402. }
  1403. .footer-inner {
  1404. box-sizing: border-box;
  1405. margin: 0 auto;
  1406. text-align: center;
  1407. width: 700px;
  1408. }
  1409. @media (min-width: 1200px) {
  1410. .footer-inner {
  1411. width: 800px;
  1412. }
  1413. }
  1414. @media (min-width: 1600px) {
  1415. .footer-inner {
  1416. width: 900px;
  1417. }
  1418. }
  1419. .with-love {
  1420. color: #808080;
  1421. display: inline-block;
  1422. margin: 0 5px;
  1423. }
  1424. .powered-by,
  1425. .theme-info {
  1426. display: inline-block;
  1427. }
  1428. @-moz-keyframes iconAnimate {
  1429. 0%, 100% {
  1430. transform: scale(1);
  1431. }
  1432. 10%, 30% {
  1433. transform: scale(0.9);
  1434. }
  1435. 20%, 40%, 60%, 80% {
  1436. transform: scale(1.1);
  1437. }
  1438. 50%, 70% {
  1439. transform: scale(1.1);
  1440. }
  1441. }
  1442. @-webkit-keyframes iconAnimate {
  1443. 0%, 100% {
  1444. transform: scale(1);
  1445. }
  1446. 10%, 30% {
  1447. transform: scale(0.9);
  1448. }
  1449. 20%, 40%, 60%, 80% {
  1450. transform: scale(1.1);
  1451. }
  1452. 50%, 70% {
  1453. transform: scale(1.1);
  1454. }
  1455. }
  1456. @-o-keyframes iconAnimate {
  1457. 0%, 100% {
  1458. transform: scale(1);
  1459. }
  1460. 10%, 30% {
  1461. transform: scale(0.9);
  1462. }
  1463. 20%, 40%, 60%, 80% {
  1464. transform: scale(1.1);
  1465. }
  1466. 50%, 70% {
  1467. transform: scale(1.1);
  1468. }
  1469. }
  1470. @keyframes iconAnimate {
  1471. 0%, 100% {
  1472. transform: scale(1);
  1473. }
  1474. 10%, 30% {
  1475. transform: scale(0.9);
  1476. }
  1477. 20%, 40%, 60%, 80% {
  1478. transform: scale(1.1);
  1479. }
  1480. 50%, 70% {
  1481. transform: scale(1.1);
  1482. }
  1483. }
  1484. .back-to-top {
  1485. font-size: 12px;
  1486. text-align: center;
  1487. transition-delay: 0s;
  1488. transition-duration: 0.2s;
  1489. transition-timing-function: ease-in-out;
  1490. }
  1491. .back-to-top {
  1492. background: #222;
  1493. bottom: -100px;
  1494. box-sizing: border-box;
  1495. color: #fff;
  1496. cursor: pointer;
  1497. left: 30px;
  1498. opacity: 1;
  1499. padding: 0 6px;
  1500. position: fixed;
  1501. transition-property: bottom;
  1502. z-index: 1300;
  1503. width: initial;
  1504. }
  1505. .back-to-top:hover {
  1506. color: #87daff;
  1507. }
  1508. .back-to-top.back-to-top-on {
  1509. bottom: 19px;
  1510. }
  1511. @media (max-width: 991px) {
  1512. .back-to-top {
  1513. left: 20px;
  1514. opacity: 0.8;
  1515. }
  1516. }
  1517. .reading-progress-bar {
  1518. background: #37c6c0;
  1519. display: block;
  1520. height: 3px;
  1521. left: 0;
  1522. position: fixed;
  1523. top: 0;
  1524. width: 0;
  1525. z-index: 1500;
  1526. }
  1527. .post-body {
  1528. font-family: 'Lato', "PingFang SC", "Microsoft YaHei", sans-serif;
  1529. overflow-wrap: break-word;
  1530. word-wrap: break-word;
  1531. }
  1532. @media (min-width: 1200px) {
  1533. .post-body {
  1534. font-size: 1.125em;
  1535. }
  1536. }
  1537. .post-body span.exturl .fa {
  1538. font-size: 0.875em;
  1539. margin-left: 4px;
  1540. }
  1541. .post-body .image-caption,
  1542. .post-body .figure .caption {
  1543. color: #999;
  1544. font-size: 0.875em;
  1545. font-weight: bold;
  1546. line-height: 1;
  1547. margin: -20px auto 15px;
  1548. text-align: center;
  1549. }
  1550. .post-sticky-flag {
  1551. display: inline-block;
  1552. transform: rotate(30deg);
  1553. }
  1554. .post-button {
  1555. margin-top: 40px;
  1556. text-align: center;
  1557. }
  1558. .use-motion .post-block,
  1559. .use-motion .pagination,
  1560. .use-motion .comments {
  1561. opacity: 0;
  1562. }
  1563. .use-motion .post-header {
  1564. opacity: 0;
  1565. }
  1566. .use-motion .post-body {
  1567. opacity: 0;
  1568. }
  1569. .use-motion .collection-header {
  1570. opacity: 0;
  1571. }
  1572. .posts-collapse {
  1573. margin-left: 55px;
  1574. position: relative;
  1575. }
  1576. @media (max-width: 767px) {
  1577. .posts-collapse {
  1578. margin-left: 20px;
  1579. margin-right: 20px;
  1580. }
  1581. }
  1582. .posts-collapse .collection-title {
  1583. font-size: 1.125em;
  1584. position: relative;
  1585. }
  1586. .posts-collapse .collection-title::before {
  1587. background: #999;
  1588. border: 1px solid #fff;
  1589. border-radius: 50%;
  1590. content: ' ';
  1591. height: 10px;
  1592. left: 0;
  1593. margin-left: -6px;
  1594. margin-top: -4px;
  1595. position: absolute;
  1596. top: 50%;
  1597. width: 10px;
  1598. }
  1599. .posts-collapse .collection-year {
  1600. margin: 60px 0;
  1601. position: relative;
  1602. }
  1603. .posts-collapse .collection-year::before {
  1604. background: #bbb;
  1605. border-radius: 50%;
  1606. content: ' ';
  1607. height: 8px;
  1608. left: 0;
  1609. margin-left: -4px;
  1610. margin-top: -4px;
  1611. position: absolute;
  1612. top: 50%;
  1613. width: 8px;
  1614. }
  1615. .posts-collapse .collection-header {
  1616. display: inline-block;
  1617. margin: 0 0 0 20px;
  1618. }
  1619. .posts-collapse .collection-header small {
  1620. color: #bbb;
  1621. margin-left: 5px;
  1622. }
  1623. .posts-collapse .post-header {
  1624. border-bottom: 1px dashed #ccc;
  1625. margin: 30px 0;
  1626. padding-left: 15px;
  1627. position: relative;
  1628. transition-property: border;
  1629. transition-delay: 0s;
  1630. transition-duration: 0.2s;
  1631. transition-timing-function: ease-in-out;
  1632. }
  1633. .posts-collapse .post-header::before {
  1634. background: #bbb;
  1635. border: 1px solid #fff;
  1636. border-radius: 50%;
  1637. content: ' ';
  1638. height: 6px;
  1639. left: 0;
  1640. margin-left: -4px;
  1641. position: absolute;
  1642. top: 0.75em;
  1643. transition-property: background;
  1644. width: 6px;
  1645. transition-delay: 0s;
  1646. transition-duration: 0.2s;
  1647. transition-timing-function: ease-in-out;
  1648. }
  1649. .posts-collapse .post-header:hover {
  1650. border-bottom-color: #666;
  1651. }
  1652. .posts-collapse .post-header:hover::before {
  1653. background: #222;
  1654. }
  1655. .posts-collapse .post-meta {
  1656. display: inline;
  1657. font-size: 0.75em;
  1658. margin-right: 10px;
  1659. }
  1660. .posts-collapse .post-title {
  1661. display: inline;
  1662. font-size: 1em;
  1663. font-weight: normal;
  1664. }
  1665. .posts-collapse .post-title a,
  1666. .posts-collapse .post-title span.exturl {
  1667. border-bottom: none;
  1668. color: var(--link-color);
  1669. }
  1670. .posts-collapse::before {
  1671. background: #f5f5f5;
  1672. content: ' ';
  1673. height: 100%;
  1674. left: 0;
  1675. margin-left: -2px;
  1676. position: absolute;
  1677. top: 1.25em;
  1678. width: 4px;
  1679. }
  1680. .posts-collapse .fa-external-link {
  1681. font-size: 0.875em;
  1682. margin-left: 5px;
  1683. }
  1684. .post-eof {
  1685. background: #ccc;
  1686. height: 1px;
  1687. margin: 80px auto 60px;
  1688. text-align: center;
  1689. width: 8%;
  1690. }
  1691. .post-block:last-child .post-eof {
  1692. display: none;
  1693. }
  1694. .posts-expand {
  1695. padding-top: 40px;
  1696. }
  1697. @media (max-width: 767px) {
  1698. .posts-expand {
  1699. margin: 0 20px;
  1700. }
  1701. }
  1702. @media (min-width: 992px) {
  1703. .post-body {
  1704. text-align: justify;
  1705. }
  1706. }
  1707. @media (max-width: 991px) {
  1708. .post-body {
  1709. text-align: justify;
  1710. }
  1711. }
  1712. .post-body h1,
  1713. .post-body h2,
  1714. .post-body h3,
  1715. .post-body h4,
  1716. .post-body h5,
  1717. .post-body h6 {
  1718. padding-top: 10px;
  1719. }
  1720. .post-body h1 .header-anchor,
  1721. .post-body h2 .header-anchor,
  1722. .post-body h3 .header-anchor,
  1723. .post-body h4 .header-anchor,
  1724. .post-body h5 .header-anchor,
  1725. .post-body h6 .header-anchor {
  1726. border-bottom-style: none;
  1727. color: #ccc;
  1728. float: right;
  1729. margin-left: 10px;
  1730. visibility: hidden;
  1731. }
  1732. .post-body h1 .header-anchor:hover,
  1733. .post-body h2 .header-anchor:hover,
  1734. .post-body h3 .header-anchor:hover,
  1735. .post-body h4 .header-anchor:hover,
  1736. .post-body h5 .header-anchor:hover,
  1737. .post-body h6 .header-anchor:hover {
  1738. color: inherit;
  1739. }
  1740. .post-body h1:hover .header-anchor,
  1741. .post-body h2:hover .header-anchor,
  1742. .post-body h3:hover .header-anchor,
  1743. .post-body h4:hover .header-anchor,
  1744. .post-body h5:hover .header-anchor,
  1745. .post-body h6:hover .header-anchor {
  1746. visibility: visible;
  1747. }
  1748. .post-body iframe,
  1749. .post-body img,
  1750. .post-body video {
  1751. margin-bottom: 20px;
  1752. }
  1753. .post-body .video-container {
  1754. height: 0;
  1755. margin-bottom: 20px;
  1756. overflow: hidden;
  1757. padding-top: 75%;
  1758. position: relative;
  1759. width: 100%;
  1760. }
  1761. .post-body .video-container iframe,
  1762. .post-body .video-container object,
  1763. .post-body .video-container embed {
  1764. height: 100%;
  1765. left: 0;
  1766. margin: 0;
  1767. position: absolute;
  1768. top: 0;
  1769. width: 100%;
  1770. }
  1771. .post-gallery {
  1772. align-items: center;
  1773. display: grid;
  1774. grid-gap: 10px;
  1775. grid-template-columns: 1fr 1fr 1fr;
  1776. margin-bottom: 20px;
  1777. }
  1778. @media (max-width: 767px) {
  1779. .post-gallery {
  1780. grid-template-columns: 1fr 1fr;
  1781. }
  1782. }
  1783. .post-gallery a {
  1784. border: 0;
  1785. }
  1786. .post-gallery img {
  1787. margin: 0;
  1788. }
  1789. .posts-expand .post-header {
  1790. font-size: 1.125em;
  1791. }
  1792. .posts-expand .post-title {
  1793. font-weight: normal;
  1794. margin: initial;
  1795. text-align: center;
  1796. overflow-wrap: break-word;
  1797. word-wrap: break-word;
  1798. }
  1799. .posts-expand .post-title-link {
  1800. border-bottom: none;
  1801. color: var(--link-color);
  1802. display: inline-block;
  1803. position: relative;
  1804. vertical-align: top;
  1805. }
  1806. .posts-expand .post-title-link::before {
  1807. background: var(--link-color);
  1808. bottom: 0;
  1809. content: '';
  1810. height: 2px;
  1811. left: 0;
  1812. position: absolute;
  1813. transform: scaleX(0);
  1814. visibility: hidden;
  1815. width: 100%;
  1816. transition-delay: 0s;
  1817. transition-duration: 0.2s;
  1818. transition-timing-function: ease-in-out;
  1819. }
  1820. .posts-expand .post-title-link:hover::before {
  1821. transform: scaleX(1);
  1822. visibility: visible;
  1823. }
  1824. .posts-expand .post-title-link .fa {
  1825. font-size: 0.875em;
  1826. margin-left: 5px;
  1827. }
  1828. .posts-expand .post-meta {
  1829. color: #999;
  1830. font-family: 'Lato', "PingFang SC", "Microsoft YaHei", sans-serif;
  1831. font-size: 0.75em;
  1832. margin: 3px 0 60px 0;
  1833. text-align: center;
  1834. }
  1835. .posts-expand .post-meta .post-description {
  1836. font-size: 0.875em;
  1837. margin-top: 2px;
  1838. }
  1839. .posts-expand .post-meta time {
  1840. border-bottom: 1px dashed #999;
  1841. cursor: pointer;
  1842. }
  1843. .post-meta .post-meta-item + .post-meta-item::before {
  1844. content: '|';
  1845. margin: 0 0.5em;
  1846. }
  1847. .post-meta-divider {
  1848. margin: 0 0.5em;
  1849. }
  1850. .post-meta-item-icon {
  1851. margin-right: 3px;
  1852. }
  1853. @media (max-width: 991px) {
  1854. .post-meta-item-icon {
  1855. display: inline-block;
  1856. }
  1857. }
  1858. @media (max-width: 991px) {
  1859. .post-meta-item-text {
  1860. display: none;
  1861. }
  1862. }
  1863. .post-nav {
  1864. border-top: 1px solid #eee;
  1865. display: flex;
  1866. justify-content: space-between;
  1867. margin-top: 15px;
  1868. padding-top: 10px;
  1869. }
  1870. .post-nav-item {
  1871. flex: 1;
  1872. }
  1873. .post-nav-item a {
  1874. border-bottom: none;
  1875. display: block;
  1876. font-size: 0.875em;
  1877. line-height: 1.6;
  1878. position: relative;
  1879. }
  1880. .post-nav-item a:active {
  1881. top: 2px;
  1882. }
  1883. .post-nav-item .fa {
  1884. font-size: 0.75em;
  1885. }
  1886. .post-nav-item:first-child {
  1887. margin-right: 15px;
  1888. }
  1889. .post-nav-item:first-child a {
  1890. padding-left: 5px;
  1891. }
  1892. .post-nav-item:first-child .fa {
  1893. margin-right: 5px;
  1894. }
  1895. .post-nav-item:last-child {
  1896. margin-left: 15px;
  1897. text-align: right;
  1898. }
  1899. .post-nav-item:last-child a {
  1900. padding-right: 5px;
  1901. }
  1902. .post-nav-item:last-child .fa {
  1903. margin-left: 5px;
  1904. }
  1905. .rtl.post-body p,
  1906. .rtl.post-body a,
  1907. .rtl.post-body h1,
  1908. .rtl.post-body h2,
  1909. .rtl.post-body h3,
  1910. .rtl.post-body h4,
  1911. .rtl.post-body h5,
  1912. .rtl.post-body h6,
  1913. .rtl.post-body li,
  1914. .rtl.post-body ul,
  1915. .rtl.post-body ol {
  1916. direction: rtl;
  1917. font-family: UKIJ Ekran;
  1918. }
  1919. .rtl.post-title {
  1920. font-family: UKIJ Ekran;
  1921. }
  1922. .post-tags {
  1923. margin-top: 40px;
  1924. text-align: center;
  1925. }
  1926. .post-tags a {
  1927. display: inline-block;
  1928. font-size: 0.8125em;
  1929. }
  1930. .post-tags a:not(:last-child) {
  1931. margin-right: 10px;
  1932. }
  1933. .post-widgets {
  1934. border-top: 1px solid #eee;
  1935. margin-top: 15px;
  1936. text-align: center;
  1937. }
  1938. .wp_rating {
  1939. height: 20px;
  1940. line-height: 20px;
  1941. margin-top: 10px;
  1942. padding-top: 6px;
  1943. text-align: center;
  1944. }
  1945. .social-like {
  1946. display: flex;
  1947. font-size: 0.875em;
  1948. justify-content: center;
  1949. text-align: center;
  1950. }
  1951. .reward-container {
  1952. margin: 20px auto;
  1953. padding: 10px 0;
  1954. text-align: center;
  1955. width: 90%;
  1956. }
  1957. .reward-container button {
  1958. background: #ff2a2a;
  1959. border: 0;
  1960. border-radius: 5px;
  1961. color: #fff;
  1962. cursor: pointer;
  1963. line-height: 2;
  1964. outline: 0;
  1965. padding: 0 15px;
  1966. vertical-align: text-top;
  1967. }
  1968. .reward-container button:hover {
  1969. background: #f55;
  1970. }
  1971. #qr {
  1972. padding-top: 20px;
  1973. }
  1974. #qr a {
  1975. border: 0;
  1976. }
  1977. #qr img {
  1978. display: inline-block;
  1979. margin: 0.8em 2em 0 2em;
  1980. max-width: 100%;
  1981. width: 180px;
  1982. }
  1983. #qr p {
  1984. text-align: center;
  1985. }
  1986. .category-all-page .category-all-title {
  1987. text-align: center;
  1988. }
  1989. .category-all-page .category-all {
  1990. margin-top: 20px;
  1991. }
  1992. .category-all-page .category-list {
  1993. list-style: none;
  1994. margin: 0;
  1995. padding: 0;
  1996. }
  1997. .category-all-page .category-list-item {
  1998. margin: 5px 10px;
  1999. }
  2000. .category-all-page .category-list-count {
  2001. color: #bbb;
  2002. }
  2003. .category-all-page .category-list-count::before {
  2004. content: ' (';
  2005. display: inline;
  2006. }
  2007. .category-all-page .category-list-count::after {
  2008. content: ') ';
  2009. display: inline;
  2010. }
  2011. .category-all-page .category-list-child {
  2012. padding-left: 10px;
  2013. }
  2014. .event-list {
  2015. padding: 0;
  2016. }
  2017. .event-list hr {
  2018. background: #222;
  2019. margin: 20px 0 45px 0;
  2020. }
  2021. .event-list hr::after {
  2022. background: #222;
  2023. color: #fff;
  2024. content: 'NOW';
  2025. display: inline-block;
  2026. font-weight: bold;
  2027. padding: 0 5px;
  2028. text-align: right;
  2029. }
  2030. .event-list .event {
  2031. background: #222;
  2032. margin: 20px 0;
  2033. min-height: 40px;
  2034. padding: 15px 0 15px 10px;
  2035. }
  2036. .event-list .event .event-summary {
  2037. color: #fff;
  2038. margin: 0;
  2039. padding-bottom: 3px;
  2040. }
  2041. .event-list .event .event-summary::before {
  2042. animation: dot-flash 1s alternate infinite ease-in-out;
  2043. color: #fff;
  2044. content: '\f111';
  2045. display: inline-block;
  2046. font-family: 'FontAwesome';
  2047. font-size: 10px;
  2048. margin-right: 25px;
  2049. vertical-align: middle;
  2050. }
  2051. .event-list .event .event-relative-time {
  2052. color: #bbb;
  2053. display: inline-block;
  2054. font-size: 12px;
  2055. font-weight: normal;
  2056. padding-left: 12px;
  2057. }
  2058. .event-list .event .event-details {
  2059. color: #fff;
  2060. display: block;
  2061. line-height: 18px;
  2062. margin-left: 56px;
  2063. padding-bottom: 6px;
  2064. padding-top: 3px;
  2065. text-indent: -24px;
  2066. }
  2067. .event-list .event .event-details::before {
  2068. color: #fff;
  2069. display: inline-block;
  2070. font-family: 'FontAwesome';
  2071. margin-right: 9px;
  2072. text-align: center;
  2073. text-indent: 0;
  2074. width: 14px;
  2075. }
  2076. .event-list .event .event-details.event-location::before {
  2077. content: '\f041';
  2078. }
  2079. .event-list .event .event-details.event-duration::before {
  2080. content: '\f017';
  2081. }
  2082. .event-list .event-past {
  2083. background: #f5f5f5;
  2084. }
  2085. .event-list .event-past .event-summary,
  2086. .event-list .event-past .event-details {
  2087. color: #bbb;
  2088. opacity: 0.9;
  2089. }
  2090. .event-list .event-past .event-summary::before,
  2091. .event-list .event-past .event-details::before {
  2092. animation: none;
  2093. color: #bbb;
  2094. }
  2095. @-moz-keyframes dot-flash {
  2096. from {
  2097. opacity: 1;
  2098. transform: scale(1);
  2099. }
  2100. to {
  2101. opacity: 0;
  2102. transform: scale(0.8);
  2103. }
  2104. }
  2105. @-webkit-keyframes dot-flash {
  2106. from {
  2107. opacity: 1;
  2108. transform: scale(1);
  2109. }
  2110. to {
  2111. opacity: 0;
  2112. transform: scale(0.8);
  2113. }
  2114. }
  2115. @-o-keyframes dot-flash {
  2116. from {
  2117. opacity: 1;
  2118. transform: scale(1);
  2119. }
  2120. to {
  2121. opacity: 0;
  2122. transform: scale(0.8);
  2123. }
  2124. }
  2125. @keyframes dot-flash {
  2126. from {
  2127. opacity: 1;
  2128. transform: scale(1);
  2129. }
  2130. to {
  2131. opacity: 0;
  2132. transform: scale(0.8);
  2133. }
  2134. }
  2135. ul.breadcrumb {
  2136. font-size: 0.75em;
  2137. list-style: none;
  2138. margin: 1em 0;
  2139. padding: 0 2em;
  2140. text-align: center;
  2141. }
  2142. ul.breadcrumb li {
  2143. display: inline;
  2144. }
  2145. ul.breadcrumb li + li::before {
  2146. content: '/\00a0';
  2147. font-weight: normal;
  2148. padding: 0.5em;
  2149. }
  2150. ul.breadcrumb li + li:last-child {
  2151. font-weight: bold;
  2152. }
  2153. .tag-cloud {
  2154. text-align: center;
  2155. }
  2156. .tag-cloud a {
  2157. display: inline-block;
  2158. margin: 10px;
  2159. }
  2160. .tag-cloud a:hover {
  2161. color: #222 !important;
  2162. }
  2163. @media (max-width: 767px) {
  2164. .header-inner,
  2165. .main-inner,
  2166. .footer-inner {
  2167. width: auto;
  2168. }
  2169. }
  2170. .header-inner {
  2171. padding-top: 100px;
  2172. }
  2173. @media (max-width: 767px) {
  2174. .header-inner {
  2175. padding-top: 50px;
  2176. }
  2177. }
  2178. .main-inner {
  2179. padding-bottom: 60px;
  2180. }
  2181. .content {
  2182. padding-top: 70px;
  2183. }
  2184. @media (max-width: 767px) {
  2185. .content {
  2186. padding-top: 35px;
  2187. }
  2188. }
  2189. embed {
  2190. display: block;
  2191. margin: 0 auto 25px auto;
  2192. }
  2193. .custom-logo .site-meta-headline {
  2194. text-align: center;
  2195. }
  2196. .custom-logo .site-title {
  2197. color: #222;
  2198. margin: 10px auto 0;
  2199. }
  2200. .custom-logo .site-title a {
  2201. border: 0;
  2202. }
  2203. .custom-logo-image {
  2204. background: #fff;
  2205. margin: 0 auto;
  2206. max-width: 150px;
  2207. padding: 5px;
  2208. }
  2209. .brand {
  2210. background: #222;
  2211. }
  2212. @media (max-width: 767px) {
  2213. .site-nav {
  2214. border-bottom: 1px solid #ddd;
  2215. border-top: 1px solid #ddd;
  2216. left: 0;
  2217. margin: 0;
  2218. padding: 0;
  2219. width: 100%;
  2220. }
  2221. }
  2222. @media (max-width: 767px) {
  2223. .menu {
  2224. text-align: left;
  2225. }
  2226. }
  2227. .menu-item-active a,
  2228. .menu .menu-item a:hover,
  2229. .menu .menu-item span.exturl:hover {
  2230. background: transparent;
  2231. border-bottom: 1px solid var(--link-hover-color) !important;
  2232. }
  2233. @media (max-width: 767px) {
  2234. .menu-item-active a,
  2235. .menu .menu-item a:hover,
  2236. .menu .menu-item span.exturl:hover {
  2237. border-bottom: 1px dotted #ddd !important;
  2238. }
  2239. }
  2240. @media (max-width: 767px) {
  2241. .menu .menu-item {
  2242. margin: 0 10px;
  2243. }
  2244. }
  2245. .menu .menu-item a,
  2246. .menu .menu-item span.exturl {
  2247. border-bottom: 1px solid transparent;
  2248. }
  2249. @media (max-width: 767px) {
  2250. .menu .menu-item a,
  2251. .menu .menu-item span.exturl {
  2252. padding: 5px 10px;
  2253. }
  2254. }
  2255. @media (min-width: 768px) and (max-width: 991px) {
  2256. .menu .menu-item .fa {
  2257. display: block;
  2258. line-height: 2;
  2259. margin-right: 0;
  2260. width: 100%;
  2261. }
  2262. }
  2263. @media (min-width: 992px) {
  2264. .menu .menu-item .fa {
  2265. display: block;
  2266. line-height: 2;
  2267. margin-right: 0;
  2268. width: 100%;
  2269. }
  2270. }
  2271. .menu .menu-item .badge {
  2272. background: #eee;
  2273. padding: 1px 4px;
  2274. }
  2275. .sub-menu {
  2276. margin: 10px 0;
  2277. }
  2278. .sub-menu .menu-item {
  2279. display: inline-block;
  2280. }
  2281. .sidebar {
  2282. left: -320px;
  2283. }
  2284. .sidebar.sidebar-active {
  2285. left: 0;
  2286. }
  2287. .sidebar {
  2288. width: 320px;
  2289. z-index: 1200;
  2290. transition-delay: 0s;
  2291. transition-duration: 0.2s;
  2292. transition-timing-function: ease-out;
  2293. }
  2294. .sidebar a,
  2295. .sidebar span.exturl {
  2296. border-bottom-color: #555;
  2297. color: #999;
  2298. }
  2299. .sidebar a:hover,
  2300. .sidebar span.exturl:hover {
  2301. border-bottom-color: #eee;
  2302. color: #eee;
  2303. }
  2304. .links-of-blogroll-item {
  2305. padding: 2px 10px;
  2306. }
  2307. .links-of-blogroll-item a,
  2308. .links-of-blogroll-item span.exturl {
  2309. box-sizing: border-box;
  2310. display: inline-block;
  2311. max-width: 280px;
  2312. overflow: hidden;
  2313. text-overflow: ellipsis;
  2314. white-space: nowrap;
  2315. }