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 8 9/*____________ section indenting ____________ 10 11.dokuwiki.page h1 { 12 margin-left: 0; 13} 14.dokuwiki.page div.level1 { 15 margin-left: 0; 16} 17.dokuwiki.page h2 { 18 margin-left: .666em; 19} 20.dokuwiki.page div.level2 { 21 margin-left: 1em; 22} 23.dokuwiki.page h3 { 24 margin-left: 1.776em; 25} 26.dokuwiki.page div.level3 { 27 margin-left: 2em; 28} 29.dokuwiki.page h4 { 30 margin-left: 3em; 31} 32.dokuwiki.page div.level4 { 33 margin-left: 3em; 34} 35.dokuwiki.page h5 { 36 margin-left: 4.5712em; 37} 38.dokuwiki.page div.level5 { 39 margin-left: 4em; 40} 41*/ 42/* hx margin-left = (1 / font-size) * .levelx-margin */ 43 44 45/*____________ images ____________*/ 46 47/* embedded images (styles are already partly set in DokuWiki's lib/styles/all.css) */ 48.dokuwiki img.media { 49} 50.dokuwiki img.medialeft { 51 margin: .5em 1.5em .5em 0; 52} 53.dokuwiki img.mediaright { 54 margin: .5em 0 .5em 1.5em; 55} 56.dokuwiki img.mediacenter { 57 margin: .5em auto; 58} 59 60 61/*____________ tables ____________*/ 62 63.dokuwiki table.inline { 64 min-width: 50%; 65} 66.dokuwiki table.inline th, 67.dokuwiki table.inline td { 68 border: 1px solid __text_alt__; 69} 70.dokuwiki table.inline th { 71 color: inherit; 72 background-color: __background_neu__; 73} 74.dokuwiki table.inline td { 75} 76.dokuwiki table.inline tr:hover td { 77 background-color: __background_alt__; 78} 79.dokuwiki table.inline tr:hover th { 80 background-color: __border__; 81} 82 83 84/*____________ code ____________*/ 85 86.dokuwiki pre, 87.dokuwiki tt, 88.dokuwiki code, 89.dokuwiki samp, 90.dokuwiki kbd { 91 background-color: __background_alt__; 92 color: __text__; 93} 94/* fix if background-color hides underlining */ 95.dokuwiki em.u code { 96 text-decoration: underline; 97} 98.dokuwiki pre { 99 border: 1px solid __border__; 100 padding: 0 .2em; 101} 102/* for code in <file> */ 103.dokuwiki pre.file { 104} 105 106/* filenames for downloadable file and code blocks */ 107.dokuwiki dl.code, 108.dokuwiki dl.file { 109} 110 111.dokuwiki dl.code dt, 112.dokuwiki dl.file dt { 113 background-color: __background_alt__; 114 border: solid __border__; 115 border-width: 1px 1px 0; 116 color: inherit; 117 display: inline; 118 padding: 0 .5em; 119 margin-left: 1em; 120} 121.dokuwiki dl.code dt a, 122.dokuwiki dl.file dt a { 123} 124 125.dokuwiki dl.code dd, 126.dokuwiki dl.file dd { 127 margin: 0; 128} 129 130