157 lines
4.7 KiB
CSS
157 lines
4.7 KiB
CSS
|
@media screen {
|
||
|
|
||
|
/* top bar */
|
||
|
.dokuwiki .topbar {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
}
|
||
|
.dokuwiki .topbar ul {
|
||
|
text-align: center;
|
||
|
max-width: 530px; /* change accordingly */
|
||
|
margin: 0 auto;
|
||
|
padding: 0;
|
||
|
list-style: none;
|
||
|
background-color: __background_alt__;
|
||
|
border: solid __border__;
|
||
|
border-width: 0 1px 1px;
|
||
|
border-bottom-right-radius: 5px;
|
||
|
border-bottom-left-radius: 5px;
|
||
|
box-shadow: 0 1px 3px #999;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
.dokuwiki .topbar ul li {
|
||
|
margin: 0;
|
||
|
padding: 0 2px;
|
||
|
display: inline-block;
|
||
|
font-size: 95%;
|
||
|
}
|
||
|
.dokuwiki .topbar ul li a {
|
||
|
color: __text__;
|
||
|
display: inline-block;
|
||
|
min-height: 22px; /* make sure icons are not cut off (most icons are 16x16) */
|
||
|
}
|
||
|
|
||
|
/* for IE7 */
|
||
|
*+html .dokuwiki .topbar ul li,
|
||
|
*+html .dokuwiki .topbar ul li a {
|
||
|
display: inline;
|
||
|
}
|
||
|
|
||
|
/* changes specific for the default "dokuwiki" template,
|
||
|
other templates need other changes! */
|
||
|
#dokuwiki__header {
|
||
|
padding-top: 3.5em;
|
||
|
}
|
||
|
#dokuwiki__usertools {
|
||
|
top: 2em;
|
||
|
}
|
||
|
|
||
|
/* IE8 needs this in the default template */
|
||
|
.dokuwiki .topbar ul li img {
|
||
|
max-width: none;
|
||
|
}
|
||
|
|
||
|
} /* /@media */
|
||
|
|
||
|
|
||
|
/* for screens less than 480px wide */
|
||
|
@media only screen and (max-width: 480px) {
|
||
|
|
||
|
/* move topbar back to the bottom */
|
||
|
.dokuwiki .topbar {
|
||
|
position: static;
|
||
|
}
|
||
|
|
||
|
/* un-do some specific template changes */
|
||
|
#dokuwiki__header {
|
||
|
padding-top: .5em;
|
||
|
}
|
||
|
|
||
|
} /* /@media */
|
||
|
|
||
|
|
||
|
@media print {
|
||
|
|
||
|
/* don't print the topbar */
|
||
|
.dokuwiki .topbar {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
} /* /@media */
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
// Ueberlange Ueberschriften
|
||
|
div.dtree a.nodeFdUrl:hover, div.dtree a.nodeFdUrl:focus, div.dtree a.nodeFdUrl.hover,
|
||
|
div.dtree a.nodeUrl:hover, div.dtree a.nodeUrl:focus, div.dtree a.nodeUrl.hover,
|
||
|
div.dtree a.nodeSel:hover, div.dtree a.nodeSel:focus, div.dtree a.nodeSel.hover,
|
||
|
div.dtree a.node:hover, div.dtree a.node:focus, div.dtree a.node.hover,
|
||
|
div.dtree a.navSel:hover, div.dtree a.navSel:focus, div.dtree a.navSel.hover{
|
||
|
position:absolute;
|
||
|
z-index: 2;
|
||
|
background-color: #fff;
|
||
|
background-color: rgba(230, 227, 250, 0.99) !important;
|
||
|
padding: 3px;
|
||
|
border: 1px solid black !important;
|
||
|
margin-top: -3px;
|
||
|
font-weight: none;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Start: Nummerierte Ueberschriften */
|
||
|
div#dokuwiki__content .pad.group .page.group {counter-reset: level1;} /* content only */
|
||
|
div#dokuwiki__content .pad.group .page.group #dw__toc h3:before{content:""} /* Inhaltsverzeichnis-Ueberschrift soll keine Nummer 0.1 haben. */
|
||
|
div#dw__toc:before, div#dw__toc:after {counter-reset: level1; content: "";} /* toc only; Vor und nach Inhaltsverzeichnis Counter reset machen */
|
||
|
|
||
|
/* content, toc */
|
||
|
div#dokuwiki__content .pad.group .page.group h1, div#dw__toc ul.toc li.level1 {counter-reset: level2;}
|
||
|
div#dokuwiki__content .pad.group .page.group h2, div#dw__toc ul.toc li.level2 {counter-reset: level3;}
|
||
|
div#dokuwiki__content .pad.group .page.group h3, div#dw__toc ul.toc li.level3 {counter-reset: level4;}
|
||
|
div#dokuwiki__content .pad.group .page.group h4, div#dw__toc ul.toc li.level4 {counter-reset: level5;}
|
||
|
div#dokuwiki__content .pad.group .page.group h5, div#dw__toc ul.toc li.level5 {}
|
||
|
|
||
|
/* content only */
|
||
|
div#dokuwiki__content .pad.group .page.group h2:before {
|
||
|
content: counter(level2) " ";
|
||
|
counter-increment: level2;
|
||
|
}
|
||
|
div#dokuwiki__content .pad.group .page.group h3:before {
|
||
|
content: counter(level2) "." counter(level3) " ";
|
||
|
counter-increment: level3;
|
||
|
}
|
||
|
div#dokuwiki__content .pad.group .page.group h4:before {
|
||
|
content: counter(level2) "." counter(level3) "." counter(level4) " ";
|
||
|
counter-increment: level4;
|
||
|
}
|
||
|
div#dokuwiki__content .pad.group .page.group h5:before {
|
||
|
content: counter(level2) "." counter(level3) "." counter(level4) "." counter(level5) " ";
|
||
|
counter-increment: level5;
|
||
|
}
|
||
|
|
||
|
/* toc only */
|
||
|
div.dokuwiki ul.toc li.level1 a:before {
|
||
|
content: counter(level1) " ";
|
||
|
counter-increment: level1;
|
||
|
}
|
||
|
div.dokuwiki ul.toc li.level2 a:before {
|
||
|
content: counter(level1) "." counter(level2) " ";
|
||
|
counter-increment: level2;
|
||
|
}
|
||
|
div.dokuwiki ul.toc li.level3 a:before {
|
||
|
content: counter(level1) "." counter(level2) "." counter(level3) " ";
|
||
|
counter-increment: level3;
|
||
|
}
|
||
|
div.dokuwiki ul.toc li.level4 a:before {
|
||
|
content: counter(level1) "." counter(level2) "." counter(level3) "." counter(level4) " ";
|
||
|
counter-increment: level4;
|
||
|
}
|
||
|
div.dokuwiki ul.toc li.level5 a:before {
|
||
|
content: counter(level1) "." counter(level2) "." counter(level3) "." counter(level4) "." counter(level5) " ";
|
||
|
counter-increment: level5;
|
||
|
}
|
||
|
/* End: nummerierte Ueberschriften */
|