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