wiki.less 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. .wiki {
  2. .contents {
  3. ul {
  4. padding: 0;
  5. li {
  6. font-size: 14px;
  7. list-style: none;
  8. margin-bottom: 6px;
  9. }
  10. }
  11. h2 {
  12. font-size: 18px;
  13. }
  14. }
  15. img {
  16. height: auto;
  17. max-width: 100%;
  18. }
  19. .page-header {
  20. a {
  21. font-size: 0.8em;
  22. line-height: 1;
  23. }
  24. }
  25. .editsection {
  26. display: none;
  27. }
  28. table {
  29. th,
  30. td {
  31. padding: (@line-height-computed / 4) (@line-height-computed / 2);
  32. border-bottom: 1px solid @gray-lighter;
  33. }
  34. th {
  35. font-weight: 700;
  36. text-align: left;
  37. font-family: @font-family-serif;
  38. }
  39. margin-bottom: @line-height-computed / 2;
  40. }
  41. .table-no-borders {
  42. th,
  43. td {
  44. border: 0px;
  45. }
  46. }
  47. .example {
  48. max-width: 100%;
  49. .code {
  50. pre {
  51. background-color: @gray-lightest;
  52. border-radius: 6px;
  53. padding: (@line-height-computed / 2);
  54. white-space: pre-wrap;
  55. margin: 0;
  56. }
  57. }
  58. .output {
  59. text-align: center;
  60. padding-top: 10px;
  61. img {
  62. width: auto;
  63. height: auto;
  64. max-width: 100%;
  65. box-shadow: 0 1px 3px @gray-light;
  66. border-radius: 6px;
  67. }
  68. }
  69. }
  70. @media (min-width: 1360px) {
  71. .example {
  72. margin-right: -200px;
  73. }
  74. }
  75. @media (max-width: @screen-sm) {
  76. .contents {
  77. margin-top: @margin-lg;
  78. }
  79. }
  80. /*<![CDATA[*/
  81. .source-latex {
  82. line-height: normal;
  83. }
  84. .source-latex li,
  85. .source-latex pre {
  86. line-height: normal;
  87. border: 0px none white;
  88. }
  89. /**
  90. * GeSHi Dynamically Generated Stylesheet
  91. * --------------------------------------
  92. * Dynamically generated stylesheet for latex
  93. * CSS class: source-latex, CSS id:
  94. * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann
  95. * (http://qbnz.com/highlighter/ and http://geshi.org/)
  96. * --------------------------------------
  97. */
  98. .latex.source-latex .imp {
  99. font-weight: bold;
  100. color: red;
  101. }
  102. .latex.source-latex li,
  103. .latex.source-latex .li1 {
  104. font-weight: normal;
  105. vertical-align: top;
  106. }
  107. .latex.source-latex .ln {
  108. width: 1px;
  109. text-align: right;
  110. margin: 0;
  111. padding: 0 2px;
  112. vertical-align: top;
  113. }
  114. .latex.source-latex .li2 {
  115. font-weight: bold;
  116. vertical-align: top;
  117. }
  118. .latex.source-latex .kw1 {
  119. color: #800000;
  120. }
  121. .latex.source-latex .co1 {
  122. color: #2c922c;
  123. font-style: italic;
  124. }
  125. .latex.source-latex .es0 {
  126. color: #000000;
  127. font-weight: bold;
  128. }
  129. .latex.source-latex .sy0 {
  130. color: #e02020;
  131. }
  132. .latex.source-latex .st0 {
  133. color: #000000;
  134. }
  135. .latex.source-latex .re1 {
  136. color: #8020e0;
  137. font-weight: normal;
  138. }
  139. .latex.source-latex .re2 {
  140. color: #c08020;
  141. font-weight: normal;
  142. }
  143. .latex.source-latex .re3 {
  144. color: #8020e0;
  145. font-weight: normal;
  146. }
  147. .latex.source-latex .re4 {
  148. color: #800000;
  149. font-weight: normal;
  150. }
  151. .latex.source-latex .re5 {
  152. color: #00008b;
  153. font-weight: bold;
  154. }
  155. .latex.source-latex .re6 {
  156. color: #800000;
  157. font-weight: normal;
  158. }
  159. .latex.source-latex .re7 {
  160. color: #0000d0;
  161. font-weight: normal;
  162. }
  163. .latex.source-latex .re8 {
  164. color: #c00000;
  165. font-weight: normal;
  166. }
  167. .latex.source-latex .re9 {
  168. color: #2020c0;
  169. font-weight: normal;
  170. }
  171. .latex.source-latex .re10 {
  172. color: #800000;
  173. font-weight: normal;
  174. }
  175. .latex.source-latex .re11 {
  176. color: #e00000;
  177. font-weight: normal;
  178. }
  179. .latex.source-latex .re12 {
  180. color: #800000;
  181. font-weight: normal;
  182. }
  183. .latex.source-latex .ln-xtra,
  184. .latex.source-latex li.ln-xtra,
  185. .latex.source-latex div.ln-xtra {
  186. background-color: #ffc;
  187. }
  188. .latex.source-latex span.xtra {
  189. display: block;
  190. }
  191. /*]]>*/
  192. a.search-result {
  193. display: block;
  194. margin-top: @line-height-computed / 2;
  195. .search-result-content {
  196. margin-top: @line-height-computed / 4;
  197. white-space: pre-wrap;
  198. font-size: 0.8em;
  199. color: @gray-dark;
  200. em {
  201. font-weight: bold;
  202. }
  203. }
  204. &:hover,
  205. &:active,
  206. &:focus {
  207. text-decoration: none;
  208. .search-result-content {
  209. color: @gray-darker;
  210. }
  211. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  212. }
  213. }
  214. }