You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
1.9 KiB

14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
  1. /**
  2. * This file provides styles for the general layout structure.
  3. *
  4. * @author Anika Henke <anika@selfthinker.org>
  5. */
  6. body {
  7. margin: 0 auto;
  8. }
  9. #dokuwiki__site {
  10. margin: 0 auto;
  11. max-width: __site_width__;
  12. padding: 1.4em 1em;
  13. }
  14. #dokuwiki__site > .site {
  15. }
  16. #dokuwiki__header {
  17. }
  18. #dokuwiki__header > .pad {
  19. }
  20. #dokuwiki__header .headings {
  21. float: left;
  22. }
  23. [dir=rtl] #dokuwiki__header .headings {
  24. float: right;
  25. }
  26. #IE6 #dokuwiki__header .headings {
  27. width: 50%;
  28. }
  29. #dokuwiki__header .tools {
  30. float: right;
  31. text-align: right;
  32. }
  33. [dir=rtl] #dokuwiki__header .tools {
  34. float: left;
  35. text-align: left;
  36. }
  37. #IE6 #dokuwiki__header .tools {
  38. width: 50%;
  39. }
  40. #dokuwiki__site .wrapper {
  41. position: relative;
  42. }
  43. #IE6 #dokuwiki__site .wrapper,
  44. #IE7 #dokuwiki__site .wrapper {
  45. height: 1%;
  46. }
  47. /* show sidebar only in show mode */
  48. #dokuwiki__aside {
  49. display: none;
  50. }
  51. .mode_show #dokuwiki__aside {
  52. width: __sidebar_width__;
  53. float: left;
  54. position: relative;
  55. display: block;
  56. }
  57. [dir=rtl] .mode_show #dokuwiki__aside {
  58. float: right;
  59. }
  60. #dokuwiki__aside > .pad {
  61. margin: 0 1.5em 0 0;
  62. }
  63. [dir=rtl] #dokuwiki__aside > .pad {
  64. margin: 0 0 0 1.5em;
  65. }
  66. /* make content wider when there's no sidebar */
  67. .mode_show #dokuwiki__content {
  68. float: right;
  69. margin-left: -__sidebar_width__;
  70. width: 100%;
  71. }
  72. [dir=rtl] .mode_show #dokuwiki__content {
  73. float: left;
  74. margin-left: 0;
  75. margin-right: -__sidebar_width__;
  76. }
  77. .mode_show #dokuwiki__content > .pad {
  78. margin-left: __sidebar_width__;
  79. }
  80. [dir=rtl] .mode_show #dokuwiki__content > .pad {
  81. margin-left: 0;
  82. margin-right: __sidebar_width__;
  83. }
  84. #dokuwiki__footer {
  85. clear: both;
  86. }
  87. #dokuwiki__footer > .pad {
  88. }