style.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. /* Customized EDoc style sheet */
  2. * {
  3. box-sizing: border-box;
  4. }
  5. body {
  6. font: 16px/1.6 "Helvetica Neue",Helvetica,"Segoe UI",Arial,freesans,sans-serif;
  7. color: #333;
  8. padding: 30px;
  9. background-color: #ffffff;
  10. font-size:1.0em;
  11. }
  12. body > :first-child {
  13. margin-top: 0 !important;
  14. }
  15. h1, h2, h3, h4, h5, h6 {
  16. position: relative;
  17. margin-top: 1em;
  18. margin-bottom: 16px;
  19. font-weight: bold;
  20. line-height: 1.4;
  21. }
  22. h1 {
  23. margin-top: 1em;
  24. padding-bottom: 0.3em;
  25. font-size: 2.25em;
  26. line-height: 1.2;
  27. border-bottom: 1px solid #EEE;
  28. }
  29. h2 {
  30. padding-bottom: 0.3em;
  31. font-size: 1.75em;
  32. line-height: 1.225;
  33. border-bottom: 1px solid #EEE;
  34. }
  35. h3 {
  36. font-size: 1.5em;
  37. line-height: 1.43;
  38. }
  39. div.navbar {
  40. padding: 0.2em 0.3em 0.2em 1em;
  41. margin: 1em 0;
  42. border: solid 1px #ddd;
  43. background-color: #f5f5f5;
  44. border-radius: 3px;
  45. }
  46. h2.indextitle {
  47. margin-top: 0;
  48. margin-left: -20px;
  49. margin-right: -20px;
  50. }
  51. h3.function, h3.typedecl {
  52. font-family: Consolas,"Liberation Mono",Menlo,Courier,monospace;
  53. font-size: 1.1em;
  54. }
  55. div.spec {
  56. padding: 5px;
  57. background-color: #eee;
  58. border-radius: 3px;
  59. }
  60. div.spec p {
  61. margin: 0
  62. }
  63. a:link, a:visited {
  64. color: #4183C4;
  65. text-decoration: none;
  66. }
  67. a:hover {
  68. text-decoration: underline;
  69. }
  70. h2 a, h3 a, h4 a, h5 a, h6 a {
  71. color: #333;
  72. text-decoration: none !important;
  73. }
  74. a.module,a.package {
  75. text-decoration:none
  76. }
  77. a.module:hover,a.package:hover {
  78. background-color: #eeeeee;
  79. }
  80. ul.definitions {
  81. list-style-type: none;
  82. }
  83. ul.index {
  84. /*list-style-type: none;
  85. background-color: #eeeeee;*/
  86. }
  87. hr {
  88. display: none;
  89. }
  90. table tr:nth-child(2n) {
  91. background-color: #fafafa;
  92. }
  93. table th, table td {
  94. padding: 6px 13px;
  95. border: 1px solid #ddd;
  96. }
  97. table[border="0"] td {
  98. /* design elements in footer etc */
  99. padding: 0;
  100. border: none;
  101. }
  102. table[border="0"] tr {
  103. background-color: transparent;
  104. }
  105. table[summary="list of modules"] {
  106. margin: 0 -20px;
  107. }
  108. table[summary="list of modules"] td {
  109. border: none;
  110. padding: 2px 0;
  111. }
  112. ul {
  113. /*list-style-type: square;*/
  114. }
  115. table {
  116. border-collapse: collapse;
  117. }
  118. td {
  119. padding: 3px
  120. }
  121. code, tt {
  122. font: 12px Consolas,"Liberation Mono",Menlo,Courier,monospace;
  123. padding: 0.2em 0px;
  124. margin: 0;
  125. font-size: 85%;
  126. background-color: #eee;
  127. border-radius: 3px;
  128. text-shadow: 1px 1px 0 #fff;
  129. }