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

theme_colors.css 4.6 kB

10 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. /*
  2. This is the color css for the theme. Colors are defined here instead of in the main file, so they can be easier adjusted.
  3. To adjust a color, you can change it below or opt for a separate css file to overwrite the color definition. Include that
  4. css file after this file in the page template.
  5. */
  6. a {
  7. color: #2980B9;
  8. }
  9. a:hover, a:visited:hover {
  10. color: #65bffa;
  11. }
  12. a:visited {
  13. color: #2980B9;
  14. }
  15. body {
  16. color: #404040;
  17. }
  18. code, pre.nocode {
  19. background: #fff;
  20. border: solid 1px #e1e4e5;
  21. }
  22. footer {
  23. color: #999;
  24. }
  25. hr {
  26. border-top-color: #e1e4e5;
  27. }
  28. input[type="text"] {
  29. border-color: #ccc;
  30. border-radius: 0;
  31. }
  32. ins {
  33. background: #ff9;
  34. color: #000;
  35. }
  36. label {
  37. color: #999;
  38. }
  39. mark {
  40. background: #ff0;
  41. color: #000;
  42. }
  43. /* #endregion*/
  44. /* #region general classes */
  45. .no-highlight {
  46. color: #333;
  47. }
  48. .toc-footer hr {
  49. border-color: #3e3a3a;
  50. }
  51. /* #endregion */
  52. /* #region Alert boxes*/
  53. .alert {
  54. background: #e7f2fa;
  55. }
  56. .alert-title {
  57. color: #fff;
  58. background: #6ab0de;
  59. }
  60. .alert.alert-danger {
  61. background: #fdf3f2;
  62. }
  63. .alert.alert-danger .alert-title {
  64. background: #f29f97;
  65. }
  66. .alert.alert-warning {
  67. background: #ffedcc;
  68. }
  69. .alert.alert-warning .alert-title {
  70. background: #f0b37e;
  71. }
  72. .alert.alert-info {
  73. background: #e7f2fa;
  74. }
  75. .alert.alert-info .alert-title {
  76. background: #6ab0de;
  77. }
  78. .alert.alert-neutral {
  79. background: #f3f6f6;
  80. }
  81. .alert.alert-neutral .alert-title {
  82. color: #404040;
  83. background: #e1e4e5;
  84. }
  85. .alert.alert-neutral a {
  86. color: #2980B9;
  87. }
  88. /* #endregion*/
  89. /* #region Tables*/
  90. .table caption {
  91. color: #000;
  92. }
  93. .table thead {
  94. color: #000;
  95. }
  96. .table thead th {
  97. border-bottom-color: #e1e4e5;
  98. }
  99. .table-secondary {
  100. color: gray;
  101. }
  102. .table-tertiary {
  103. color: gray;
  104. }
  105. .table-odd td, .table-striped tr:nth-child(2n-1) td {
  106. background-color: #f3f6f6;
  107. }
  108. .table-backed {
  109. background-color: #f3f6f6;
  110. }
  111. .table-bordered-all {
  112. border-color: #e1e4e5;
  113. }
  114. .table-bordered-all td {
  115. border-bottom-color: #e1e4e5;
  116. border-left-color: #e1e4e5;
  117. }
  118. .table-bordered {
  119. border-color: #e1e4e5;
  120. }
  121. .table-bordered-rows td {
  122. border-bottom-color: #e1e4e5;
  123. }
  124. .table-horizontal td, .table-horizontal th {
  125. border-bottom-color: #e1e4e5;
  126. }
  127. /* #endregion*/
  128. /* #region Breadcrumbs*/
  129. .breadcrumbs-extra {
  130. color: #b3b3b3;
  131. }
  132. /* #endregion*/
  133. /* #region Navigation */
  134. .menu-vertical header {
  135. color: #2980B9;
  136. }
  137. .menu-vertical ul.currentrelative, .menu-vertical ul.currentrelativeroot {
  138. background-color: #e3e3e3;
  139. }
  140. .menu-vertical li.current {
  141. background-color: #fff;
  142. }
  143. .menu-vertical ul.current {
  144. background-color: #3e3a3a;
  145. }
  146. .menu-vertical li.current a {
  147. color: #777;
  148. }
  149. .menu-vertical li.current.tocentry > a, .menu-vertical li.current > a {
  150. color: #444;
  151. }
  152. .menu-vertical li.current.tocentry ul li > a {
  153. color: #777;
  154. }
  155. .menu-vertical a {
  156. color: #ccc;
  157. }
  158. .menu-vertical a:hover, .menu-vertical li.on a:hover {
  159. color: #ccc;
  160. }
  161. .menu-vertical span, .menu-vertical span > a {
  162. color: #999;
  163. }
  164. .nav-side {
  165. background: #343131;
  166. }
  167. .nav-top {
  168. background: #2980B9;
  169. color: #fff;
  170. }
  171. .nav-top a {
  172. color: #fff;
  173. }
  174. .nav-top img {
  175. background-color: #2980B9;
  176. }
  177. .nav-content-wrap {
  178. background: #fcfcfc;
  179. }
  180. .side-nav-search {
  181. background-color: #2980B9;
  182. color: #fcfcfc;
  183. }
  184. .side-nav-search input[type=text] {
  185. border-color: #2472a4;
  186. }
  187. .side-nav-search img {
  188. background-color: #2980B9;
  189. }
  190. .side-nav-search > a, .side-nav-search .dropdown > a {
  191. color: #fcfcfc;
  192. }
  193. .side-nav-search > a:hover, .side-nav-search .dropdown > a:hover {
  194. background: rgba(255,255,255,0.1);
  195. }
  196. .nav .menu-vertical a {
  197. color: #b3b3b3;
  198. }
  199. /* #endregion*/
  200. /* #region Tabs*/
  201. /*
  202. Tab CSS by Joseph Fusco. http://codepen.io/fusco/pen/Wvzjrm, slightly adjusted to remove the round corners.
  203. Shadow colors are defined in theme.css, as they can only be defined with the shadow definition directly.
  204. */
  205. .tab-wrap {
  206. background-color: #fff;
  207. }
  208. .tab:checked + label {
  209. background-color: #fff;
  210. }
  211. .tab + label {
  212. color: #222;
  213. background-color: #f2f2f2;
  214. }
  215. .tab + label:hover {
  216. background-color: #f9f9f9;
  217. }
  218. /* #endregion*/
  219. /* #region media queries*/
  220. @media screen and (max-width: 768px) {
  221. .body-for-nav {
  222. background: #fcfcfc;
  223. }
  224. }
  225. @media screen and (min-width: 1400px) {
  226. .nav-content-wrap {
  227. background: rgba(0,0,0,0.05);
  228. }
  229. .nav-content {
  230. background: #fcfcfc;
  231. }
  232. }
  233. /* #endregion */
  234. /* #region Search results */
  235. #search-results .search li {
  236. border-bottom-color: #e1e4e5;
  237. }
  238. #search-results .search li:first-child {
  239. border-top-color: #e1e4e5;
  240. }
  241. #search-results .context {
  242. color: gray;
  243. }
  244. #mkdocs-search-results article h3
  245. {
  246. border-top-color: #E1E4E5;
  247. }
  248. #mkdocs-search-query{
  249. border-color: #D1D4D5;
  250. }
  251. /* #endregion */