You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

225 lines
3.2 KiB

7 months ago
  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(source_sans.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. @media screen and (max-width: 800px) {
  143. .actions {
  144. padding-top: 120px;
  145. }
  146. .actionsleft, .actionsright {
  147. float: none;
  148. text-align: left;
  149. margin-bottom: 1em;
  150. }
  151. }
  152. th {
  153. text-decoration: underline;
  154. font-weight: normal;
  155. text-align: left;
  156. }
  157. #features ul {
  158. list-style: none;
  159. margin: 0 0 1em;
  160. padding: 0 0 0 1.2em;
  161. }
  162. #features li:before {
  163. content: "-";
  164. width: 1em;
  165. display: inline-block;
  166. padding: 0;
  167. margin: 0;
  168. margin-left: -1em;
  169. }
  170. .rel {
  171. margin-bottom: 0;
  172. }
  173. .rel-note {
  174. margin-top: 0;
  175. color: #555;
  176. }
  177. pre {
  178. padding-left: 15px;
  179. border-left: 2px solid #ddd;
  180. }
  181. code {
  182. padding: 0 2px;
  183. }
  184. strong {
  185. text-decoration: underline;
  186. font-weight: normal;
  187. }
  188. .field {
  189. border: 1px solid #A21313;
  190. }