styles.css 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  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'),
  7. local('Noto Sans'),
  8. local('Noto-Sans-regular'),
  9. url('../fonts/Noto-Sans-regular/Noto-Sans-regular.woff2') format('woff2'),
  10. url('../fonts/Noto-Sans-regular/Noto-Sans-regular.woff') format('woff'),
  11. url('../fonts/Noto-Sans-regular/Noto-Sans-regular.ttf') format('truetype'),
  12. url('../fonts/Noto-Sans-regular/Noto-Sans-regular.svg#NotoSans') format('svg');
  13. }
  14. @font-face {
  15. font-family: 'Noto Sans';
  16. font-weight: 700;
  17. font-style: normal;
  18. src: url('../fonts/Noto-Sans-700/Noto-Sans-700.eot');
  19. src: url('../fonts/Noto-Sans-700/Noto-Sans-700.eot?#iefix') format('embedded-opentype'),
  20. local('Noto Sans Bold'),
  21. local('Noto-Sans-700'),
  22. url('../fonts/Noto-Sans-700/Noto-Sans-700.woff2') format('woff2'),
  23. url('../fonts/Noto-Sans-700/Noto-Sans-700.woff') format('woff'),
  24. url('../fonts/Noto-Sans-700/Noto-Sans-700.ttf') format('truetype'),
  25. url('../fonts/Noto-Sans-700/Noto-Sans-700.svg#NotoSans') format('svg');
  26. }
  27. @font-face {
  28. font-family: 'Noto Sans';
  29. font-weight: 400;
  30. font-style: italic;
  31. src: url('../fonts/Noto-Sans-italic/Noto-Sans-italic.eot');
  32. src: url('../fonts/Noto-Sans-italic/Noto-Sans-italic.eot?#iefix') format('embedded-opentype'),
  33. local('Noto Sans Italic'),
  34. local('Noto-Sans-italic'),
  35. url('../fonts/Noto-Sans-italic/Noto-Sans-italic.woff2') format('woff2'),
  36. url('../fonts/Noto-Sans-italic/Noto-Sans-italic.woff') format('woff'),
  37. url('../fonts/Noto-Sans-italic/Noto-Sans-italic.ttf') format('truetype'),
  38. url('../fonts/Noto-Sans-italic/Noto-Sans-italic.svg#NotoSans') format('svg');
  39. }
  40. @font-face {
  41. font-family: 'Noto Sans';
  42. font-weight: 700;
  43. font-style: italic;
  44. src: url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot');
  45. src: url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot?#iefix') format('embedded-opentype'),
  46. local('Noto Sans Bold Italic'),
  47. local('Noto-Sans-700italic'),
  48. url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff2') format('woff2'),
  49. url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff') format('woff'),
  50. url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.ttf') format('truetype'),
  51. url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.svg#NotoSans') format('svg');
  52. }
  53. body {
  54. background-color: #fff;
  55. padding:50px;
  56. font: 14px/1.5 "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  57. color:#727272;
  58. font-weight:400;
  59. }
  60. h1, h2, h3, h4, h5, h6 {
  61. color:#222;
  62. margin:0 0 20px;
  63. }
  64. p, ul, ol, table, pre, dl {
  65. margin:0 0 20px;
  66. }
  67. h1, h2, h3 {
  68. line-height:1.1;
  69. }
  70. h1 {
  71. font-size:28px;
  72. }
  73. h2 {
  74. color:#393939;
  75. }
  76. h3, h4, h5, h6 {
  77. color:#494949;
  78. }
  79. a {
  80. color:#39c;
  81. text-decoration:none;
  82. }
  83. a:hover {
  84. color:#069;
  85. }
  86. a small {
  87. font-size:11px;
  88. color:#777;
  89. margin-top:-0.3em;
  90. display:block;
  91. }
  92. a:hover small {
  93. color:#777;
  94. }
  95. .wrapper {
  96. width:860px;
  97. margin:0 auto;
  98. }
  99. blockquote {
  100. border-left:1px solid #e5e5e5;
  101. margin:0;
  102. padding:0 0 0 20px;
  103. font-style:italic;
  104. }
  105. code, pre {
  106. font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Consolas, Liberation Mono, DejaVu Sans Mono, Courier New, monospace;
  107. color:#333;
  108. font-size:12px;
  109. }
  110. pre {
  111. padding:8px 15px;
  112. background: #f8f8f8;
  113. border-radius:5px;
  114. border:1px solid #e5e5e5;
  115. overflow-x: auto;
  116. }
  117. table {
  118. width:100%;
  119. border-collapse:collapse;
  120. }
  121. th, td {
  122. text-align:left;
  123. padding:5px 10px;
  124. border-bottom:1px solid #e5e5e5;
  125. }
  126. dt {
  127. color:#444;
  128. font-weight:700;
  129. }
  130. th {
  131. color:#444;
  132. }
  133. img {
  134. max-width:100%;
  135. }
  136. header {
  137. width:270px;
  138. float:left;
  139. position:fixed;
  140. -webkit-font-smoothing:subpixel-antialiased;
  141. }
  142. header ul {
  143. list-style:none;
  144. height:40px;
  145. padding:0;
  146. background: #f4f4f4;
  147. border-radius:5px;
  148. border:1px solid #e0e0e0;
  149. width:270px;
  150. }
  151. header li {
  152. width:89px;
  153. float:left;
  154. border-right:1px solid #e0e0e0;
  155. height:40px;
  156. }
  157. header li:first-child a {
  158. border-radius:5px 0 0 5px;
  159. }
  160. header li:last-child a {
  161. border-radius:0 5px 5px 0;
  162. }
  163. header ul a {
  164. line-height:1;
  165. font-size:11px;
  166. color:#999;
  167. display:block;
  168. text-align:center;
  169. padding-top:6px;
  170. height:34px;
  171. }
  172. header ul a:hover {
  173. color:#999;
  174. }
  175. header ul a:active {
  176. background-color:#f0f0f0;
  177. }
  178. strong {
  179. color:#222;
  180. font-weight:700;
  181. }
  182. header ul li + li + li {
  183. border-right:none;
  184. width:89px;
  185. }
  186. header ul a strong {
  187. font-size:14px;
  188. display:block;
  189. color:#222;
  190. }
  191. section {
  192. width:500px;
  193. float:right;
  194. padding-bottom:50px;
  195. }
  196. small {
  197. font-size:11px;
  198. }
  199. hr {
  200. border:0;
  201. background:#e5e5e5;
  202. height:1px;
  203. margin:0 0 20px;
  204. }
  205. footer {
  206. width:270px;
  207. float:left;
  208. position:fixed;
  209. bottom:50px;
  210. -webkit-font-smoothing:subpixel-antialiased;
  211. }
  212. @media print, screen and (max-width: 960px) {
  213. div.wrapper {
  214. width:auto;
  215. margin:0;
  216. }
  217. header, section, footer {
  218. float:none;
  219. position:static;
  220. width:auto;
  221. }
  222. header {
  223. padding-right:320px;
  224. }
  225. section {
  226. border:1px solid #e5e5e5;
  227. border-width:1px 0;
  228. padding:20px 0;
  229. margin:0 0 20px;
  230. }
  231. header a small {
  232. display:inline;
  233. }
  234. header ul {
  235. position:absolute;
  236. right:50px;
  237. top:52px;
  238. }
  239. }
  240. @media print, screen and (max-width: 720px) {
  241. body {
  242. word-wrap:break-word;
  243. }
  244. header {
  245. padding:0;
  246. }
  247. header ul, header p.view {
  248. position:static;
  249. }
  250. pre, code {
  251. word-wrap:normal;
  252. }
  253. }
  254. @media print, screen and (max-width: 480px) {
  255. body {
  256. padding:15px;
  257. }
  258. header ul {
  259. width:99%;
  260. }
  261. header li, header ul li + li + li {
  262. width:33%;
  263. }
  264. }
  265. @media print {
  266. body {
  267. padding:0.4in;
  268. font-size:12pt;
  269. color:#444;
  270. }
  271. }