style.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  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:2em 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. }
  74. .wrapper>header h1
  75. {
  76. font-size: 28pt;
  77. font-family: 'Ubuntu';
  78. margin: 0 0 10px 0;
  79. letter-spacing: 2px;
  80. }
  81. .wrapper>header h2
  82. {
  83. margin:0;
  84. color:#888;
  85. letter-spacing: 2px;
  86. }
  87. .slogan
  88. {
  89. font-size:0.8em;
  90. }
  91. .main
  92. {
  93. overflow:hidden;
  94. }
  95. .content
  96. {
  97. width:540px;
  98. float:right;
  99. border-left:1px solid #eee;
  100. padding-left:1.5em;
  101. }
  102. .content>h1 {
  103. font-size: 18pt;
  104. }
  105. .content>h2 {
  106. font-size: 16pt;
  107. }
  108. .content>h3 {
  109. font-size: 14pt;
  110. }
  111. .content>h4 {
  112. font-size: 12pt;
  113. }
  114. .content>h1:not(:first-child) {
  115. margin-top: 30px;
  116. }
  117. a, a:visited
  118. {
  119. color:#2972A3;
  120. text-decoration:none;
  121. }
  122. a:hover
  123. {
  124. color:#72ADD4;
  125. text-decoration:underline;
  126. }
  127. .sidebar
  128. {
  129. width:180px;
  130. float:left;
  131. font-size:0.9em;
  132. }
  133. .sidebar>ul
  134. {
  135. list-style-type:none;
  136. padding-left:1em;
  137. margin:0;
  138. padding: 0;
  139. }
  140. .sidebar>ul li:before
  141. {
  142. text-decoration:none;
  143. color:#777;
  144. margin-right:0.2em;
  145. }
  146. pre, code
  147. {
  148. font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
  149. }
  150. pre
  151. {
  152. border:1px solid #eee;
  153. padding:0.5em 1em;
  154. font-size:0.8em;
  155. background-color:#f5f5f5;
  156. text-shadow:1px 1px 0 #fff;
  157. line-height:1.7em;
  158. }
  159. code
  160. {
  161. background-color:#FFE5DB;
  162. font-size:0.8em;
  163. display:inline-block;
  164. padding:0.2em 0.4em;
  165. text-shadow:1px 1px 0 #fff;
  166. }
  167. /* Prettify Styles -------------- */
  168. .com {
  169. color: #93a1a1;
  170. }
  171. .lit {
  172. color: #195f91;
  173. }
  174. .pun, .opn, .clo {
  175. color: #93a1a1;
  176. }
  177. .fun {
  178. color: #dc322f;
  179. }
  180. .str, .atv {
  181. color: #D14;
  182. }
  183. .kwd, .linenums .tag {
  184. color: #1e347b;
  185. }
  186. .typ,
  187. .atn,
  188. .dec,
  189. .var {
  190. color: teal;
  191. }
  192. .pln {
  193. color: #48484c;
  194. }
  195. .prettyprint
  196. {
  197. padding:0;
  198. text-shadow:1px 1px 0 #fff;
  199. }
  200. .prettyprint ol
  201. {
  202. color:#ccc;
  203. }
  204. /* end ------------------------ */
  205. @media print {
  206. * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; }
  207. a, a:visited { text-decoration: underline; }
  208. a[href]:after { content: " (" attr(href) ")"; }
  209. abbr[title]:after { content: " (" attr(title) ")"; }
  210. .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
  211. pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  212. thead { display: table-header-group; }
  213. tr, img { page-break-inside: avoid; }
  214. img { max-width: 100% !important; }
  215. @page { margin: 0.5cm; }
  216. p, h2, h3 { orphans: 3; widows: 3; }
  217. h2, h3 { page-break-after: avoid; }
  218. }