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