docs.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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 {
  16. font-weight: normal;
  17. margin-bottom: .7em;
  18. }
  19. h2 { font-size: 120%; }
  20. h3 { font-size: 110%; }
  21. article > h2:first-child, section:first-child > h2 { margin-top: 0; }
  22. a, a:visited, a:link, .quasilink {
  23. color: #A21313;
  24. text-decoration: none;
  25. }
  26. em {
  27. padding-right: 2px;
  28. }
  29. .quasilink {
  30. cursor: pointer;
  31. }
  32. article {
  33. max-width: 700px;
  34. margin: 0 0 0 160px;
  35. border-left: 2px solid #E30808;
  36. border-right: 1px solid #ddd;
  37. padding: 30px 50px 100px 50px;
  38. background: white;
  39. z-index: 2;
  40. position: relative;
  41. min-height: 100%;
  42. box-sizing: border-box;
  43. -moz-box-sizing: border-box;
  44. }
  45. #nav {
  46. position: fixed;
  47. padding-top: 30px;
  48. max-height: 100%;
  49. box-sizing: -moz-border-box;
  50. box-sizing: border-box;
  51. overflow-y: auto;
  52. left: 0; right: none;
  53. width: 160px;
  54. text-align: right;
  55. z-index: 1;
  56. }
  57. @media screen and (min-width: 1000px) {
  58. article {
  59. margin: 0 auto;
  60. }
  61. #nav {
  62. right: 50%;
  63. width: auto;
  64. border-right: 349px solid transparent;
  65. }
  66. }
  67. #nav ul {
  68. display: block;
  69. margin: 0; padding: 0;
  70. margin-bottom: 32px;
  71. }
  72. #nav li {
  73. display: block;
  74. margin-bottom: 4px;
  75. }
  76. #nav li ul {
  77. font-size: 80%;
  78. margin-bottom: 0;
  79. display: none;
  80. }
  81. #nav li.active ul {
  82. display: block;
  83. }
  84. #nav li li a {
  85. padding-right: 20px;
  86. display: inline-block;
  87. }
  88. #nav ul a {
  89. color: black;
  90. padding: 0 7px 1px 11px;
  91. }
  92. #nav ul a.active, #nav ul a:hover {
  93. border-bottom: 1px solid #E30808;
  94. margin-bottom: -1px;
  95. color: #E30808;
  96. }
  97. #logo {
  98. border: 0;
  99. margin-right: 7px;
  100. margin-bottom: 25px;
  101. }
  102. section {
  103. border-top: 1px solid #E30808;
  104. margin: 1.5em 0;
  105. }
  106. section.first {
  107. border: none;
  108. margin-top: 0;
  109. }
  110. #demo {
  111. position: relative;
  112. }
  113. #demolist {
  114. position: absolute;
  115. right: 5px;
  116. top: 5px;
  117. z-index: 25;
  118. }
  119. .bankinfo {
  120. text-align: left;
  121. display: none;
  122. padding: 0 .5em;
  123. position: absolute;
  124. border: 2px solid #aaa;
  125. border-radius: 5px;
  126. background: #eee;
  127. top: 10px;
  128. left: 30px;
  129. }
  130. .bankinfo_close {
  131. position: absolute;
  132. top: 0; right: 6px;
  133. font-weight: bold;
  134. cursor: pointer;
  135. }
  136. .bigbutton {
  137. cursor: pointer;
  138. text-align: center;
  139. padding: 0 1em;
  140. display: inline-block;
  141. color: white;
  142. position: relative;
  143. line-height: 1.9;
  144. color: white !important;
  145. background: #A21313;
  146. }
  147. .bigbutton.right {
  148. border-bottom-left-radius: 100px;
  149. border-top-left-radius: 100px;
  150. }
  151. .bigbutton.left {
  152. border-bottom-right-radius: 100px;
  153. border-top-right-radius: 100px;
  154. }
  155. .bigbutton:hover {
  156. background: #E30808;
  157. }
  158. th {
  159. text-decoration: underline;
  160. font-weight: normal;
  161. text-align: left;
  162. }
  163. #features ul {
  164. list-style: none;
  165. margin: 0 0 1em;
  166. padding: 0 0 0 1.2em;
  167. }
  168. #features li:before {
  169. content: "-";
  170. width: 1em;
  171. display: inline-block;
  172. padding: 0;
  173. margin: 0;
  174. margin-left: -1em;
  175. }
  176. .rel {
  177. margin-bottom: 0;
  178. }
  179. .rel-note {
  180. margin-top: 0;
  181. color: #555;
  182. }
  183. pre {
  184. padding-left: 15px;
  185. border-left: 2px solid #ddd;
  186. }
  187. code {
  188. padding: 0 2px;
  189. }
  190. strong {
  191. text-decoration: underline;
  192. font-weight: normal;
  193. }
  194. .field {
  195. border: 1px solid #A21313;
  196. }