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.

64 lines
1.3 KiB

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