style.css 7.2 KB

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