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 44/* Not existing wikipage */ 45.dokuwiki a.wikilink2 { 46 color: __missing__; 47 background-color: inherit; 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 57.dokuwiki img.medialeft { 58 margin: .2em 1.5em .2em 0; 59} 60 61.dokuwiki img.mediaright { 62 margin: .2em 0 .2em 1.5em; 63} 64 65.dokuwiki img.mediacenter { 66 margin: .2em auto; 67} 68 69/*____________ TABLES ____________*/ 70 71/* div before each table */ 72.dokuwiki div.table { 73} 74 75.dokuwiki table.inline { 76 min-width: 50%; 77} 78 79.dokuwiki table.inline tr:hover td { 80 background-color: __background_alt__; 81} 82 83.dokuwiki table.inline tr:hover th { 84 background-color: __border__; 85} 86 87/*____________ CODE ____________*/ 88 89/* fix if background-color hides underlining */ 90.dokuwiki em.u code { 91 text-decoration: underline; 92} 93 94/* Filenames for downloadable file and code blocks */ 95.dokuwiki dl.code, 96.dokuwiki dl.file { 97} 98 99.dokuwiki dl.code dt, 100.dokuwiki dl.file dt { 101 background-color: __background_alt__; 102 border: solid __border__; 103 border-width: 1px 1px 0; 104 color: inherit; 105 display: inline; 106 padding: .1em .5em .2em; 107 margin-left: 1em; 108} 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 116.dokuwiki dl.code dt a, 117.dokuwiki dl.file dt a { 118} 119 120.dokuwiki dl.code dd, 121.dokuwiki dl.file dd { 122 margin: 0; 123} 124 125/* For code in <file> */ 126.dokuwiki pre.file, 127.dokuwiki dl.file pre, 128.dokuwiki dl.file dt { 129 border-color: __text_neu__; 130} 131 132/*____________ Media manager ____________*/ 133 134/* some headings in the media manager should not look like headings */ 135#mediamanager__page h2, 136#mediamanager__page h3 { 137 font-family: 138 Frutiger, 139 Calibri, 140 Myriad, 141 "Nimbus Sans L", 142 Geneva, 143 "Helvetica Neue", 144 Helvetica, 145 Arial, 146 sans-serif; 147 color: __text__; 148} 149 150/* to style button-like div in _fileuploader.css to look like other buttons, please add '.qq-upload-button' to the according styles (which don't really exist in this template) */ 151.qq-upload-button { 152 border: 1px solid __border__; 153 background-color: __background_alt__; 154 padding: 0.125em 0.4em; 155} 156 157/*____________ Styling plugin ____________*/ 158 159#plugin__styling.ispopup { 160 padding: 1em; 161} 162 163/*____________ JS popup ____________*/ 164 165.JSpopup { 166 background-color: __background__; 167 color: __text__; 168 border: 1px solid __border__; 169 line-height: 1.2; 170 padding: 0 .2em; 171} 172 173.JSpopup ul, 174.JSpopup ol { 175 padding-left: 0; 176} 177 178[dir=rtl] .JSpopup ul, 179[dir=rtl] .JSpopup ol { 180 padding-right: 0; 181} 182