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 * @author Clarence Lee <clarencedglee@gmail.com> 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/*____________ links to wiki pages (addition to _links) ____________*/ 36 37/* existing wikipage */ 38.dokuwiki a.wikilink1 { 39 color: @ini_existing; 40 background-color: inherit; 41} 42 43/* not existing wikipage */ 44.dokuwiki a.wikilink2 { 45 color: @ini_missing; 46 background-color: inherit; 47} 48 49/*____________ images ____________*/ 50 51/* embedded images (styles are already partly set in lib/styles/all.css) */ 52.dokuwiki img.media { 53 margin: .2em 0; 54} 55 56.dokuwiki img.medialeft { 57 margin: .2em 1em .2em 0; 58} 59 60.dokuwiki img.mediaright { 61 margin: .2em 0 .2em 1em; 62} 63 64.dokuwiki img.mediacenter { 65 margin: .2em auto; 66} 67 68/*____________ lists ____________*/ 69 70.dokuwiki .page, 71.dokuwiki .aside { 72 ul li { 73 color: @ini_text_alt; 74 } 75 76 ol li { 77 color: @ini_text_neu; 78 } 79 80 li .li { 81 color: @ini_text; 82 } 83} 84 85/*____________ tables ____________*/ 86 87/* div around each table */ 88.dokuwiki div.table { 89 overflow-x: auto; 90 margin-bottom: 1.4em; 91 min-width: 50%; 92} 93 94.dokuwiki div.table table { 95 margin-bottom: 0; 96} 97 98.dokuwiki table.inline { 99 min-width: 50%; 100} 101 102.dokuwiki table.inline tr:hover td { 103 background-color: @ini_background_alt; 104} 105 106.dokuwiki table.inline tr:hover th { 107 background-color: @ini_border; 108} 109 110/*____________ code ____________*/ 111 112/* fix if background-color hides underlining */ 113.dokuwiki em.u code { 114 text-decoration: underline; 115} 116 117/* filenames for downloadable file and code blocks */ 118.dokuwiki dl.code, 119.dokuwiki dl.file { 120 dt { 121 background-color: @ini_background_site; 122 background: linear-gradient(to bottom, @ini_background_alt 0%, @ini_background_site 100%); 123 color: inherit; 124 border: 1px solid @ini_border; 125 border-bottom-color: @ini_background_site; 126 border-top-left-radius: .3em; 127 border-top-right-radius: .3em; 128 padding: .3em .6em .1em; 129 margin-bottom: -1px; 130 float: left; 131 132 a { 133 background-color: transparent; 134 font-size: 0.875em; 135 font-weight: normal; 136 display: block; 137 min-height: 16px; 138 } 139 } 140 141 dd { 142 margin: 0; 143 clear: left; 144 } 145 146 pre { 147 box-shadow: inset -4px -4px .5em -.3em @ini_border; 148 } 149} 150 151[dir=rtl] .dokuwiki dl.code, 152[dir=rtl] .dokuwiki dl.file { 153 dt { 154 float: right; 155 } 156 157 dd { 158 clear: right; 159 } 160} 161 162/* for code in <file> */ 163.dokuwiki dl.file { 164 pre, 165 dt { 166 border-style: dashed; 167 } 168 dt { 169 border-bottom-style: solid; 170 } 171} 172 173/*____________ JS popup ____________*/ 174 175.JSpopup { 176 background-color: @ini_background; 177 color: @ini_text; 178 border: 1px solid @ini_border; 179 box-shadow: .1em .1em .1em @ini_border; 180 border-radius: 2px; 181 padding: .3em .5em; 182 font-size: .9em; 183} 184 185.dokuwiki form.search div.ajax_qsearch { 186 top: -.35em; 187 font-size: 1em; 188 text-overflow: ellipsis; 189} 190 191.JSpopup ul, 192.JSpopup ol { 193 padding-left: 0; 194} 195 196[dir=rtl] .JSpopup ul, 197[dir=rtl] .JSpopup ol { 198 padding-right: 0; 199} 200 201/* changes to underscored CSS files 202********************************************************************/ 203 204#acl__tree li { 205 margin: 0; 206} 207 208#dokuwiki__content span.curid a { 209 font-weight: normal; 210} 211 212#dokuwiki__content strong span.curid a { 213 font-weight: bold; 214} 215 216/*____________ changes to _edit ____________*/ 217 218.dokuwiki div.toolbar { 219 button.toolbutton { 220 border-radius: 0; 221 border-left-width: 0; 222 padding: .1em .35em; 223 } 224 225 button.toolbutton:first-child { 226 border-top-left-radius: 4px; 227 border-bottom-left-radius: 4px; 228 border-left-width: 1px; 229 } 230 231 button.toolbutton:last-child { 232 border-top-right-radius: 4px; 233 border-bottom-right-radius: 4px; 234 } 235} 236 237[dir=rtl] .dokuwiki div.toolbar { 238 button.toolbutton:last-child { 239 border-top-left-radius: 4px; 240 border-bottom-left-radius: 4px; 241 border-top-right-radius: 0; 242 border-bottom-right-radius: 0; 243 border-left-width: 1px; 244 } 245 246 button.toolbutton:first-child { 247 border-top-left-radius: 0; 248 border-bottom-left-radius: 0; 249 border-top-right-radius: 4px; 250 border-bottom-right-radius: 4px; 251 border-left-width: 0; 252 border-right-width: 1px; 253 } 254} 255 256.dokuwiki div.section_highlight { 257 margin: 0 -2em; 258 padding: 0 1em; 259 border-width: 0 1em; 260} 261 262.dokuwiki textarea.edit { 263 font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace; 264} 265 266.dokuwiki div.preview { 267 margin: 0 -2em; 268 padding: 0 2em; 269} 270 271.dokuwiki.hasSidebar div.preview { 272 border-right: @ini_sidebar_width solid @ini_background_alt; 273} 274 275[dir=rtl] .dokuwiki.hasSidebar div.preview { 276 border-right-width: 0; 277 border-left: @ini_sidebar_width solid @ini_background_alt; 278} 279 280.dokuwiki div.preview div.pad { 281 padding: 1.556em 0 2em; 282} 283 284/*____________ changes to _toc ____________*/ 285 286#dw__toc { 287 margin: -1.556em -2em .5em 1.4em; 288 width: @ini_sidebar_width; 289 border-left: 1px solid @ini_border; 290 background: @ini_background; 291 color: inherit; 292} 293 294[dir=rtl] #dw__toc { 295 margin: -1.556em 1.4em .5em -2em; 296 border-left-width: 0; 297 border-right: 1px solid @ini_border; 298} 299 300.dokuwiki.export #dw__toc { 301 margin-top: 0; 302 margin-right: 0; 303} 304 305[dir=rtl] .dokuwiki.export #dw__toc { 306 margin-top: 0; 307 margin-left: 0; 308} 309 310.dokuwiki h3.toggle { 311 padding: .5em 1em; 312 margin-bottom: 0; 313 font-size: .875em; 314 letter-spacing: .1em; 315} 316 317#dokuwiki__aside h3.toggle { 318 display: none; 319} 320 321.dokuwiki .toggle strong { 322 background: transparent url(images/toc-arrows.png) 0 0; 323 width: 8px; 324 height: 5px; 325 margin: .4em 0 0; 326} 327 328.dokuwiki .toggle.closed strong { 329 background-position: 0 -5px; 330} 331 332.dokuwiki .toggle strong span { 333 display: none; 334} 335 336#dw__toc { 337 > div { 338 font-size: 0.875em; 339 padding: .5em 1em 1em; 340 } 341 342 ul { 343 padding: 0 0 0 1.2em; 344 345 li { 346 list-style-image: url(images/toc-bullet.png); 347 } 348 } 349 350 ul li.clear { 351 list-style: none; 352 } 353 354 ul li div.li { 355 padding: .2em 0; 356 } 357} 358 359[dir=rtl] #dw__toc ul { 360 padding: 0 1.5em 0 0; 361} 362 363/*____________ changes to _imgdetail ____________*/ 364 365#dokuwiki__detail { 366 padding: 0; 367 368 img { 369 float: none; 370 margin-bottom: 1.4em; 371 } 372 373 div.img_detail { 374 float: none; 375 } 376 377 div.img_detail dl { 378 overflow: hidden; 379 } 380 381 div.img_detail dl dt { 382 float: left; 383 width: 9em; 384 text-align: right; 385 clear: left; 386 } 387 388 div.img_detail dl dd { 389 margin-left: 9.5em; 390 } 391} 392 393[dir=rtl] #dokuwiki__detail div.img_detail { 394 dl dt { 395 float: right; 396 text-align: left; 397 clear: right; 398 } 399 400 dl dd { 401 margin-left: 0; 402 margin-right: 9.5em; 403 } 404} 405