main.css 44 KB

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