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.

72 lines
1.4 KiB

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: 64em;
  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. #IE6 #dokuwiki__header .headings {
  24. width: 50%;
  25. }
  26. #dokuwiki__header .tools {
  27. float: right;
  28. text-align: right;
  29. }
  30. #IE6 #dokuwiki__header .tools {
  31. width: 50%;
  32. }
  33. #dokuwiki__site .wrapper {
  34. position: relative;
  35. }
  36. #IE6 #dokuwiki__site .wrapper,
  37. #IE7 #dokuwiki__site .wrapper {
  38. height: 1%;
  39. }
  40. /* show sidebar only in show mode */
  41. #dokuwiki__aside {
  42. display: none;
  43. }
  44. .mode_show #dokuwiki__aside {
  45. width: 16em;
  46. float: left;
  47. position: relative;
  48. display: block;
  49. }
  50. #dokuwiki__aside .pad {
  51. margin: 0 1.5em 0 0;
  52. }
  53. /* make content wider when there's no sidebar */
  54. .mode_show #dokuwiki__content {
  55. float: right;
  56. margin-left: -16em; /* left negative margin: width of sidebar (#dokuwiki__aside) */
  57. width: 100%;
  58. }
  59. .mode_show #dokuwiki__content .pad {
  60. margin-left: 16em; /* left positive margin: width of sidebar (#dokuwiki__aside) */
  61. }
  62. #dokuwiki__footer {
  63. clear: both;
  64. }
  65. #dokuwiki__footer .pad {
  66. }