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 margin: .2em 0; 50} 51.dokuwiki img.medialeft { 52 margin: .2em 1.5em .2em 0; 53} 54.dokuwiki img.mediaright { 55 margin: .2em 0 .2em 1.5em; 56} 57.dokuwiki img.mediacenter { 58 margin: .2em auto; 59} 60 61 62/*____________ tables ____________*/ 63 64.dokuwiki table.inline { 65 min-width: 50%; 66} 67.dokuwiki table.inline th, 68.dokuwiki table.inline td { 69 border: 1px solid __text_alt__; 70} 71.dokuwiki table.inline th { 72 color: inherit; 73 background-color: __background_neu__; 74} 75.dokuwiki table.inline td { 76} 77.dokuwiki table.inline tr:hover td { 78 background-color: __background_alt__; 79} 80.dokuwiki table.inline tr:hover th { 81 background-color: __border__; 82} 83 84 85/*____________ code ____________*/ 86 87.dokuwiki pre, 88.dokuwiki tt, 89.dokuwiki code, 90.dokuwiki samp, 91.dokuwiki kbd { 92 background-color: __background_alt__; 93 color: __text__; 94} 95/* fix if background-color hides underlining */ 96.dokuwiki em.u code { 97 text-decoration: underline; 98} 99.dokuwiki pre { 100 border: 1px solid __border__; 101 padding: 0 .2em; 102} 103/* for code in <file> */ 104.dokuwiki pre.file { 105} 106 107/* filenames for downloadable file and code blocks */ 108.dokuwiki dl.code, 109.dokuwiki dl.file { 110} 111 112.dokuwiki dl.code dt, 113.dokuwiki dl.file dt { 114 background-color: __background_alt__; 115 border: solid __border__; 116 border-width: 1px 1px 0; 117 color: inherit; 118 display: inline; 119 padding: 0 .5em; 120 margin-left: 1em; 121} 122.dokuwiki dl.code dt a, 123.dokuwiki dl.file dt a { 124} 125 126.dokuwiki dl.code dd, 127.dokuwiki dl.file dd { 128 margin: 0; 129} 130 131