style.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458
  1. body
  2. {
  3. font-family: cantarell, sans-serif;
  4. }
  5. .synopsis, .classsynopsis
  6. {
  7. /* tango:aluminium 1/2 */
  8. background: #eeeeec;
  9. background: rgba(238, 238, 236, 0.5);
  10. border: solid 1px rgb(238, 238, 236);
  11. padding: 0.5em;
  12. }
  13. .programlisting
  14. {
  15. /* tango:sky blue 0/1 */
  16. /* fallback for no rgba support */
  17. background: #e6f3ff;
  18. border: solid 1px #729fcf;
  19. background: rgba(114, 159, 207, 0.1);
  20. border: solid 1px rgba(114, 159, 207, 0.2);
  21. padding: 0.5em;
  22. }
  23. .variablelist
  24. {
  25. padding: 4px;
  26. margin-left: 3em;
  27. }
  28. .variablelist td:first-child
  29. {
  30. vertical-align: top;
  31. }
  32. span.nowrap {
  33. white-space: nowrap;
  34. }
  35. div.gallery-float
  36. {
  37. float: left;
  38. padding: 10px;
  39. }
  40. div.gallery-float img
  41. {
  42. border-style: none;
  43. }
  44. div.gallery-spacer
  45. {
  46. clear: both;
  47. }
  48. a, a:visited
  49. {
  50. text-decoration: none;
  51. /* tango:sky blue 2 */
  52. color: #3465a4;
  53. }
  54. a:hover
  55. {
  56. text-decoration: underline;
  57. /* tango:sky blue 1 */
  58. color: #729fcf;
  59. }
  60. .function_type,
  61. .variable_type,
  62. .property_type,
  63. .signal_type,
  64. .parameter_name,
  65. .struct_member_name,
  66. .union_member_name,
  67. .define_keyword,
  68. .datatype_keyword,
  69. .typedef_keyword
  70. {
  71. text-align: right;
  72. }
  73. /* dim non-primary columns */
  74. .c_punctuation,
  75. .function_type,
  76. .variable_type,
  77. .property_type,
  78. .signal_type,
  79. .define_keyword,
  80. .datatype_keyword,
  81. .typedef_keyword,
  82. .property_flags,
  83. .signal_flags,
  84. .parameter_annotations,
  85. .enum_member_annotations,
  86. .struct_member_annotations,
  87. .union_member_annotations
  88. {
  89. color: #888a85;
  90. }
  91. .function_type a,
  92. .function_type a:visited,
  93. .function_type a:hover,
  94. .property_type a,
  95. .property_type a:visited,
  96. .property_type a:hover,
  97. .signal_type a,
  98. .signal_type a:visited,
  99. .signal_type a:hover,
  100. .signal_flags a,
  101. .signal_flags a:visited,
  102. .signal_flags a:hover
  103. {
  104. color: #729fcf;
  105. }
  106. td p
  107. {
  108. margin: 0.25em;
  109. }
  110. div.informaltable table[border="1"],
  111. div.table table
  112. {
  113. border-collapse: collapse;
  114. border-spacing: 0px;
  115. /* tango:aluminium 3 */
  116. border: solid 1px #babdb6;
  117. }
  118. div.informaltable table[border="1"] td,
  119. div.informaltable table th,
  120. div.table table td, div.table table th
  121. {
  122. /* tango:aluminium 3 */
  123. border: solid 1px #babdb6;
  124. padding: 3px;
  125. vertical-align: top;
  126. }
  127. div.informaltable table[border="1"] th,
  128. div.table table th
  129. {
  130. /* tango:aluminium 2 */
  131. background-color: #d3d7cf;
  132. }
  133. h4
  134. {
  135. color: #555753;
  136. margin-top: 1em;
  137. margin-bottom: 1em;
  138. }
  139. hr
  140. {
  141. /* tango:aluminium 1 */
  142. color: #d3d7cf;
  143. background: #d3d7cf;
  144. border: none 0px;
  145. height: 1px;
  146. clear: both;
  147. margin: 2.0em 0em 2.0em 0em;
  148. }
  149. dl.toc dt
  150. {
  151. padding-bottom: 0.25em;
  152. }
  153. dl.toc > dt
  154. {
  155. padding-top: 0.25em;
  156. padding-bottom: 0.25em;
  157. font-weight: bold;
  158. }
  159. dl.toc > dl
  160. {
  161. padding-bottom: 0.5em;
  162. }
  163. .parameter
  164. {
  165. font-style: normal;
  166. }
  167. .footer
  168. {
  169. padding-top: 3.5em;
  170. /* tango:aluminium 3 */
  171. color: #babdb6;
  172. text-align: center;
  173. font-size: 80%;
  174. }
  175. .informalfigure,
  176. .figure
  177. {
  178. margin: 1em;
  179. }
  180. .informalexample,
  181. .example
  182. {
  183. margin-top: 1em;
  184. margin-bottom: 1em;
  185. }
  186. .warning
  187. {
  188. /* tango:orange 0/1 */
  189. background: #ffeed9;
  190. background: rgba(252, 175, 62, 0.1);
  191. border-color: #ffb04f;
  192. border-color: rgba(252, 175, 62, 0.2);
  193. }
  194. .note
  195. {
  196. /* tango:chameleon 0/0.5 */
  197. background: #d8ffb2;
  198. background: rgba(138, 226, 52, 0.1);
  199. border-color: #abf562;
  200. border-color: rgba(138, 226, 52, 0.2);
  201. }
  202. div.blockquote
  203. {
  204. border-color: #eeeeec;
  205. }
  206. .note, .warning, div.blockquote
  207. {
  208. padding: 0.5em;
  209. border-width: 1px;
  210. border-style: solid;
  211. margin: 2em;
  212. }
  213. .note p, .warning p
  214. {
  215. margin: 0;
  216. }
  217. div.warning h3.title,
  218. div.note h3.title
  219. {
  220. display: none;
  221. }
  222. p + div.section
  223. {
  224. margin-top: 1em;
  225. }
  226. div.refnamediv,
  227. div.refsynopsisdiv,
  228. div.refsect1,
  229. div.refsect2,
  230. div.toc,
  231. div.section
  232. {
  233. margin-bottom: 1em;
  234. }
  235. /* blob links */
  236. h2 .extralinks, h3 .extralinks
  237. {
  238. float: right;
  239. /* tango:aluminium 3 */
  240. color: #babdb6;
  241. font-size: 80%;
  242. font-weight: normal;
  243. }
  244. .lineart
  245. {
  246. color: #d3d7cf;
  247. font-weight: normal;
  248. }
  249. .annotation
  250. {
  251. /* tango:aluminium 5 */
  252. color: #555753;
  253. font-weight: normal;
  254. }
  255. .structfield
  256. {
  257. font-style: normal;
  258. font-weight: normal;
  259. }
  260. acronym,abbr
  261. {
  262. border-bottom: 1px dotted gray;
  263. }
  264. .listing_frame {
  265. /* tango:sky blue 1 */
  266. border: solid 1px #729fcf;
  267. border: solid 1px rgba(114, 159, 207, 0.2);
  268. padding: 0px;
  269. }
  270. .listing_lines, .listing_code {
  271. margin-top: 0px;
  272. margin-bottom: 0px;
  273. padding: 0.5em;
  274. }
  275. .listing_lines {
  276. /* tango:sky blue 0.5 */
  277. background: #a6c5e3;
  278. background: rgba(114, 159, 207, 0.2);
  279. /* tango:aluminium 6 */
  280. color: #2e3436;
  281. }
  282. .listing_code {
  283. /* tango:sky blue 0 */
  284. background: #e6f3ff;
  285. background: rgba(114, 159, 207, 0.1);
  286. }
  287. .listing_code .programlisting {
  288. /* override from previous */
  289. border: none 0px;
  290. padding: 0px;
  291. background: none;
  292. }
  293. .listing_lines pre, .listing_code pre {
  294. margin: 0px;
  295. }
  296. @media screen {
  297. /* these have a <sup> as a first child, but since there are no parent selectors
  298. * we can't use that. */
  299. a.footnote
  300. {
  301. position: relative;
  302. top: 0em ! important;
  303. }
  304. /* this is needed so that the local anchors are displayed below the naviagtion */
  305. div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name]
  306. {
  307. display: inline-block;
  308. position: relative;
  309. top:-5em;
  310. }
  311. /* this seems to be a bug in the xsl style sheets when generating indexes */
  312. div.index div.index
  313. {
  314. top: 0em;
  315. }
  316. /* make space for the fixed navigation bar and add space at the bottom so that
  317. * link targets appear somewhat close to top
  318. */
  319. body
  320. {
  321. padding-top: 2.5em;
  322. padding-bottom: 500px;
  323. max-width: 60em;
  324. }
  325. p
  326. {
  327. max-width: 60em;
  328. }
  329. /* style and size the navigation bar */
  330. table.navigation#top
  331. {
  332. position: fixed;
  333. background: #e2e2e2;
  334. border-bottom: solid 1px #babdb6;
  335. border-spacing: 5px;
  336. margin-top: 0;
  337. margin-bottom: 0;
  338. top: 0;
  339. left: 0;
  340. z-index: 10;
  341. }
  342. table.navigation#top td
  343. {
  344. padding-left: 6px;
  345. padding-right: 6px;
  346. }
  347. .navigation a, .navigation a:visited
  348. {
  349. /* tango:sky blue 3 */
  350. color: #204a87;
  351. }
  352. .navigation a:hover
  353. {
  354. /* tango:sky blue 2 */
  355. color: #3465a4;
  356. }
  357. td.shortcuts
  358. {
  359. /* tango:sky blue 2 */
  360. color: #3465a4;
  361. font-size: 80%;
  362. white-space: nowrap;
  363. }
  364. td.shortcuts .dim
  365. {
  366. color: #babdb6;
  367. }
  368. .navigation .title
  369. {
  370. font-size: 80%;
  371. max-width: none;
  372. margin: 0px;
  373. font-weight: normal;
  374. }
  375. }
  376. @media screen and (min-width: 60em) {
  377. /* screen larger than 60em */
  378. body { margin: auto; }
  379. }
  380. @media screen and (max-width: 60em) {
  381. /* screen less than 60em */
  382. #nav_hierarchy { display: none; }
  383. #nav_interfaces { display: none; }
  384. #nav_prerequisites { display: none; }
  385. #nav_derived_interfaces { display: none; }
  386. #nav_implementations { display: none; }
  387. #nav_child_properties { display: none; }
  388. #nav_style_properties { display: none; }
  389. #nav_index { display: none; }
  390. #nav_glossary { display: none; }
  391. .gallery_image { display: none; }
  392. .property_flags { display: none; }
  393. .signal_flags { display: none; }
  394. .parameter_annotations { display: none; }
  395. .enum_member_annotations { display: none; }
  396. .struct_member_annotations { display: none; }
  397. .union_member_annotations { display: none; }
  398. /* now that a column is hidden, optimize space */
  399. col.parameters_name { width: auto; }
  400. col.parameters_description { width: auto; }
  401. col.struct_members_name { width: auto; }
  402. col.struct_members_description { width: auto; }
  403. col.enum_members_name { width: auto; }
  404. col.enum_members_description { width: auto; }
  405. col.union_members_name { width: auto; }
  406. col.union_members_description { width: auto; }
  407. .listing_lines { display: none; }
  408. }
  409. @media print {
  410. table.navigation {
  411. visibility: collapse;
  412. display: none;
  413. }
  414. div.titlepage table.navigation {
  415. visibility: visible;
  416. display: table;
  417. background: #e2e2e2;
  418. border: solid 1px #babdb6;
  419. margin-top: 0;
  420. margin-bottom: 0;
  421. top: 0;
  422. left: 0;
  423. height: 3em;
  424. }
  425. }