style.css 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604
  1. @font-face {
  2. font-family: 'Noto Sans';
  3. font-weight: 400;
  4. font-style: normal;
  5. src: url("../fonts/Noto-Sans-regular/Noto-Sans-regular.eot");
  6. src: url("../fonts/Noto-Sans-regular/Noto-Sans-regular.eot?#iefix") format("embedded-opentype"),local("Noto Sans"),local("Noto-Sans-regular"),url("../fonts/Noto-Sans-regular/Noto-Sans-regular.woff2") format("woff2"),url("../fonts/Noto-Sans-regular/Noto-Sans-regular.woff") format("woff"),url("../fonts/Noto-Sans-regular/Noto-Sans-regular.ttf") format("truetype"),url("../fonts/Noto-Sans-regular/Noto-Sans-regular.svg#NotoSans") format("svg");
  7. }
  8. @font-face {
  9. font-family:'Noto Sans';font-weight:700;font-style:normal;src:url("../fonts/Noto-Sans-700/Noto-Sans-700.eot");src:url("../fonts/Noto-Sans-700/Noto-Sans-700.eot?#iefix") format("embedded-opentype"),local("Noto Sans Bold"),local("Noto-Sans-700"),url("../fonts/Noto-Sans-700/Noto-Sans-700.woff2") format("woff2"),url("../fonts/Noto-Sans-700/Noto-Sans-700.woff") format("woff"),url("../fonts/Noto-Sans-700/Noto-Sans-700.ttf") format("truetype"),url("../fonts/Noto-Sans-700/Noto-Sans-700.svg#NotoSans") format("svg");
  10. }
  11. @font-face {
  12. font-family:'Noto Sans';font-weight:400;font-style:italic;src:url("../fonts/Noto-Sans-italic/Noto-Sans-italic.eot");src:url("../fonts/Noto-Sans-italic/Noto-Sans-italic.eot?#iefix") format("embedded-opentype"),local("Noto Sans Italic"),local("Noto-Sans-italic"),url("../fonts/Noto-Sans-italic/Noto-Sans-italic.woff2") format("woff2"),url("../fonts/Noto-Sans-italic/Noto-Sans-italic.woff") format("woff"),url("../fonts/Noto-Sans-italic/Noto-Sans-italic.ttf") format("truetype"),url("../fonts/Noto-Sans-italic/Noto-Sans-italic.svg#NotoSans") format("svg");
  13. }
  14. @font-face {
  15. font-family:'Noto Sans';font-weight:700;font-style:italic;src:url("../fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot");src:url("../fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot?#iefix") format("embedded-opentype"),local("Noto Sans Bold Italic"),local("Noto-Sans-700italic"),url("../fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff2") format("woff2"),url("../fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff") format("woff"),url("../fonts/Noto-Sans-700italic/Noto-Sans-700italic.ttf") format("truetype"),url("../fonts/Noto-Sans-700italic/Noto-Sans-700italic.svg#NotoSans") format("svg");
  16. }
  17. .highlight table td {
  18. padding: 5px;
  19. }
  20. .highlight table pre {
  21. margin: 0;
  22. }
  23. .highlight .cm {
  24. color: #999988;
  25. font-style: italic;
  26. }
  27. .highlight .cp {
  28. color: #999999;
  29. font-weight: bold;
  30. }
  31. .highlight .c1 {
  32. color: #999988;
  33. font-style: italic;
  34. }
  35. .highlight .cs {
  36. color: #999999;
  37. font-weight: bold;
  38. font-style: italic;
  39. }
  40. .highlight .c,.highlight .cd {
  41. color: #999988;
  42. font-style: italic;
  43. }
  44. .highlight .err {
  45. color: #a61717;
  46. background-color: #e3d2d2;
  47. }
  48. .highlight .gd {
  49. color: #000000;
  50. background-color: #ffdddd;
  51. }
  52. .highlight .ge {
  53. color: #000000;
  54. font-style: italic;
  55. }
  56. .highlight .gr {
  57. color: #aa0000;
  58. }
  59. .highlight .gh {
  60. color: #999999;
  61. }
  62. .highlight .gi {
  63. color: #000000;
  64. background-color: #ddffdd;
  65. }
  66. .highlight .go {
  67. color: #888888;
  68. }
  69. .highlight .gp {
  70. color: #555555;
  71. }
  72. .highlight .gs {
  73. font-weight: bold;
  74. }
  75. .highlight .gu {
  76. color: #aaaaaa;
  77. }
  78. .highlight .gt {
  79. color: #aa0000;
  80. }
  81. .highlight .kc {
  82. color: #000000;
  83. font-weight: bold;
  84. }
  85. .highlight .kd {
  86. color: #000000;
  87. font-weight: bold;
  88. }
  89. .highlight .kn {
  90. color: #000000;
  91. font-weight: bold;
  92. }
  93. .highlight .kp {
  94. color: #000000;
  95. font-weight: bold;
  96. }
  97. .highlight .kr {
  98. color: #000000;
  99. font-weight: bold;
  100. }
  101. .highlight .kt {
  102. color: #445588;
  103. font-weight: bold;
  104. }
  105. .highlight .k,.highlight .kv {
  106. color: #000000;
  107. font-weight: bold;
  108. }
  109. .highlight .mf {
  110. color: #009999;
  111. }
  112. .highlight .mh {
  113. color: #009999;
  114. }
  115. .highlight .il {
  116. color: #009999;
  117. }
  118. .highlight .mi {
  119. color: #009999;
  120. }
  121. .highlight .mo {
  122. color: #009999;
  123. }
  124. .highlight .m,.highlight .mb,.highlight .mx {
  125. color: #009999;
  126. }
  127. .highlight .sb {
  128. color: #d14;
  129. }
  130. .highlight .sc {
  131. color: #d14;
  132. }
  133. .highlight .sd {
  134. color: #d14;
  135. }
  136. .highlight .s2 {
  137. color: #d14;
  138. }
  139. .highlight .se {
  140. color: #d14;
  141. }
  142. .highlight .sh {
  143. color: #d14;
  144. }
  145. .highlight .si {
  146. color: #d14;
  147. }
  148. .highlight .sx {
  149. color: #d14;
  150. }
  151. .highlight .sr {
  152. color: #009926;
  153. }
  154. .highlight .s1 {
  155. color: #d14;
  156. }
  157. .highlight .ss {
  158. color: #990073;
  159. }
  160. .highlight .s {
  161. color: #d14;
  162. }
  163. .highlight .na {
  164. color: #008080;
  165. }
  166. .highlight .bp {
  167. color: #999999;
  168. }
  169. .highlight .nb {
  170. color: #0086B3;
  171. }
  172. .highlight .nc {
  173. color: #445588;
  174. font-weight: bold;
  175. }
  176. .highlight .no {
  177. color: #008080;
  178. }
  179. .highlight .nd {
  180. color: #3c5d5d;
  181. font-weight: bold;
  182. }
  183. .highlight .ni {
  184. color: #800080;
  185. }
  186. .highlight .ne {
  187. color: #990000;
  188. font-weight: bold;
  189. }
  190. .highlight .nf {
  191. color: #990000;
  192. font-weight: bold;
  193. }
  194. .highlight .nl {
  195. color: #990000;
  196. font-weight: bold;
  197. }
  198. .highlight .nn {
  199. color: #555555;
  200. }
  201. .highlight .nt {
  202. color: #000080;
  203. }
  204. .highlight .vc {
  205. color: #008080;
  206. }
  207. .highlight .vg {
  208. color: #008080;
  209. }
  210. .highlight .vi {
  211. color: #008080;
  212. }
  213. .highlight .nv {
  214. color: #008080;
  215. }
  216. .highlight .ow {
  217. color: #000000;
  218. font-weight: bold;
  219. }
  220. .highlight .o {
  221. color: #000000;
  222. font-weight: bold;
  223. }
  224. .highlight .w {
  225. color: #bbbbbb;
  226. }
  227. .highlight {
  228. background-color: #f8f8f8;
  229. }
  230. body {
  231. background-color: #fff;
  232. padding: 50px;
  233. font: 14px/1.5 "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  234. color: #727272;
  235. font-weight: 400;
  236. }
  237. h1,h2,h3,h4,h5,h6 {
  238. color: #222;
  239. margin: 0 0 20px;
  240. }
  241. p,ul,ol,table,pre,dl {
  242. margin: 0 0 5px;
  243. }
  244. h1,h2,h3 {
  245. line-height: 1.1;
  246. }
  247. h1 {
  248. font-size: 28px;
  249. }
  250. h2 {
  251. color: #393939;
  252. }
  253. h3,h4,h5,h6 {
  254. color: #494949;
  255. }
  256. a {
  257. color: #ad22ad;
  258. text-decoration: none;
  259. font-weight: bold;
  260. }
  261. a:hover,a:focus {
  262. color: #b42bef;
  263. text-decoration:underline;
  264. }
  265. a small {
  266. font-size: 11px;
  267. color: #777;
  268. margin-top: -0.3em;
  269. display: block;
  270. }
  271. a:hover small {
  272. color: #777;
  273. }
  274. .wrapper {
  275. width: 1080px;
  276. margin: 0 auto;
  277. }
  278. blockquote {
  279. border-left: 1px solid #e5e5e5;
  280. margin: 0;
  281. padding: 0 0 0 20px;
  282. font-style: italic;
  283. }
  284. code,pre {
  285. font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Consolas, Liberation Mono, DejaVu Sans Mono, Courier New, monospace;
  286. color: #333;
  287. font-size: 12px;
  288. }
  289. pre {
  290. padding: 8px 15px;
  291. background: #f8f8f8;
  292. border-radius: 5px;
  293. border: 1px solid #e5e5e5;
  294. overflow-x: auto;
  295. }
  296. table {
  297. width: 100%;
  298. border-collapse: collapse;
  299. }
  300. th,td {
  301. text-align: left;
  302. padding: 5px 10px;
  303. border-bottom: 1px solid #e5e5e5;
  304. }
  305. dt {
  306. color: #444;
  307. font-weight: 700;
  308. }
  309. th {
  310. color: #444;
  311. }
  312. img {
  313. max-width: 100%;
  314. }
  315. header {
  316. width: 270px;
  317. float: left;
  318. position: fixed;
  319. -webkit-font-smoothing: subpixel-antialiased;
  320. }
  321. header ul {
  322. list-style: none;
  323. height: 40px;
  324. padding: 0;
  325. background: #f4f4f4;
  326. border-radius: 5px;
  327. border: 1px solid #e0e0e0;
  328. width: 270px;
  329. }
  330. header li {
  331. width: 89px;
  332. float: left;
  333. border-right: 1px solid #e0e0e0;
  334. height: 40px;
  335. }
  336. header li:first-child a {
  337. border-radius: 5px 0 0 5px;
  338. }
  339. header li:last-child a {
  340. border-radius: 0 5px 5px 0;
  341. }
  342. header ul a {
  343. line-height: 1;
  344. font-size: 11px;
  345. color: #676767;
  346. display: block;
  347. text-align: center;
  348. padding-top: 6px;
  349. height: 34px;
  350. }
  351. header ul a:hover,header ul a:focus {
  352. color: #675C5C;
  353. font-weight: bold;
  354. }
  355. header ul a:active {
  356. background-color: #f0f0f0;
  357. }
  358. strong {
  359. color: #222;
  360. font-weight: 700;
  361. }
  362. header ul li+li+li {
  363. border-right: none;
  364. width: 89px;
  365. }
  366. header ul a strong {
  367. font-size: 14px;
  368. display: block;
  369. color: #222;
  370. }
  371. header .logo {
  372. width: 200px;
  373. }
  374. section {
  375. width: 760px;
  376. float: right;
  377. padding-bottom: 50px;
  378. }
  379. small {
  380. font-size: 11px;
  381. }
  382. hr {
  383. border: 0;
  384. background: #e5e5e5;
  385. height: 1px;
  386. margin: 0 0 20px;
  387. }
  388. footer {
  389. width: 270px;
  390. float: left;
  391. position: fixed;
  392. bottom: 50px;
  393. -webkit-font-smoothing: subpixel-antialiased;
  394. }
  395. .post-list {
  396. list-style-type: none;
  397. }
  398. .post-list .post-meta > a {
  399. font-weight: bold;
  400. }
  401. .post-title {
  402. font-size: 17pt;
  403. font-weight: bold;
  404. margin-bottom: 0;
  405. }
  406. .post-meta .post-date {
  407. margin-left: 15px;
  408. }
  409. .post .post-head {
  410. margin-bottom: 20px;
  411. }
  412. .quote {
  413. border-style: dashed;
  414. border-width: 2px;
  415. padding: 5px;
  416. border-color: purple;
  417. }
  418. .description .quote {
  419. background: #ab22ab30;
  420. color: #555;
  421. }
  422. @media print, screen and (max-width: 960px) {
  423. div.wrapper {
  424. width: auto;
  425. margin: 0;
  426. }
  427. header,section,footer {
  428. float: none;
  429. position: static;
  430. width: auto;
  431. }
  432. header {
  433. padding-right: 320px;
  434. }
  435. section {
  436. border: 1px solid #e5e5e5;
  437. border-width: 1px 0;
  438. padding: 20px 0;
  439. margin: 0 0 20px;
  440. }
  441. header a small {
  442. display: inline;
  443. }
  444. header ul {
  445. position: absolute;
  446. right: 50px;
  447. top: 52px;
  448. }
  449. }
  450. @media print, screen and (max-width: 720px) {
  451. body {
  452. word-wrap: break-word;
  453. }
  454. header {
  455. padding: 0;
  456. }
  457. header ul,header p.view {
  458. position: static;
  459. }
  460. pre,code {
  461. word-wrap: normal;
  462. }
  463. }
  464. @media print, screen and (max-width: 480px) {
  465. body {
  466. padding: 15px;
  467. }
  468. header ul {
  469. width: 99%;
  470. }
  471. header li,header ul li+li+li {
  472. width: 33%;
  473. }
  474. }
  475. @media print {
  476. body {
  477. padding: 0.4in;
  478. font-size: 12pt;
  479. color: #444;
  480. }
  481. }