style.css 5.5 KB

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