docbook-toc.css 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /* @@TITLE@@ version @@VERSION@@
  2. *
  3. * This is docbook-toc.css.
  4. *
  5. * See https://xsltng.docbook.org/
  6. *
  7. */
  8. nav.tocopen {
  9. position: fixed;
  10. top: 2px;
  11. right: 1em;
  12. color: inherit;
  13. z-index: 1;
  14. cursor: pointer;
  15. font-size: 14pt;
  16. display: none;
  17. }
  18. nav.toc {
  19. border-left: 1px solid var(--border-grey);
  20. color: black;
  21. height: 100%;
  22. width: 0;
  23. position: fixed;
  24. z-index: 2;
  25. top: 0;
  26. right: 0;
  27. overflow-x: scroll;
  28. background-color: var(--nav-background-color);
  29. padding: 0;
  30. margin: 0;
  31. font-size: 12pt;
  32. opacity: 1;
  33. padding-left: 0;
  34. }
  35. nav.toc.slide {
  36. transition: 0.33s;
  37. }
  38. nav.toc header {
  39. height: 40px;
  40. font-family: "Noto Sans", sans-serif;
  41. font-size: 1.25em;
  42. }
  43. nav.toc header .close {
  44. float: right;
  45. cursor: pointer;
  46. font-weight: bold;
  47. font-size: 16pt;
  48. }
  49. nav.toc div {
  50. overflow: scroll;
  51. height: calc(100% - 40px);
  52. }
  53. nav.toc a,
  54. nav.toc a:visited {
  55. color: inherit;
  56. text-decoration: none;
  57. }
  58. nav.toc .refpurpose {
  59. display: none;
  60. }
  61. nav.toc li {
  62. text-indent: -1em;
  63. padding-left: 1em;
  64. }