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.

305 lines
5.2 KiB

12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
  1. /*******************************
  2. Standard Example
  3. *******************************/
  4. @font-face {
  5. font-family: 'Icons';
  6. src: url(../fonts/icons.eot);
  7. src:
  8. url(../fonts/icons.eot?#iefix) format('embedded-opentype'),
  9. url(../fonts/icons.woff) format('woff'),
  10. url(../fonts/icons.ttf) format('truetype'),
  11. url(../fonts/icons.svg#icons) format('svg')
  12. ;
  13. font-weight: normal;
  14. font-style: normal;
  15. }
  16. /* font */
  17. @font-face {
  18. font-family: 'Neutraface';
  19. src:
  20. url("../fonts/neutraface-book.otf") format('opentype')
  21. ;
  22. font-weight: normal;
  23. font-style: normal;
  24. font-size-adjust: 0.448;
  25. }
  26. @font-face {
  27. font-family: 'Neutraface';
  28. src:
  29. url("../fonts/neutraface-bold.otf") format('opentype')
  30. ;
  31. font-weight: bold;
  32. font-style: normal;
  33. font-size-adjust: 0.448;
  34. }
  35. /*******************************
  36. Global
  37. *******************************/
  38. body#example {
  39. font-family: "Neutraface", "Helvetica Neue", "Arial", sans-serif;
  40. background: #FCFCFC url(../images/bg.jpg) repeat;
  41. margin: 0px;
  42. padding: 0px 0px 150px;
  43. }
  44. /* text and headers */
  45. h1 {
  46. margin: 0px 0px 20px;
  47. padding: 50px 0px 5px;
  48. border-bottom: 1px solid #DDDDDD;
  49. }
  50. h1 {
  51. margin: 0px auto;
  52. }
  53. h1:first-child {
  54. margin-top: 0px;
  55. padding-top: 0px;
  56. }
  57. h2 {
  58. margin: 35px 0px 30px;
  59. padding-bottom: 10px;
  60. border-bottom: 1px solid #DDDDDD;
  61. }
  62. h3 {
  63. font-size: 20px;
  64. margin: 40px 0px 15px;
  65. }
  66. h4 {
  67. margin: 30px 0px 3px;
  68. font-size: 16px;
  69. font-weight: bold;
  70. color: #555555;
  71. }
  72. h4 + p {
  73. margin: 0px 0px 20px;
  74. }
  75. pre {
  76. background-color: #F0F0F0;
  77. }
  78. code {
  79. position: relative;
  80. background-color: #F0F0F0;
  81. border: 1px solid #DDDDDD;
  82. padding: 3px 5px;
  83. }
  84. pre code {
  85. border: none;
  86. padding: 0px;
  87. }
  88. table pre,
  89. table code {
  90. margin: 0px;
  91. padding: 0px;
  92. background-color: transparent;
  93. }
  94. p {
  95. margin: 10px 0px;
  96. color: #555555;
  97. }
  98. p > a {
  99. font-weight: bold;
  100. }
  101. /* links */
  102. a {
  103. color: #009FDA;
  104. text-decoration: none;
  105. }
  106. a:hover {
  107. color: #00BAFF;
  108. }
  109. #example .sidr {
  110. font-weight: bold;
  111. }
  112. #example .sidr ul li ul {
  113. font-weight: normal;
  114. }
  115. #example .sidr ul li ul li a {
  116. font-family: "Neutraface", "Helvetica Neue", "Arial", sans-serif;
  117. font-size: 15px;
  118. color: #666666;
  119. }
  120. #example .sidr .active {
  121. background-color: #555555;
  122. }
  123. #example .sidr .active > a {
  124. color: #FFFFFF;
  125. -webkit-box-shadow: none;
  126. -moz-box-shadow: none;
  127. box-shadow: none;
  128. }
  129. #example .section.dropdown .menu {
  130. left: -46px;
  131. width: 215px;
  132. }
  133. /* segment headers */
  134. #example > .segment {
  135. margin: 0px 0px 46px;
  136. padding: 65px 0px 20px;
  137. background-color: #FFFFFF;
  138. border-bottom: 1px solid #DDDDDD;
  139. }
  140. #example > .segment .text {
  141. width: 800px;
  142. margin: 0px auto;
  143. }
  144. /* lists */
  145. #example ol {
  146. list-style-position: inside;
  147. margin: 10px 0px 40px;
  148. padding: 0px;
  149. }
  150. #example ol li {
  151. list-style-type: decimal;
  152. margin: 0px 0px 10px;
  153. }
  154. #example ol li a {
  155. font-weight: bold;
  156. }
  157. #example .features {
  158. list-style-position: inside;
  159. margin: 10px 0px 0px;
  160. padding: 0px;
  161. }
  162. #example .features li {
  163. list-style-type: disc;
  164. margin: 0px 0px 10px;
  165. font-weight: bold;
  166. }
  167. /* content */
  168. #example .container {
  169. width: 800px;
  170. margin: 0px auto;
  171. }
  172. #example .shortcuts {
  173. float: right;
  174. clear: both;
  175. }
  176. #example .page {
  177. font-family: "Arial, Helvetica, sans-serif";
  178. }
  179. #example .page .of {
  180. font-family: 'Neutraface';
  181. font-size: 12px;
  182. color: #AAAAAA;
  183. padding: 0px 5px;
  184. }
  185. #example .page .menu,
  186. #example .page .of {
  187. font-family: 'Neutraface';
  188. }
  189. #example .side.buttons {
  190. position: fixed;
  191. margin-top: 75px;
  192. }
  193. #example .main.container {
  194. position: relative;
  195. }
  196. #example .peek {
  197. position: absolute;
  198. top: -8px;
  199. left: -230px;
  200. width: 180px;
  201. }
  202. #example .peek .panel {
  203. width: 180px;
  204. }
  205. #example .sticky-wrapper.stuck {
  206. height: 0px !important;
  207. }
  208. #example .sticky-wrapper.stuck .peek {
  209. position: fixed;
  210. top: 75px;
  211. left: 50%;
  212. margin-left: -630px;
  213. }
  214. #example .settings.table td:first-child {
  215. font-weight: bold;
  216. }
  217. #example .settings.table td:nth-child(2n) {
  218. width: 300px;
  219. }
  220. #example div.code {
  221. position: relative;
  222. width: 100%;
  223. height: 200px;
  224. }
  225. #example div.code {
  226. font-size: 14px;
  227. margin: 5px 0px 20px;
  228. padding: 5px 0px;
  229. border: 1px solid #F0F0F0;
  230. border: 1px solid rgba(0, 0, 0, 0.1);
  231. border-radius: 3px;
  232. background-color: #FFFFFF;
  233. background-color: rgba(255, 255, 255, 0.8);
  234. }
  235. #example div.code .ace_bracket {
  236. background-color: rgba(0, 0, 0, 0.05);
  237. border: 1px solid rgba(0, 0, 0, 0.1);
  238. }
  239. #example div.code .ace_scroller {
  240. margin: 14px 10px;
  241. }
  242. #example div.code .ace_content {
  243. }
  244. #example div.code .ace_string {
  245. color: #e82d2d;
  246. }
  247. #example div.code .ace_cursor {
  248. border-left: 1px solid #AAAAAA;
  249. }
  250. #example div.code .ace_paren {
  251. color: #555555;
  252. }
  253. #example div.code .ace_keyword {
  254. color: #555555;
  255. }
  256. #example div.code .ace_identifier {
  257. color: #247992;
  258. }
  259. #example div.code .ace_scrollbar {
  260. overflow: hidden;
  261. background-color: #FFFFFF;
  262. }
  263. #example div.code .ace_punctuation {
  264. color: #555555;
  265. }
  266. @media only screen and (max-width : 1640px) {
  267. #example .container {
  268. width: 600px;
  269. }
  270. #example .sticky-wrapper.stuck .peek {
  271. margin-left: -530px;
  272. }
  273. }
  274. @media only screen and (max-width : 1420px) {
  275. #example .container {
  276. width: auto;
  277. margin: 0px 100px 0px 395px;
  278. }
  279. #example .sticky-wrapper.stuck .peek {
  280. margin-left: 0px;
  281. left: 165px;
  282. }
  283. }