docs.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. @font-face {
  2. font-family: 'Source Sans Pro';
  3. font-style: normal;
  4. font-weight: 400;
  5. src: local('Source Sans Pro'), local('SourceSansPro-Regular'), url(//themes.googleusercontent.com/static/fonts/sourcesanspro/v5/ODelI1aHBYDBqgeIAH2zlBM0YzuT7MdOe03otPbuUS0.woff) format('woff');
  6. }
  7. body, html { margin: 0; padding: 0; height: 100%; }
  8. section, article { display: block; padding: 0; }
  9. body {
  10. background: #f8f8f8;
  11. font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
  12. line-height: 1.5;
  13. }
  14. p { margin-top: 0; }
  15. h2, h3, h1 {
  16. font-weight: normal;
  17. margin-bottom: .7em;
  18. }
  19. h1 { font-size: 140%; }
  20. h2 { font-size: 120%; }
  21. h3 { font-size: 110%; }
  22. article > h2:first-child, section:first-child > h2 { margin-top: 0; }
  23. #nav h1 {
  24. margin-right: 12px;
  25. margin-top: 0;
  26. margin-bottom: 2px;
  27. color: #d30707;
  28. letter-spacing: .5px;
  29. }
  30. a, a:visited, a:link, .quasilink {
  31. color: #A21313;
  32. text-decoration: none;
  33. }
  34. em {
  35. padding-right: 2px;
  36. }
  37. .quasilink {
  38. cursor: pointer;
  39. }
  40. article {
  41. max-width: 700px;
  42. margin: 0 0 0 160px;
  43. border-left: 2px solid #E30808;
  44. border-right: 1px solid #ddd;
  45. padding: 30px 50px 100px 50px;
  46. background: white;
  47. z-index: 2;
  48. position: relative;
  49. min-height: 100%;
  50. box-sizing: border-box;
  51. -moz-box-sizing: border-box;
  52. }
  53. #nav {
  54. position: fixed;
  55. padding-top: 30px;
  56. max-height: 100%;
  57. box-sizing: -moz-border-box;
  58. box-sizing: border-box;
  59. overflow-y: auto;
  60. left: 0; right: none;
  61. width: 160px;
  62. text-align: right;
  63. z-index: 1;
  64. }
  65. @media screen and (min-width: 1000px) {
  66. article {
  67. margin: 0 auto;
  68. }
  69. #nav {
  70. right: 50%;
  71. width: auto;
  72. border-right: 349px solid transparent;
  73. }
  74. }
  75. #nav ul {
  76. display: block;
  77. margin: 0; padding: 0;
  78. margin-bottom: 32px;
  79. }
  80. #nav li {
  81. display: block;
  82. margin-bottom: 4px;
  83. }
  84. #nav li ul {
  85. font-size: 80%;
  86. margin-bottom: 0;
  87. display: none;
  88. }
  89. #nav li.active ul {
  90. display: block;
  91. }
  92. #nav li li a {
  93. padding-right: 20px;
  94. display: inline-block;
  95. }
  96. #nav ul a {
  97. color: black;
  98. padding: 0 7px 1px 11px;
  99. }
  100. #nav ul a.active, #nav ul a:hover {
  101. border-bottom: 1px solid #E30808;
  102. margin-bottom: -1px;
  103. color: #E30808;
  104. }
  105. #logo {
  106. border: 0;
  107. margin-right: 12px;
  108. margin-bottom: 25px;
  109. }
  110. section {
  111. border-top: 1px solid #E30808;
  112. margin: 1.5em 0;
  113. }
  114. section.first {
  115. border: none;
  116. margin-top: 0;
  117. }
  118. #demo {
  119. position: relative;
  120. }
  121. #demolist {
  122. position: absolute;
  123. right: 5px;
  124. top: 5px;
  125. z-index: 25;
  126. }
  127. .yinyang {
  128. position: absolute;
  129. top: -10px;
  130. left: 0; right: 0;
  131. margin: auto;
  132. display: block;
  133. height: 120px;
  134. }
  135. .actions {
  136. margin: 1em 0 0;
  137. min-height: 100px;
  138. position: relative;
  139. }
  140. .actionspicture {
  141. pointer-events: none;
  142. position: absolute;
  143. height: 100px;
  144. top: 0; left: 0; right: 0;
  145. }
  146. .actionlink {
  147. pointer-events: auto;
  148. font-family: arial;
  149. font-size: 80%;
  150. font-weight: bold;
  151. position: absolute;
  152. top: 0; bottom: 0;
  153. line-height: 1;
  154. height: 1em;
  155. margin: auto;
  156. }
  157. .actionlink.download {
  158. color: white;
  159. right: 50%;
  160. margin-right: 13px;
  161. text-shadow: -1px 1px 3px #b00, -1px -1px 3px #b00, 1px 0px 3px #b00;
  162. }
  163. .actionlink.fund {
  164. color: #b00;
  165. left: 50%;
  166. margin-left: 15px;
  167. }
  168. .actionlink:hover {
  169. text-decoration: underline;
  170. }
  171. .actionlink a {
  172. color: inherit;
  173. }
  174. .actionsleft {
  175. float: left;
  176. }
  177. .actionsright {
  178. float: right;
  179. text-align: right;
  180. }
  181. @media screen and (max-width: 800px) {
  182. .actions {
  183. padding-top: 120px;
  184. }
  185. .actionsleft, .actionsright {
  186. float: none;
  187. text-align: left;
  188. margin-bottom: 1em;
  189. }
  190. }
  191. th {
  192. text-decoration: underline;
  193. font-weight: normal;
  194. text-align: left;
  195. }
  196. #features ul {
  197. list-style: none;
  198. margin: 0 0 1em;
  199. padding: 0 0 0 1.2em;
  200. }
  201. #features li:before {
  202. content: "-";
  203. width: 1em;
  204. display: inline-block;
  205. padding: 0;
  206. margin: 0;
  207. margin-left: -1em;
  208. }
  209. .rel {
  210. margin-bottom: 0;
  211. }
  212. .rel-note {
  213. margin-top: 0;
  214. color: #555;
  215. }
  216. pre {
  217. padding-left: 15px;
  218. border-left: 2px solid #ddd;
  219. }
  220. code {
  221. padding: 0 2px;
  222. }
  223. strong {
  224. text-decoration: underline;
  225. font-weight: normal;
  226. }
  227. .field {
  228. border: 1px solid #A21313;
  229. }