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.

102 lines
2.3 KiB

  1. /**
  2. * This file provides the main design styles for the page content.
  3. *
  4. * @author Anika Henke <anika@selfthinker.org>
  5. * @author Andreas Gohr <andi@splitbrain.org>
  6. */
  7. /*____________ section indenting ____________
  8. .dokuwiki.page h1 {margin-left: 0;}
  9. .dokuwiki.page h2 {margin-left: .666em;}
  10. .dokuwiki.page h3 {margin-left: 1.776em;}
  11. .dokuwiki.page h4 {margin-left: 3em;}
  12. .dokuwiki.page h5 {margin-left: 4.5712em;}
  13. .dokuwiki.page div.level1 {margin-left: 0;}
  14. .dokuwiki.page div.level2 {margin-left: 1em;}
  15. .dokuwiki.page div.level3 {margin-left: 2em;}
  16. .dokuwiki.page div.level4 {margin-left: 3em;}
  17. .dokuwiki.page div.level5 {margin-left: 4em;}
  18. */
  19. /* hx margin-left = (1 / font-size) * .levelx-margin */
  20. /*____________ images ____________*/
  21. /* embedded images (styles are already partly set in lib/styles/style.css) */
  22. .dokuwiki img.media { }
  23. .dokuwiki img.medialeft { margin: .5em 1.5em .5em 0; }
  24. .dokuwiki img.mediaright { margin: .5em 0 .5em 1.5em; }
  25. .dokuwiki img.mediacenter { margin: .5em auto; }
  26. /*____________ tables ____________*/
  27. .dokuwiki table.inline {
  28. min-width: 50%;
  29. }
  30. .dokuwiki table.inline th,
  31. .dokuwiki table.inline td {
  32. border: 1px solid __text_alt__;
  33. }
  34. .dokuwiki table.inline th {
  35. color: inherit;
  36. background-color: __background_neu__;
  37. }
  38. .dokuwiki table.inline td {
  39. }
  40. .dokuwiki table.inline tr:hover td {
  41. background-color: __background_alt__;
  42. }
  43. .dokuwiki table.inline tr:hover th {
  44. background-color: __border__;
  45. }
  46. /*____________ code ____________*/
  47. .dokuwiki pre,
  48. .dokuwiki tt,
  49. .dokuwiki code,
  50. .dokuwiki samp,
  51. .dokuwiki kbd {
  52. background-color: __background_alt__;
  53. color: inherit;
  54. }
  55. /* fix if background-color hides underlining */
  56. .dokuwiki em.u code {
  57. text-decoration: underline;
  58. }
  59. .dokuwiki pre {
  60. border: 1px solid __border__;
  61. padding: 0 .2em;
  62. }
  63. /* for code in <file> */
  64. .dokuwiki pre.file {
  65. }
  66. /* filenames for downloadable file and code blocks */
  67. .dokuwiki dl.code,
  68. .dokuwiki dl.file {
  69. }
  70. .dokuwiki dl.code dt,
  71. .dokuwiki dl.file dt {
  72. background-color: __background_alt__;
  73. border: solid __border__;
  74. border-width: 1px 1px 0;
  75. color: inherit;
  76. display: inline;
  77. padding: 0 .5em;
  78. margin-left: 1em;
  79. }
  80. .dokuwiki dl.code dt a,
  81. .dokuwiki dl.file dt a {
  82. }
  83. .dokuwiki dl.code dd,
  84. .dokuwiki dl.file dd {
  85. margin: 0;
  86. }