ah_toc.css 1.1 KB

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