ah_toc.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. @charset "UTF-8";
  2. /**
  3. * @file
  4. * TOC styles for advanced_help
  5. *
  6. * @copyright Ouest Systèmes Informatiques (OSInet)
  7. *
  8. * @license Licensed under the General Public License version 2 and later.
  9. *
  10. * $Id$
  11. */
  12. /**
  13. * Avoid having the TOC run into preformatted blocks if the initial block of
  14. * text is not high enough.
  15. *
  16. * This extends a rule in advanced_help/help.css
  17. */
  18. div.advanced-help-topic code, div.advanced-help-topic pre {
  19. clear: right;
  20. }
  21. div.ah-toc {
  22. border: thin solid silver;
  23. float: right;
  24. margin-left: 1em;
  25. margin-bottom: 0.5em;
  26. padding: 0;
  27. }
  28. div.ah-toc * {
  29. margin-bottom: 0 ;
  30. margin-top: 0;
  31. padding: 0;
  32. background: none; /* remove excess list formatting from themes like garland */
  33. }
  34. div.ah-toc div.ah-toc-title {
  35. border-bottom: solid thin silver;
  36. padding: 0.5em;
  37. text-align: center;
  38. font-weight: bold;
  39. }
  40. div.ah-toc .ah-toggle {
  41. float: right;
  42. font-size: smaller;
  43. font-weight: normal;
  44. margin-left: 1em;
  45. display: inline-block;
  46. }
  47. div.ah-toc ul {
  48. list-style-type: none;
  49. margin: 0.5em;
  50. }
  51. /**
  52. * h2 is not present in a normal page hierarchy.
  53. * Therefore h3 is at the first indent level too.
  54. */
  55. .ah-toc .h2 { margin-left: 0; }
  56. .ah-toc .h3 { margin-left: 0;}
  57. .ah-toc .h4 { margin-left: 1em; }
  58. .ah-toc .h5 { margin-left: 2em; }
  59. .ah-toc .h6 { margin-left: 3em; }
  60. .ah-toc .h7 { margin-left: 4em; }