Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

292 строки
5.0 KiB

  1. /* Copied from http://bakefile.sourceforge.net/, which appears
  2. licensed under the GNU GPL. */
  3. /***************************************************************************
  4. Basic headers and text:
  5. ***************************************************************************/
  6. body
  7. {
  8. font-family: "Nimbus Sans L", sans-serif;
  9. font-size: 1em;
  10. background: white;
  11. margin: 2em 1em 2em 1em;
  12. }
  13. h1, h2, h3, h4
  14. {
  15. color: #005aa0;
  16. }
  17. h1 /* title */
  18. {
  19. font-size: 200%;
  20. }
  21. h2 /* chapters, appendices, subtitle */
  22. {
  23. font-size: 180%;
  24. }
  25. div.book
  26. {
  27. text-align: center;
  28. }
  29. div.book > div
  30. {
  31. /*
  32. * based on https://medium.com/@zkareemz/golden-ratio-62b3b6d4282a
  33. * we do 70 characters per line to fit code listings better
  34. * 70 * (font-size / 1.618)
  35. * expression for emacs:
  36. * (* 70 (/ 1 1.618))
  37. */
  38. max-width: 43.2em;
  39. text-align: left;
  40. margin: auto;
  41. }
  42. /* Extra space between chapters, appendices. */
  43. div.chapter > div.titlepage h2, div.appendix > div.titlepage h2
  44. {
  45. margin-top: 1.5em;
  46. }
  47. div.section > div.titlepage h2 /* sections */
  48. {
  49. font-size: 150%;
  50. margin-top: 1.5em;
  51. }
  52. h3 /* subsections */
  53. {
  54. font-size: 125%;
  55. }
  56. div.simplesect h2
  57. {
  58. font-size: 110%;
  59. }
  60. div.appendix h3
  61. {
  62. font-size: 150%;
  63. margin-top: 1.5em;
  64. }
  65. div.refnamediv h2, div.refsynopsisdiv h2, div.refsection h2 /* refentry parts */
  66. {
  67. margin-top: 1.4em;
  68. font-size: 125%;
  69. }
  70. div.refsection h3
  71. {
  72. font-size: 110%;
  73. }
  74. /***************************************************************************
  75. Examples:
  76. ***************************************************************************/
  77. div.example
  78. {
  79. border: 1px solid #b0b0b0;
  80. padding: 6px 6px;
  81. margin-left: 1.5em;
  82. margin-right: 1.5em;
  83. background: #f4f4f8;
  84. border-radius: 0.4em;
  85. box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
  86. }
  87. div.example p.title
  88. {
  89. margin-top: 0em;
  90. }
  91. div.example pre
  92. {
  93. box-shadow: none;
  94. }
  95. /***************************************************************************
  96. Screen dumps:
  97. ***************************************************************************/
  98. pre.screen, pre.programlisting
  99. {
  100. border: 1px solid #b0b0b0;
  101. padding: 3px 3px;
  102. margin-left: 0.5em;
  103. margin-right: 0.5em;
  104. background: #f4f4f8;
  105. font-family: monospace;
  106. border-radius: 0.4em;
  107. box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
  108. }
  109. div.example pre.programlisting
  110. {
  111. border: 0px;
  112. padding: 0 0;
  113. margin: 0 0 0 0;
  114. }
  115. /***************************************************************************
  116. Notes, warnings etc:
  117. ***************************************************************************/
  118. .note, .warning
  119. {
  120. border: 1px solid #b0b0b0;
  121. padding: 3px 3px;
  122. margin-left: 1.5em;
  123. margin-right: 1.5em;
  124. margin-bottom: 1em;
  125. padding: 0.3em 0.3em 0.3em 0.3em;
  126. background: #fffff5;
  127. border-radius: 0.4em;
  128. box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
  129. }
  130. div.note, div.warning
  131. {
  132. font-style: italic;
  133. }
  134. div.note h3, div.warning h3
  135. {
  136. color: red;
  137. font-size: 100%;
  138. padding-right: 0.5em;
  139. display: inline;
  140. }
  141. div.note p, div.warning p
  142. {
  143. margin-bottom: 0em;
  144. }
  145. div.note h3 + p, div.warning h3 + p
  146. {
  147. display: inline;
  148. }
  149. div.note h3
  150. {
  151. color: blue;
  152. font-size: 100%;
  153. }
  154. div.navfooter *
  155. {
  156. font-size: 90%;
  157. }
  158. /***************************************************************************
  159. Links colors and highlighting:
  160. ***************************************************************************/
  161. a { text-decoration: none; }
  162. a:hover { text-decoration: underline; }
  163. a:link { color: #0048b3; }
  164. a:visited { color: #002a6a; }
  165. /***************************************************************************
  166. Table of contents:
  167. ***************************************************************************/
  168. div.toc
  169. {
  170. font-size: 90%;
  171. }
  172. div.toc dl
  173. {
  174. margin-top: 0em;
  175. margin-bottom: 0em;
  176. }
  177. /***************************************************************************
  178. Special elements:
  179. ***************************************************************************/
  180. tt, code
  181. {
  182. color: #400000;
  183. }
  184. .term
  185. {
  186. font-weight: bold;
  187. }
  188. div.variablelist dd p, div.glosslist dd p
  189. {
  190. margin-top: 0em;
  191. }
  192. div.variablelist dd, div.glosslist dd
  193. {
  194. margin-left: 1.5em;
  195. }
  196. div.glosslist dt
  197. {
  198. font-style: italic;
  199. }
  200. .varname
  201. {
  202. color: #400000;
  203. }
  204. span.command strong
  205. {
  206. font-weight: normal;
  207. color: #400000;
  208. }
  209. div.calloutlist table
  210. {
  211. box-shadow: none;
  212. }
  213. table
  214. {
  215. border-collapse: collapse;
  216. box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
  217. }
  218. table.simplelist
  219. {
  220. text-align: left;
  221. color: #005aa0;
  222. border: 0;
  223. padding: 5px;
  224. background: #fffff5;
  225. font-weight: normal;
  226. font-style: italic;
  227. box-shadow: none;
  228. margin-bottom: 1em;
  229. }
  230. div.navheader table, div.navfooter table {
  231. box-shadow: none;
  232. }
  233. div.affiliation
  234. {
  235. font-style: italic;
  236. }