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