1/** 2 * Design elements for default Template 3 * 4 * @author Andreas Gohr <andi@splitbrain.org> 5 * @author Anika Henke <henke@cosmocode.de> 6 */ 7 8/* -------------- general elements --------------- */ 9 10* { padding: 0; margin: 0; } 11 12body { 13 font: 80% "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; 14 background-color: __background__; 15 color: __text__; 16} 17 18/* the document */ 19div.dokuwiki div.page { 20 margin: 4px 2em 0 1em; 21 text-align: justify; 22} 23 24div.dokuwiki table { 25 font-size: 100%; 26} 27 28div.dokuwiki tr, 29div.dokuwiki td, 30div.dokuwiki th { 31} 32 33div.dokuwiki img { 34 border: 0; 35} 36 37div.dokuwiki p, 38div.dokuwiki blockquote, 39div.dokuwiki table, 40div.dokuwiki pre { 41 margin: 0 0 1.0em 0; 42} 43 44div.dokuwiki hr { 45 border: 0px; 46 border-top: 1px solid __border__; 47 text-align: center; 48 height: 0px; 49} 50 51div.dokuwiki div.nothing { 52 text-align: center; 53 margin: 2em; 54} 55 56/* ---------------- forms ------------------------ */ 57 58div.dokuwiki form { 59 border: none; 60 display: inline; 61} 62 63div.dokuwiki label.block { 64 display: block; 65 text-align: right; 66 font-weight: bold; 67} 68 69div.dokuwiki label.simple { 70 display: block; 71 text-align: left; 72 font-weight: normal; 73} 74 75div.dokuwiki label.block input.edit { 76 width: 50%; 77} 78 79div.dokuwiki fieldset { 80 width: 300px; 81 text-align: center; 82 border: 1px solid __border__; 83 padding: 0.5em; 84 margin: auto; 85} 86 87div.dokuwiki textarea.edit { 88 font-family: monospace; 89 font-size: 14px; 90 color: __text__; 91 background-color: __background__; 92 border: 1px solid __border__; 93 padding: 0.3em 0 0 0.3em; 94 width: 100%; 95} 96 97/* nice alphatransparency background except for IE <7 */ 98html>body div.dokuwiki textarea.edit { 99 background: __background__ url(images/inputshadow.png) repeat-x top; 100} 101 102div.dokuwiki input.edit, 103div.dokuwiki select.edit { 104 font-size: 100%; 105 border: 1px solid __border__; 106 color: __text__; 107 background-color: __background__; 108 vertical-align: middle; 109 margin: 1px; 110 padding: 0.20em 0.3em; 111 display: inline; 112} 113 114/* nice alphatransparency background except for IE <7 */ 115html>body div.dokuwiki input.edit, 116html>body div.dokuwiki select.edit { 117 background: __background__ url(images/inputshadow.png) repeat-x top; 118} 119 120div.dokuwiki select.edit { 121 padding: 0.1em 0; 122} 123 124div.dokuwiki input.missing { 125 font-size: 100%; 126 border: 1px solid __border__; 127 color: __text__; 128 background-color: #ffcccc; 129 vertical-align: middle; 130 margin: 1px; 131 padding: 0.20em 0.3em; 132 display: inline; 133} 134 135/* disabled style - not understood by IE */ 136div.dokuwiki textarea.edit[disabled], 137div.dokuwiki textarea.edit[readonly], 138div.dokuwiki input.edit[disabled], 139div.dokuwiki input.edit[readonly], 140div.dokuwiki select.edit[disabled] { 141 background-color: __background_neu__!important; 142 color: __text_neu__!important; 143} 144 145/* edit form */ 146div.dokuwiki div.toolbar, 147div.dokuwiki div#wiki__editbar { 148 margin: 2px 0; 149 text-align: left; 150} 151div.dokuwiki div#size__ctl { 152 float: right; 153 width: 60px; 154 height: 2.7em; 155} 156div.dokuwiki #size__ctl img { 157 cursor: pointer; 158} 159div.dokuwiki div#wiki__editbar div.editButtons { 160 float: left; 161 padding: 0 1.0em 0.7em 0; 162} 163div.dokuwiki div#wiki__editbar div.summary { 164 float: left; 165} 166div.dokuwiki .nowrap { 167 white-space: nowrap; 168} 169div.dokuwiki div#draft__status { 170 float: right; 171 color: __text_alt__; 172} 173 174/* --------- buttons ------------------- */ 175 176 177div.dokuwiki input.button, 178div.dokuwiki button.button { 179 border: 1px solid __border__; 180 color: __text__; 181 background-color: __background__; 182 vertical-align: middle; 183 text-decoration: none; 184 font-size: 100%; 185 cursor: pointer; 186 margin: 1px; 187 padding: 0.125em 0.4em; 188} 189 190/* nice alphatransparency background except for IE <7 */ 191html>body div.dokuwiki input.button, 192html>body div.dokuwiki button.button { 193 background: __background__ url(images/buttonshadow.png) repeat-x bottom; 194} 195 196* html div.dokuwiki input.button, 197* html div.dokuwiki button.button { 198 height: 1.8em; 199} 200 201div.dokuwiki div.secedit input.button { 202 border: 1px solid __border__; 203 color: __text__; 204 background-color: __background__; 205 vertical-align: middle; 206 text-decoration: none; 207 margin: 0; 208 padding: 0; 209 font-size: 10px; 210 cursor: pointer; 211 float: right; 212 display: inline; 213} 214 215/* ----------- page navigator ------------- */ 216 217div.dokuwiki div.pagenav { 218 margin: 1em 0 0 0; 219} 220 221div.dokuwiki div.pagenav-prev { 222 text-align: right; 223 float: left; 224 width: 49% 225} 226 227div.dokuwiki div.pagenav-next { 228 text-align: left; 229 float: right; 230 width: 49% 231} 232 233/* --------------- Links ------------------ */ 234 235div.dokuwiki a:link, 236div.dokuwiki a:visited { 237 color: __extern__; 238 text-decoration: none; 239} 240div.dokuwiki a:hover, 241div.dokuwiki a:active { 242 color: __text__; 243 text-decoration: underline; 244} 245 246div.dokuwiki h1 a, 247div.dokuwiki h2 a, 248div.dokuwiki h3 a, 249div.dokuwiki h4 a, 250div.dokuwiki h5 a, 251div.dokuwiki a.nolink { 252 color: __text__ !important; 253 text-decoration: none !important; 254} 255 256/* external link */ 257div.dokuwiki a.urlextern { 258 background: transparent url(images/link_icon.gif) 0px 1px no-repeat; 259 padding: 1px 0px 1px 16px; 260} 261 262/* windows share */ 263div.dokuwiki a.windows { 264 background: transparent url(images/windows.gif) 0px 1px no-repeat; 265 padding: 1px 0px 1px 16px; 266} 267 268/* interwiki link (icon are set by dokuwiki) */ 269div.dokuwiki a.interwiki { 270} 271 272/* link to some embedded media */ 273div.dokuwiki a.media { 274} 275 276div.dokuwiki a.urlextern:link, 277div.dokuwiki a.windows:link, 278div.dokuwiki a.interwiki:link { 279 color: __extern__; 280} 281 282div.dokuwiki a.urlextern:visited, 283div.dokuwiki a.windows:visited, 284div.dokuwiki a.interwiki:visited { 285 color: purple; 286} 287div.dokuwiki a.urlextern:hover, 288div.dokuwiki a.urlextern:active, 289div.dokuwiki a.windows:hover, 290div.dokuwiki a.windows:active, 291div.dokuwiki a.interwiki:hover, 292div.dokuwiki a.interwiki:active { 293 color: __text__; 294} 295 296/* email link */ 297div.dokuwiki a.mail { 298 background: transparent url(images/mail_icon.gif) 0px 1px no-repeat; 299 padding: 1px 0px 1px 16px; 300} 301 302/* existing wikipage */ 303div.dokuwiki a.wikilink1 { 304 color: __existing__ !important; 305} 306 307/* not existing wikipage */ 308div.dokuwiki a.wikilink2 { 309 color: __missing__ !important; 310} 311 312/* ------------- Page elements ----------------- */ 313 314div.dokuwiki div.preview { 315 background-color: __background_neu__; 316 margin: 0 0 0 2em; 317 padding: 4px; 318 border: 1px dashed __text__; 319} 320 321div.dokuwiki div.breadcrumbs { 322 background-color: __background_neu__; 323 color: __text_neu__; 324 font-size: 80%; 325 padding: 0 0 0 4px; 326} 327 328div.dokuwiki span.user { 329 color: __text_other__; 330 font-size: 90%; 331} 332 333div.dokuwiki li.minor { 334 color: __text_neu__; 335 font-style: italic; 336} 337 338/* embedded images */ 339div.dokuwiki img.media { 340 margin: 3px; 341} 342 343div.dokuwiki img.medialeft { 344 border: 0; 345 float: left; 346 margin: 0 1.5em 0 0; 347} 348 349div.dokuwiki img.mediaright { 350 border: 0; 351 float: right; 352 margin: 0 0 0 1.5em; 353} 354 355div.dokuwiki img.mediacenter { 356 border: 0; 357 display: block; 358 margin: 0 auto; 359} 360 361/* smileys */ 362div.dokuwiki img.middle { 363 vertical-align: middle; 364} 365 366div.dokuwiki acronym { 367 cursor: help; 368 border-bottom: 1px dotted __text__; 369} 370 371/* general headline setup */ 372div.dokuwiki h1, 373div.dokuwiki h2, 374div.dokuwiki h3, 375div.dokuwiki h4, 376div.dokuwiki h5 { 377 color: __text__; 378 background-color: inherit; 379 font-size: 100%; 380 font-weight: normal; 381 margin: 0 0 1em 0; 382 padding: 0.5em 0 0 0; 383 border-bottom: 1px solid __border__; 384 clear: left; 385} 386 387/* special headlines */ 388div.dokuwiki h1 {font-size: 160%; margin-left: 0px; font-weight: bold;} 389div.dokuwiki h2 {font-size: 150%; margin-left: 20px;} 390div.dokuwiki h3 {font-size: 140%; margin-left: 40px; border-bottom: none; font-weight: bold;} 391div.dokuwiki h4 {font-size: 120%; margin-left: 60px; border-bottom: none; font-weight: bold;} 392div.dokuwiki h5 {font-size: 100%; margin-left: 80px; border-bottom: none; font-weight: bold;} 393 394/* indent different sections */ 395div.dokuwiki div.level1 {margin-left: 3px;} 396div.dokuwiki div.level2 {margin-left: 23px;} 397div.dokuwiki div.level3 {margin-left: 43px;} 398div.dokuwiki div.level4 {margin-left: 63px;} 399div.dokuwiki div.level5 {margin-left: 83px;} 400 401/* unordered lists */ 402div.dokuwiki ul { 403 line-height: 1.5em; 404 list-style-type: square; 405 list-style-image: none; 406 margin: 0 0 0.5em 1.5em; 407 color: __text_alt__; 408} 409 410/* ordered lists */ 411div.dokuwiki ol { 412 line-height: 1.5em; 413 list-style-image: none; 414 margin: 0 0 0.5em 1.5em; 415 color: __text_alt__; 416 font-weight: bold; 417} 418 419/* the list items overriding the ul/ol definition */ 420div.dokuwiki .li { 421 color: __text__; 422 font-weight: normal; 423} 424 425div.dokuwiki ol {list-style-type: decimal} 426div.dokuwiki ol ol {list-style-type: upper-roman} 427div.dokuwiki ol ol ol {list-style-type: lower-alpha} 428div.dokuwiki ol ol ol ol {list-style-type: lower-greek} 429 430div.dokuwiki li.open { 431 list-style-image: url(images/open.gif); 432 /*list-style-type: circle;*/ 433} 434 435div.dokuwiki li.closed { 436 list-style-image: url(images/closed.gif); 437 /*list-style-type: disc;*/ 438} 439 440div.dokuwiki blockquote { 441 border-left: 2px solid __border__; 442 padding-left: 3px; 443} 444 445div.dokuwiki pre { 446 font-size: 120%; 447 padding: 0.5em; 448 border: 1px dashed __border__; 449 color: __text__; 450 overflow: auto; 451} 452 453/* code blocks by indention */ 454div.dokuwiki pre.pre { 455 background-color: __background_other__; 456} 457 458/* code blocks by code tag */ 459div.dokuwiki pre.code { 460 background-color: __background_other__; 461} 462 463/* inline code words */ 464div.dokuwiki code { 465 font-size: 120%; 466} 467 468/* code blocks by file tag */ 469div.dokuwiki pre.file { 470 background-color: __background_alt__; 471} 472 473/* inline tables */ 474div.dokuwiki table.inline { 475 background-color: __background__; 476 border-spacing: 0px; 477 border-collapse: collapse; 478} 479 480div.dokuwiki table.inline th { 481 padding: 3px; 482 border: 1px solid __border__; 483 background-color: __background_alt__; 484} 485 486div.dokuwiki table.inline td { 487 padding: 3px; 488 border: 1px solid __border__; 489} 490 491/* ---------- table of contents ------------------- */ 492 493div.dokuwiki div.toc { 494 margin: 1.2em 0 0 2em; 495 float: right; 496 width: 200px; 497 font-size: 80%; 498 clear: both; 499} 500 501div.dokuwiki div.tocheader { 502 border: 1px solid __border__; 503 background-color: __background_alt__; 504 text-align: left; 505 font-weight: bold; 506 padding: 3px; 507 margin-bottom: 2px; 508} 509 510div.dokuwiki div.tocheader img { 511 width: 0.8em; 512 height: 0.8em; 513 float: right; 514 margin: 0.3em 3px 0 0; 515 cursor: pointer; 516} 517 518div.dokuwiki #toc__inside { 519 border: 1px solid __border__; 520 background-color: __background__; 521 text-align: left; 522 padding: 0.5em 0 0.7em 0; 523} 524 525div.dokuwiki ul.toc { 526 list-style-type: none; 527 list-style-image: none; 528 line-height: 1.2em; 529 padding-left: 1em; 530 margin: 0; 531} 532 533div.dokuwiki ul.toc li { 534 background: transparent url(images/tocdot2.gif) 0 0.6em no-repeat; 535 padding-left: 0.4em; 536} 537 538div.dokuwiki ul.toc li.clear { 539 background-image: none; 540 padding-left: 0.4em; 541} 542 543div.dokuwiki a.toc:link, 544div.dokuwiki a.toc:visited { 545 color: __extern__; 546} 547 548div.dokuwiki a.toc:hover, 549div.dokuwiki a.toc:active { 550 color: __text__; 551} 552 553/* ---------------------------- Diff rendering --------------------------*/ 554div.dokuwiki table.diff { 555 background-color: __background__; 556 width: 100%; 557} 558div.dokuwiki td.diff-blockheader { 559 font-weight: bold; 560} 561div.dokuwiki table.diff th { 562 border-bottom: 1px solid __border__; 563 font-size: 120%; 564 width: 50%; 565 font-weight: normal; 566 text-align: left; 567} 568div.dokuwiki table.diff td { 569 font-family: monospace; 570 font-size: 100%; 571} 572div.dokuwiki td.diff-addedline { 573 background-color: #ddffdd; 574} 575div.dokuwiki td.diff-deletedline { 576 background-color: #ffffbb; 577} 578div.dokuwiki td.diff-context { 579 background-color: __background_neu__; 580} 581div.dokuwiki span.diffchange { 582 color: red; 583} 584 585/* --------------------- footnotes -------------------------------- */ 586 587div.dokuwiki div.footnotes { 588 clear: both; 589 border-top: 1px solid __border__; 590 padding-left: 1em; 591 margin-top: 1em; 592} 593 594div.dokuwiki div.fn { 595 font-size: 90%; 596} 597 598div.dokuwiki a.fn_top { 599 vertical-align: super; 600 font-size: 80%; 601} 602 603div.dokuwiki a.fn_bot { 604 vertical-align: super; 605 font-size: 80%; 606 font-weight: bold; 607} 608 609/* insitu-footnotes */ 610div.insitu-footnote { 611 font-size: 80%; 612 line-height: 1.2em; 613 border: 1px solid __border__; 614 background-color: __background_other__; 615 text-align: left; 616 padding: 4px; 617 max-width: 40%; /* IE's width is handled in javascript */ 618} 619 620/* overcome IE issue with one line code or file boxes which require h. scrolling */ 621* html .insitu-footnote pre.code, 622* html .insitu-footnote pre.file { 623 padding-bottom: 18px; 624} 625 626/* --------------- search result formating --------------- */ 627div.dokuwiki .search_result { 628 margin-bottom: 6px; 629 padding: 0 10px 0 30px; 630} 631 632div.dokuwiki .search_snippet { 633 color: __text_other__; 634 font-size: 12px; 635 margin-left: 20px; 636} 637 638div.dokuwiki .search_sep { 639 color: __text__; 640} 641 642div.dokuwiki .search_hit { 643 color: __text__; 644 background-color: __highlight__; 645} 646 647div.dokuwiki div.search_quickresult { 648 margin: 0 0 15px 30px; 649 padding: 0 10px 10px 0; 650 border-bottom: 1px dashed __border__; 651} 652div.dokuwiki div.search_quickresult h3 { 653 margin: 0 0 1.0em 0; 654 font-size: 1em; 655 font-weight: bold; 656} 657 658div.dokuwiki ul.search_quickhits { 659 margin: 0 0 0.5em 1.0em; 660} 661 662div.dokuwiki ul.search_quickhits li { 663 margin: 0 1.0em 0 1.0em; 664 float:left; 665 width: 30%; 666} 667 668/* ------------------ Additional ---------------------- */ 669 670div.footerinc { 671 text-align: center; 672} 673.footerinc a img { 674 opacity: 0.5; 675 border: 0; 676} 677 678.footerinc a:hover img { 679 opacity: 1; 680} 681 682/* ---------- AJAX quicksearch ----------- */ 683 684div.dokuwiki div.ajax_qsearch { 685 position: absolute; 686 right: 237px;; 687 width: 200px; 688 opacity: 0.9; 689 display: none; 690 font-size: 80%; 691 line-height: 1.2em; 692 border: 1px solid __border__; 693 background-color: __background_other__; 694 text-align: left; 695 padding: 4px; 696} 697 698/* --------- Toolbar -------------------- */ 699button.toolbutton { 700 background-color: __background__; 701 padding: 0px; 702 margin: 0 1px 0 0; 703 border: 1px solid __border__; 704 cursor: pointer; 705} 706 707/* nice alphatransparency background except for IE <7 */ 708html>body button.toolbutton { 709 background: __background__ url(images/buttonshadow.png) repeat-x bottom; 710} 711 712div.picker { 713 width: 250px; 714 border: 1px solid __border__; 715 background-color: __background_alt__; 716} 717 718button.pickerbutton { 719 padding: 0px; 720 margin: 0 1px 1px 0; 721 border: 0; 722 background-color: transparent; 723 font-size: 80%; 724 cursor: pointer; 725} 726 727/* ---------- Spellchecking ------------- */ 728 729div.dokuwiki a.spell_error { 730 color: #f00; 731 text-decoration: underline; 732} 733 734div.dokuwiki div#spell__suggest { 735 background-color: __background__; 736 padding: 2px; 737 border: 1px solid __text__; 738 font-size: 80%; 739 display: none; 740} 741 742div.dokuwiki div#spell__result { 743 border: 1px solid __border__; 744 color: __text__; 745 font-size: 14px; 746 padding: 3px; 747 background-color: __background_other__; 748 display: none; 749} 750 751div.dokuwiki span.spell_noerr { 752 color: #093; 753} 754 755div.dokuwiki span.spell_wait { 756 color: #06c; 757} 758 759/* --------------- Image Details ----------------- */ 760 761div.dokuwiki div.img_big { 762 float: left; 763 margin-right: 0.5em; 764} 765 766div.dokuwiki dl.img_tags dt { 767 font-weight: bold; 768 background-color: __background_alt__; 769} 770div.dokuwiki dl.img_tags dd { 771 background-color: __background_neu__; 772} 773 774div.dokuwiki div.imagemeta { 775 color: __text_neu__; 776 font-size: 70%; 777 line-height: 95%; 778} 779 780div.dokuwiki div.imagemeta img.thumb { 781 float:left; 782 margin-right: 0.1em; 783} 784