docs.css 4.0 KB

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