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 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/* fix if background-color hides underlining */ 87.dokuwiki em.u code { 88 text-decoration: underline; 89} 90 91/* for code in <file> */ 92.dokuwiki pre.file { 93} 94 95/* filenames for downloadable file and code blocks */ 96.dokuwiki dl.code, 97.dokuwiki dl.file { 98} 99 100.dokuwiki dl.code dt, 101.dokuwiki dl.file dt { 102 background-color: __background_alt__; 103 border: solid __border__; 104 border-width: 1px 1px 0; 105 color: inherit; 106 display: inline; 107 padding: .1em .5em .2em; 108 margin-left: 1em; 109} 110[dir=rtl] .dokuwiki dl.code dt, 111[dir=rtl] .dokuwiki dl.file dt { 112 margin-left: 0; 113 margin-right: 1em; 114} 115.dokuwiki dl.code dt a, 116.dokuwiki dl.file dt a { 117} 118 119.dokuwiki dl.code dd, 120.dokuwiki dl.file dd { 121 margin: 0; 122} 123 124 125/*____________ media manager ____________*/ 126 127/* some headings in the media manager should not look like headings */ 128#mediamanager__page h2, 129#mediamanager__page h3 { 130 font-family: Frutiger, Calibri, Myriad, "Nimbus Sans L", Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif; 131 color: __text__; 132} 133 134/* to style button-like div in _fileuploader.css to look like other buttons, 135 please add '.qq-upload-button' to the according styles (which don't really exist in this template) */ 136.qq-upload-button { 137 border: 1px solid __border__; 138 background-color: __background_alt__; 139 padding: 0.125em 0.4em; 140} 141 142 143/*____________ JS popup ____________*/ 144 145.JSpopup { 146 background-color: __background__; 147 color: __text__; 148 border: 1px solid __border__; 149 line-height: 1.2; 150 padding: 0 .2em; 151} 152 153.JSpopup ul, 154.JSpopup ol { 155 padding-left: 0; 156} 157[dir=rtl] .JSpopup ul, 158[dir=rtl] .JSpopup ol { 159 padding-right: 0; 160} 161