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.

84 lines
1.6 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
  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. #dokuwiki__header .tools {
  27. float: right;
  28. text-align: right;
  29. }
  30. [dir=rtl] #dokuwiki__header .tools {
  31. float: left;
  32. text-align: left;
  33. }
  34. #dokuwiki__site .wrapper {
  35. position: relative;
  36. }
  37. #IE7 #dokuwiki__site .wrapper {
  38. height: 1%;
  39. }
  40. #dokuwiki__aside {
  41. width: __sidebar_width__;
  42. float: left;
  43. position: relative;
  44. display: block;
  45. }
  46. [dir=rtl] #dokuwiki__aside {
  47. float: right;
  48. }
  49. #dokuwiki__aside > .pad {
  50. margin: 0 1.5em 0 0;
  51. }
  52. [dir=rtl] #dokuwiki__aside > .pad {
  53. margin: 0 0 0 1.5em;
  54. }
  55. /* make content wider when there's no sidebar */
  56. .hasSidebar #dokuwiki__content {
  57. float: right;
  58. margin-left: -__sidebar_width__;
  59. width: 100%;
  60. }
  61. [dir=rtl] .hasSidebar #dokuwiki__content {
  62. float: left;
  63. margin-left: 0;
  64. margin-right: -__sidebar_width__;
  65. }
  66. .hasSidebar #dokuwiki__content > .pad {
  67. margin-left: __sidebar_width__;
  68. }
  69. [dir=rtl] .hasSidebar #dokuwiki__content > .pad {
  70. margin-left: 0;
  71. margin-right: __sidebar_width__;
  72. }
  73. #dokuwiki__footer {
  74. clear: both;
  75. }
  76. #dokuwiki__footer > .pad {
  77. }