kodoc.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. @import url('api.css');
  2. html { background: #00262f; font-size: 70%; }
  3. body { margin: 0; }
  4. ol ol, ol ul, ul ul, ul ol { margin-bottom: 0; }
  5. a img { border: 0; }
  6. h1 small,
  7. h2 small,
  8. h3 small,
  9. h4 small { font-weight: normal; font-size: 0.7em; }
  10. h5 small,
  11. h6 small { font-weight: normal; font-size: 0.8em; }
  12. dl dd { margin-left: 0; }
  13. code {
  14. color: #156d83;
  15. font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;
  16. }
  17. pre {
  18. background:#fff;
  19. border-radius:10px;
  20. padding:1.5em;
  21. font-size:0.9em;
  22. margin-top:1.5em;
  23. margin-bottom:1.5em;
  24. overflow:auto;
  25. }
  26. .highlighted div.line {
  27. font-size:1em;
  28. line-height:1.3 !important;
  29. }
  30. table {
  31. background:#eee;
  32. border-left: 1px solid #CCC;
  33. border-top: 1px solid #CCC;
  34. margin-bottom:1.5em;
  35. width: 100%;
  36. }
  37. table td, table th {
  38. padding:0.4em 0.8em;
  39. line-height:1.4286;
  40. border-right: 1px solid #CCC;
  41. border-bottom: 1px solid #CCC;
  42. }
  43. table th {
  44. background: #ddd;
  45. }
  46. table tr:nth-child(even) {
  47. background: #fff;
  48. }
  49. .caps { text-transform: uppercase; font-size: 0.8em; font-weight: normal; }
  50. .status { text-transform: lowercase; font-variant: small-caps; font-weight: bold; color: #911; }
  51. .container .colborder { border-color: #d3d8bc; }
  52. .note {
  53. padding: 1.5em;
  54. padding-left: 5em;
  55. background: #f7f7f7 url('../img/lightbulb_48.png') no-repeat 1em center;
  56. border-radius: 0.6em;
  57. overflow: auto;
  58. }
  59. h1 a.permalink,
  60. h2 a.permalink,
  61. h3 a.permalink,
  62. h4 a.permalink,
  63. h5 a.permalink,
  64. h6 a.permalink {
  65. font-size: 0.6em;
  66. line-height: 100%;
  67. vertical-align: middle;
  68. margin-left: 1em;
  69. padding: 0;
  70. font-weight: normal;
  71. display: none;
  72. position: inherit;
  73. }
  74. h1:hover a.permalink,
  75. h2:hover a.permalink,
  76. h3:hover a.permalink,
  77. h4:hover a.permalink,
  78. h5:hover a.permalink,
  79. h6:hover a.permalink {
  80. display: inline;
  81. }
  82. #kodoc-header,
  83. #kodoc-content,
  84. #kodoc-footer { float: left; clear: both; width: 100%; }
  85. #kodoc-header { padding: 20px 0 2em; background-color: #159957; background-image: linear-gradient(120deg, #155799, #159957);}
  86. #kodoc-logo { display: block; float: left; color: #fff; font-size: 3em; margin-left: 35px; text-decoration: none; font-weight: 600; line-height: 1.4em;}
  87. #kodoc-menu { float: right; margin-top: 24px; background: #113c32; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
  88. #kodoc-menu ul { float: left; margin: 0; padding: 0 0.5em 0 0; }
  89. #kodoc-menu li { display: block; float: left; margin: 0; padding: 0; }
  90. #kodoc-menu li.first { padding-left: 0.5em; }
  91. #kodoc-menu li a { display: block; height: 32px; line-height: 32px; padding: 0 0.8em; border-right: solid 1px #0f362d; border-left: solid 1px #144539; letter-spacing: 0.05em; text-decoration: none; text-transform: uppercase; color: #efefef; font-size: 90%; }
  92. #kodoc-menu li.first a { border-left: 0; }
  93. #kodoc-menu li.last a { border-right: 0; }
  94. #kodoc-menu li a:hover { background: #164e41; border-left-color: #195a4b; color: #fff; text-shadow: #fff 0 0 1px; }
  95. #kodoc-content { background: #fff; }
  96. #kodoc-content .wrapper { min-height: 390px; padding: 1em 0; background: #fff; }
  97. #kodoc-content div.page-toc { float: right; margin: 1em; margin-top: 0; padding: 1em; background: #fff; border: solid 0.1em #15935e; border-radius: 0.6em; }
  98. #kodoc-content p.intro { padding: 1em 20px; padding-left: 20px; margin: 0 -20px; font-size: 1.2em; }
  99. #kodoc-content a { color: #004352; }
  100. #kodoc-content a:hover { color: #00758f; }
  101. #kodoc-content a:active { text-decoration: none; }
  102. #kodoc-breadcrumb { margin: 0 0 1em; padding: 0 0 0.5em; list-style: none; border-bottom: solid 1px #15935e;}
  103. #kodoc-breadcrumb li { display: inline-block; margin: 0; padding: 0 0.4em 0 0; text-transform: uppercase; font-size: 11px; }
  104. #kodoc-breadcrumb li:before { content: '»'; padding-right: 0.4em; }
  105. #kodoc-breadcrumb li a { color: #999; text-decoration: none; }
  106. #kodoc-topics { }
  107. #kodoc-topics ul,
  108. #kodoc-topics ol { list-style-type:none; margin: 0; padding: 0;}
  109. #kodoc-topics ul li,
  110. #kodoc-topics ol li { margin:0; padding: 0; margin-left: 1em; }
  111. #kodoc-topics ul li a.current,
  112. #kodoc-topics ol li a.current { font-weight: bold; }
  113. #kodoc-topics span,
  114. #kodoc-topics a { display: block; padding: 0; margin: 0; }
  115. #kodoc-topics span { cursor: pointer; }
  116. #kodoc-topics span.toggle { display: block; float: left; width: 1em; padding-right: 0.4em; margin-left: -1.4em; text-align: center; }
  117. #kodoc-topics li span { cursor:pointer; }
  118. #kodoc-footer { padding: 1em 0; background: #00262f; color: #405c63; text-shadow: #00262f 0.1em 0.1em 1px; font-size: 0.9em; }
  119. #kodoc-footer a { color: #809397; }
  120. #kodoc-footer div.last { text-align: right; }