docbook.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. /* ---------------------------------------------------------------------------
  2. Hue Docs styles
  3. --------------------------------------------------------------------------- */
  4. body {
  5. background-color: #FFFFFF;
  6. border-top: 3px solid #287DBD;
  7. padding: 30px;
  8. font-family: 'Open Sans',sans-serif;
  9. color: #333333;
  10. margin:0;
  11. line-height: 1.1em;
  12. }
  13. hr {
  14. border-color: #EEEEEE -moz-use-text-color #FFFFFF;
  15. border-bottom: 1px solid #FFFFFF;
  16. border-top: 1px solid #CCCCCC;
  17. border-image: none;
  18. border-left: 0 none;
  19. border-right: 0 none;
  20. margin: 20px 0;
  21. }
  22. .section {
  23. border: 1px solid #EEEEEE;
  24. box-shadow: none;
  25. color: #333333;
  26. margin-bottom: 20px;
  27. margin-top: 15px;
  28. padding: 20px;
  29. padding-top: 5px;
  30. position: relative;
  31. }
  32. .title, h1, .toc p, h2 {
  33. color: #0B7FAD;
  34. font-size: 24px;
  35. font-weight: 600;
  36. margin-bottom: 15px;
  37. margin-top: 15px;
  38. }
  39. h2 {
  40. font-size: 20px;
  41. margin-top: 24px;
  42. }
  43. h3 {
  44. font-size: 16px;
  45. font-weight: 600;
  46. }
  47. a:link, a:visited {
  48. color: #0B7FAD;
  49. text-decoration: none;
  50. }
  51. a:hover {
  52. color: #3799CA;
  53. text-decoration: underline;
  54. }
  55. .table {
  56. margin-top: 20px;
  57. }
  58. table {
  59. border: none!important;
  60. }
  61. table {
  62. max-width: 100%;
  63. background-color: transparent;
  64. border-collapse: collapse;
  65. border-spacing: 0;
  66. }
  67. table {
  68. width: 100%;
  69. margin-bottom: 20px;
  70. }
  71. table th,
  72. table td {
  73. padding: 8px;
  74. line-height: 20px;
  75. text-align: left;
  76. vertical-align: top;
  77. border-top: 1px solid #e5e5e5;
  78. }
  79. table th {
  80. font-weight: bold;
  81. }
  82. table thead th {
  83. vertical-align: bottom;
  84. }
  85. table caption + thead tr:first-child th,
  86. table caption + thead tr:first-child td,
  87. table colgroup + thead tr:first-child th,
  88. table colgroup + thead tr:first-child td,
  89. table thead:first-child tr:first-child th,
  90. table thead:first-child tr:first-child td {
  91. border-top: 0;
  92. }
  93. table tbody + tbody {
  94. border-top: 2px solid #e5e5e5;
  95. }
  96. table {
  97. background-color: #f1f1f1;
  98. }
  99. table {
  100. border: 1px solid #e5e5e5;
  101. border-collapse: separate;
  102. *border-collapse: collapse;
  103. border-left: 0;
  104. -webkit-border-radius: 2px;
  105. -moz-border-radius: 2px;
  106. border-radius: 2px;
  107. }
  108. table th,
  109. table td {
  110. border-left: 1px solid #e5e5e5;
  111. border-bottom: 1px solid #FFFFFF!important;
  112. }
  113. table caption + thead tr:first-child th,
  114. table caption + tbody tr:first-child th,
  115. table caption + tbody tr:first-child td,
  116. table colgroup + thead tr:first-child th,
  117. table colgroup + tbody tr:first-child th,
  118. table colgroup + tbody tr:first-child td,
  119. table thead:first-child tr:first-child th,
  120. table tbody:first-child tr:first-child th,
  121. table tbody:first-child tr:first-child td {
  122. border-top: 0;
  123. }
  124. table thead:first-child tr:first-child > th:first-child,
  125. table tbody:first-child tr:first-child > td:first-child,
  126. table tbody:first-child tr:first-child > th:first-child {
  127. -webkit-border-top-left-radius: 2px;
  128. border-top-left-radius: 2px;
  129. -moz-border-radius-topleft: 2px;
  130. }
  131. table thead:first-child tr:first-child > th:last-child,
  132. table tbody:first-child tr:first-child > td:last-child,
  133. table tbody:first-child tr:first-child > th:last-child {
  134. -webkit-border-top-right-radius: 2px;
  135. border-top-right-radius: 2px;
  136. -moz-border-radius-topright: 2px;
  137. }
  138. table thead:last-child tr:last-child > th:first-child,
  139. table tbody:last-child tr:last-child > td:first-child,
  140. table tbody:last-child tr:last-child > th:first-child,
  141. table tfoot:last-child tr:last-child > td:first-child,
  142. table tfoot:last-child tr:last-child > th:first-child {
  143. -webkit-border-bottom-left-radius: 2px;
  144. border-bottom-left-radius: 2px;
  145. -moz-border-radius-bottomleft: 2px;
  146. }
  147. table thead:last-child tr:last-child > th:last-child,
  148. table tbody:last-child tr:last-child > td:last-child,
  149. table tbody:last-child tr:last-child > th:last-child,
  150. table tfoot:last-child tr:last-child > td:last-child,
  151. table tfoot:last-child tr:last-child > th:last-child {
  152. -webkit-border-bottom-right-radius: 2px;
  153. border-bottom-right-radius: 2px;
  154. -moz-border-radius-bottomright: 2px;
  155. }
  156. table tfoot + tbody:last-child tr:last-child td:first-child {
  157. -webkit-border-bottom-left-radius: 0;
  158. border-bottom-left-radius: 0;
  159. -moz-border-radius-bottomleft: 0;
  160. }
  161. table tfoot + tbody:last-child tr:last-child td:last-child {
  162. -webkit-border-bottom-right-radius: 0;
  163. border-bottom-right-radius: 0;
  164. -moz-border-radius-bottomright: 0;
  165. }
  166. table caption + thead tr:first-child th:first-child,
  167. table caption + tbody tr:first-child td:first-child,
  168. table colgroup + thead tr:first-child th:first-child,
  169. table colgroup + tbody tr:first-child td:first-child {
  170. -webkit-border-top-left-radius: 2px;
  171. border-top-left-radius: 2px;
  172. -moz-border-radius-topleft: 2px;
  173. }
  174. table caption + thead tr:first-child th:last-child,
  175. table caption + tbody tr:first-child td:last-child,
  176. table colgroup + thead tr:first-child th:last-child,
  177. table colgroup + tbody tr:first-child td:last-child {
  178. -webkit-border-top-right-radius: 2px;
  179. border-top-right-radius: 2px;
  180. -moz-border-radius-topright: 2px;
  181. }
  182. table tbody > tr:nth-child(odd) > td,
  183. table tbody > tr:nth-child(odd) > th {
  184. background-color: #f9f9f9;
  185. }
  186. table tbody tr:hover > td,
  187. table tbody tr:hover > th {
  188. background-color: #ffffff;
  189. }
  190. code,
  191. pre {
  192. padding: 0 3px 2px;
  193. font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
  194. font-size: 11px;
  195. color: #444444;
  196. -webkit-border-radius: 3px;
  197. -moz-border-radius: 3px;
  198. border-radius: 3px;
  199. }
  200. code {
  201. padding: 2px 4px;
  202. color: #d14;
  203. white-space: pre-line;
  204. background-color: #f7f7f9;
  205. border: 1px solid #e1e1e8;
  206. }
  207. pre {
  208. display: block;
  209. padding: 9.5px;
  210. margin: 14px;
  211. font-size: 12px;
  212. line-height: 20px;
  213. word-break: break-all;
  214. word-wrap: break-word;
  215. white-space: pre;
  216. white-space: pre-wrap;
  217. background-color: #f5f5f5;
  218. border: 1px solid #ccc;
  219. border: 1px solid rgba(0, 0, 0, 0.15);
  220. -webkit-border-radius: 2px;
  221. -moz-border-radius: 2px;
  222. border-radius: 2px;
  223. }
  224. .toc .section {
  225. border: none;
  226. }
  227. .toc {
  228. background-color: #F6F6F6;
  229. padding: 10px;
  230. position: fixed;
  231. top: 100px;
  232. overflow-y: auto;
  233. height: 100%;
  234. }
  235. .fixed2 {
  236. position: fixed;
  237. }
  238. .note {
  239. background-color: #fcf8e3;
  240. border: 1px solid #fbeed5;
  241. border-left-width: 5px;
  242. padding: 10px;
  243. }