2020-10-11 15:19:26 +02:00
// is located in dokuwiki/conf/userall.css
@media screen {
2020-10-11 20:02:35 +02:00
body {
2020-10-17 18:39:10 +02:00
background : rgb ( 245 , 245 , 245 ) ;
2020-10-11 20:02:35 +02:00
# dokuwiki__site {
2020-10-17 17:10:19 +02:00
. site {
. topbar { // _old_ topbar (pre ~2015; plugin)
left : 0 ;
top : 0 ;
width : 100 % ;
position : absolute ;
ul {
background-color : __background_alt__ ;
border-bottom-left-radius : 5 px ;
border-bottom-right-radius : 5 px ;
border-width : 0 1 px 1 px ;
border : solid __border__ ;
box-shadow : 0 1 px 3 px #999 ;
list-style : none ;
margin : 0 auto ;
max-width : 530 px ; /* change accordingly */
overflow : hidden ;
padding : 0 ;
text-align : center ;
li {
display : inline-block ;
font-size : 95 % ;
margin : 0 ;
padding : 0 2 px ;
a {
color : __text__ ;
display : inline-block ;
min-height : 22 px ; /* make sure icons are not cut off (most icons are 16x16) */
}
}
}
}
# dokuwiki__header {
padding-top : 3 .5 em ;
. group {
. tools {
# dokuwiki__usertools {
top : 2 em ;
}
}
}
}
. wrapper {
# dokuwiki__aside {
. aside {
. content {
. group {
. dtree {
2020-10-19 10:20:09 +02:00
//.clip {
2020-10-17 17:10:19 +02:00
. dTreeNode {
position : relative ;
2020-10-20 16:46:39 +02:00
& : first-of-type {
a . navSel {
background : transparent ;
border-color : transparent ;
color : $nom-blue ;
}
}
2020-10-17 17:10:19 +02:00
& : hover {
position : unset ;
}
img {
z-index : 3 ;
position : relative ;
}
a {
2020-10-17 19:17:38 +02:00
& . navSel {
background : $nom-blue ;
border-color : $nom-blue-dark ;
color : rgb ( 255 , 255 , 255 ) ;
}
2020-10-17 17:10:19 +02:00
& . navSel ,
& . node ,
& . nodeFdUrl ,
& . nodeSel ,
& . nodeUrl {
border : 1 px solid transparent ;
2020-10-17 19:17:38 +02:00
border-radius : 2 px ;
2020-10-17 17:10:19 +02:00
margin : - 2 px 0 0 - 17 px ;
padding : 3 px 3 px 3 px 17 px ;
position : absolute ;
transition : background .1 s , color .1 s , border .1 s ;
& : focus ,
& : hover { // ueberlange Menupunkte; Hoverefekt
2020-10-17 19:17:38 +02:00
background : $nom-blue-dark ;
border-color : $nom-blue-dark ;
2020-10-17 17:10:19 +02:00
color : rgb ( 255 , 255 , 255 ) ;
text-decoration : none ;
z-index : 2 ;
}
}
}
}
2020-10-19 10:20:09 +02:00
//}
2020-10-17 17:10:19 +02:00
}
}
}
}
}
# dokuwiki__content {
. pad {
2020-10-17 18:39:10 +02:00
. pageId {
span {
2020-10-17 19:17:38 +02:00
box-shadow : 0 0 5 px $grey-light ;
2020-10-17 18:39:10 +02:00
}
}
2020-10-17 17:10:19 +02:00
. page {
2020-10-17 19:17:38 +02:00
box-shadow : 0 0 5 px $grey-light ;
2020-10-17 17:10:19 +02:00
counter-reset : level1 ; // content only
2020-10-17 18:39:10 +02:00
h1 {
counter-reset : level2 ;
}
h2 {
counter-reset : level3 ;
& : before {
content : counter ( level2 ) " " ;
counter-increment : level2 ;
}
}
h3 {
counter-reset : level4 ;
& : before {
content : counter ( level2 ) " . " counter ( level3 ) " " ;
counter-increment : level3 ;
}
}
h4 {
counter-reset : level5 ;
& : before {
content : counter ( level2 ) " . " counter ( level3 ) " . " counter ( level4 ) " " ;
counter-increment : level4 ;
}
}
h5 {
& : before {
content : counter ( level2 ) " . " counter ( level3 ) " . " counter ( level4 ) " . " counter ( level5 ) " " ;
counter-increment : level5 ;
}
}
2020-10-17 17:10:19 +02:00
# dw__toc { // Inhaltsverzeichnis
& : after ,
& : before { // toc only; Vor und nach Inhaltsverzeichnis Counter reset machen
counter-reset : level1 ; content : " " ;
}
h3 {
& : before { // Inhaltsverzeichnis-Ueberschrift soll keine Nummer 0.1 haben.
content : " "
}
}
div {
ul . toc {
li . level1 {
counter-reset : level2 ;
a : before {
content : counter ( level1 ) " " ;
counter-increment : level1 ;
}
}
li . level2 {
counter-reset : level3 ;
a : before {
content : counter ( level1 ) " . " counter ( level2 ) " " ;
counter-increment : level2 ;
}
}
li . level3 {
counter-reset : level4 ;
a : before {
content : counter ( level1 ) " . " counter ( level2 ) " . " counter ( level3 ) " " ;
counter-increment : level3 ;
}
}
li . level4 {
counter-reset : level5 ;
a : before {
content : counter ( level1 ) " . " counter ( level2 ) " . " counter ( level3 ) " . " counter ( level4 ) " " ;
counter-increment : level4 ;
}
}
li . level5 {
a : before {
content : counter ( level1 ) " . " counter ( level2 ) " . " counter ( level3 ) " . " counter ( level4 ) " . " counter ( level5 ) " " ;
counter-increment : level5 ;
}
}
}
}
}
2020-10-17 18:39:10 +02:00
div {
. dokuteaser {
p {
. media {
. mediaright {
margin-top : 0 ;
}
}
. wikilink1 {
display : initial ;
& : last-child {
display : block ;
}
}
}
2020-10-17 17:10:19 +02:00
}
}
}
. thumb2 { // Bild ohne Rahmen
2020-10-11 20:02:35 +02:00
padding-bottom : 16 px ;
}
}
}
}
}
}
}
2020-10-11 15:19:26 +02:00
2020-10-17 17:10:19 +02:00
}
2020-10-11 15:19:26 +02:00
@media only screen and ( max-width : 480 px ) {
2020-10-17 17:10:19 +02:00
body {
# dokuwiki__site {
. site {
. topbar { // _old_ topbar (pre ~2015; plugin)
position : static ; // move topbar back to the bottom
}
# dokuwiki__header {
padding-top : .5 em ;
}
}
2020-10-11 15:19:26 +02:00
}
2020-10-17 17:10:19 +02:00
}
2020-10-11 15:19:26 +02:00
2020-10-17 17:10:19 +02:00
}
2020-10-11 15:19:26 +02:00
@media print {
2020-10-17 17:10:19 +02:00
body {
# dokuwiki__site {
. site {
. topbar { // _old_ topbar (pre ~2015; plugin)
display : none ; // don't print the topbar
}
}
2020-10-11 15:19:26 +02:00
}
2020-10-17 17:10:19 +02:00
}
}
2020-10-11 15:19:26 +02:00