style.css 41 KB

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