style.css 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. @import url(http://fonts.googleapis.com/css?family=Ubuntu);
  2. @import url(http://fonts.googleapis.com/css?family=Droid+Sans);
  3. article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
  4. audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
  5. audio:not([controls]) { display: none; }
  6. [hidden] { display: none; }
  7. html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
  8. html, button, input, select, textarea { font-family: sans-serif; color: #222; }
  9. body { margin: 0; font-size: 1em; line-height: 1.4; }
  10. ::-moz-selection { background: #E37B52; color: #fff; text-shadow: none; }
  11. ::selection { background: #E37B52; color: #fff; text-shadow: none; }
  12. a { color: #00e; }
  13. a:visited { color: #551a8b; }
  14. a:hover { color: #06e; }
  15. a:focus { outline: thin dotted; }
  16. a:hover, a:active { outline: 0; }
  17. abbr[title] { border-bottom: 1px dotted; }
  18. b, strong { font-weight: bold; }
  19. blockquote { margin: 1em 40px; }
  20. dfn { font-style: italic; }
  21. hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
  22. ins { background: #ff9; color: #000; text-decoration: none; }
  23. mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
  24. pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
  25. pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
  26. q { quotes: none; }
  27. q:before, q:after { content: ""; content: none; }
  28. small { font-size: 85%; }
  29. sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
  30. sup { top: -0.5em; }
  31. sub { bottom: -0.25em; }
  32. ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
  33. dd { margin: 0 0 0 40px; }
  34. nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
  35. img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
  36. svg:not(:root) { overflow: hidden; }
  37. figure { margin: 0; }
  38. form { margin: 0; }
  39. fieldset { border: 0; margin: 0; padding: 0; }
  40. label { cursor: pointer; }
  41. legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
  42. button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
  43. button, input { line-height: normal; }
  44. button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
  45. button[disabled], input[disabled] { cursor: default; }
  46. input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
  47. input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
  48. input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
  49. button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
  50. textarea { overflow: auto; vertical-align: top; resize: vertical; }
  51. input:valid, textarea:valid { }
  52. input:invalid, textarea:invalid { background-color: #f0dddd; }
  53. table { border-collapse: collapse; border-spacing: 0; }
  54. td { vertical-align: top; }
  55. body
  56. {
  57. font-family:'Droid Sans', sans-serif;
  58. font-size:10pt;
  59. color:#555;
  60. line-height: 25px;
  61. }
  62. .wrapper
  63. {
  64. width:760px;
  65. margin:0 auto 5em auto;
  66. }
  67. .wrapper>header
  68. {
  69. border-bottom:1px solid #eee;
  70. background-image:url(../img/logoback.png);
  71. background-repeat:no-repeat;
  72. background-position:right;
  73. text-shadow:1px 1px 0px #fff;
  74. padding-top:2.5em;
  75. }
  76. .wrapper>header h1
  77. {
  78. font-size: 28pt;
  79. font-family: 'Ubuntu';
  80. margin: 0 0 10px 0;
  81. letter-spacing: 2px;
  82. }
  83. .wrapper>header h2
  84. {
  85. margin:0;
  86. color:#888;
  87. letter-spacing: 2px;
  88. }
  89. .slogan
  90. {
  91. font-size:0.8em;
  92. }
  93. .intro-text
  94. {
  95. width:480px;
  96. line-height:1.4em;
  97. margin-top:45px;
  98. }
  99. .main
  100. {
  101. overflow:hidden;
  102. }
  103. .content
  104. {
  105. width:540px;
  106. float:right;
  107. border-left:1px solid #eee;
  108. padding-left:1.5em;
  109. }
  110. .content blockquote p
  111. {
  112. background-color:#f8f8f8;
  113. padding:0.5em 1em;
  114. border-left:3px solid #E3591E;
  115. text-shadow:1px 1px 0 #fff;
  116. font-style:italic;
  117. margin:3em 0;
  118. }
  119. .content p
  120. {
  121. line-height:1.6em;
  122. margin:1.5em 0;
  123. }
  124. .content>h1 {
  125. font-size: 18pt;
  126. }
  127. .content>h2 {
  128. font-size: 14pt;
  129. margin-top:2.2em;
  130. }
  131. div.home>h2:not(:first-child) {
  132. margin-top:2.2em;
  133. }
  134. div.home>h2 {
  135. font-size: 14pt;
  136. }
  137. .content>h3 {
  138. font-size: 12pt;
  139. }
  140. .content>h4 {
  141. font-size: 10pt;
  142. }
  143. .content>h1:not(:first-child) {
  144. margin-top: 30px;
  145. }
  146. .content table
  147. {
  148. border-collapse:collapse
  149. border: 1px solid #eee;
  150. width:100%;
  151. line-height:1.5em;
  152. }
  153. .content table code
  154. {
  155. background-color:transparent;
  156. font-size:0.9em;
  157. }
  158. .content table td, .content table th
  159. {
  160. border:1px solid #eee;
  161. padding:0.5em 0.7em;
  162. vertical-align:middle;
  163. text-align:left;
  164. }
  165. .content table th
  166. {
  167. background-color:#f5f5f5;
  168. }
  169. .content li
  170. {
  171. line-height:1.5em;
  172. margin-bottom:1em;
  173. }
  174. a, a:visited
  175. {
  176. color:#2972A3;
  177. text-decoration:none;
  178. }
  179. a:hover
  180. {
  181. color:#72ADD4;
  182. text-decoration:underline;
  183. }
  184. .sidebar
  185. {
  186. width:180px;
  187. float:left;
  188. font-size:0.9em;
  189. }
  190. .sidebar>ul
  191. {
  192. list-style-type:none;
  193. padding-left:1em;
  194. margin:0;
  195. padding: 0;
  196. }
  197. .sidebar>ul li:before
  198. {
  199. text-decoration:none;
  200. color:#777;
  201. margin-right:0.2em;
  202. }
  203. .sidebar>ul ul
  204. {
  205. list-style-type:none;
  206. margin:0 0 0 1.5em;
  207. padding:0;
  208. }
  209. .sidebar>ul ul>li:before
  210. {
  211. content:"\2013";
  212. margin-right:0.4em;
  213. }
  214. pre, code
  215. {
  216. font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
  217. }
  218. pre
  219. {
  220. border:1px solid #eee;
  221. padding:0.5em 1em;
  222. font-size:0.8em;
  223. background-color:#f5f5f5;
  224. text-shadow:1px 1px 0 #fff;
  225. line-height:1.5em;
  226. }
  227. .content pre li
  228. {
  229. margin:0.2em 0;
  230. }
  231. code
  232. {
  233. background-color:#FFE5DB;
  234. font-size:0.8em;
  235. display:inline-block;
  236. padding:0.2em 0.4em;
  237. text-shadow:1px 1px 0 #fff;
  238. }
  239. .out-links
  240. {
  241. margin:0;
  242. padding:0;
  243. }
  244. .out-links li
  245. {
  246. display:inline-block;
  247. }
  248. .out-links li:not(:first-child):before
  249. {
  250. content:"/";
  251. padding:0 1em;
  252. color:#888;
  253. }
  254. #toTop
  255. {
  256. display:none;
  257. padding:0.2em 1em 0.05em 1em;
  258. position:fixed;
  259. top:1.2em;
  260. right:1.2em;
  261. background-color:#777;
  262. text-align:center;
  263. color:#fff;
  264. text-decoration:none;
  265. text-transform:uppercase;
  266. font-size:0.9em;
  267. border-radius:3px;
  268. }
  269. #toTop:hover
  270. {
  271. background-color:#E3591E;
  272. }
  273. /* Prettify Styles -------------- */
  274. .com {
  275. color: #93a1a1;
  276. }
  277. .lit {
  278. color: #195f91;
  279. }
  280. .pun, .opn, .clo {
  281. color: #93a1a1;
  282. }
  283. .fun {
  284. color: #dc322f;
  285. }
  286. .str, .atv {
  287. color: #D14;
  288. }
  289. .kwd, .linenums .tag {
  290. color: #1e347b;
  291. }
  292. .typ,
  293. .atn,
  294. .dec,
  295. .var {
  296. color: teal;
  297. }
  298. .pln {
  299. color: #48484c;
  300. }
  301. .prettyprint
  302. {
  303. padding:0;
  304. text-shadow:1px 1px 0 #fff;
  305. }
  306. .prettyprint ol
  307. {
  308. color:#ccc;
  309. }
  310. /* end ------------------------ */
  311. @media print {
  312. * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; }
  313. a, a:visited { text-decoration: underline; }
  314. a[href]:after { content: " (" attr(href) ")"; }
  315. abbr[title]:after { content: " (" attr(title) ")"; }
  316. .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
  317. pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  318. thead { display: table-header-group; }
  319. tr, img { page-break-inside: avoid; }
  320. img { max-width: 100% !important; }
  321. @page { margin: 0.5cm; }
  322. p, h2, h3 { orphans: 3; widows: 3; }
  323. h2, h3 { page-break-after: avoid; }
  324. }