// // settings // $gtb_height: 32px; // gtb == globaltopbar // // globaltopbar // @media screen { #global__header { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; background: $blog_body-bg; border-bottom: 3px $nom-blue solid; box-sizing: border-box; display: flex; font-family: Arial, Helvetica, sans-serif; font-size: 14px; left: 0; line-height: 1.5; margin: 0; overflow-x: auto; overflow-y: hidden; position: absolute; text-align: left; transition: background .2s, color .2s; top: -$gtb_height; vertical-align: middle; white-space: nowrap; width: 100%; z-index: 9999; ul { display: flex; flex: 1; margin: 0; li { display: flex; margin: 0; a { color: $grey-light; font-size: 14px; font-weight: normal; margin: 0 1px; padding: 4px 8px; text-decoration: none; &:hover, &:active, &:focus { background: $nom-blue; color: #fff; text-decoration: none; } } } &.global__header-right { justify-content: flex-end; } } } } @media print { body { #dokuwiki__site { .site { #global__header { display: none; } } } } } // // globaltopbar blog // @if $type == blog { body { top: $gtb_height; // WordPress nach unten verschieben, damit globaltopbar sichtbar wird header { .search-modal { top: $gtb_height; // Suchleiste nach unten versetzen, damit sie unter der Topbar angezeigt werden } } .menu-modal { top: $gtb_height; // Menu oben nach unten versetzen, damit sie unter der Topbar angezeigt werden } } } // // globaltopbar wiki // @if $type == wiki { body { margin-top: $gtb_height; // DokuWiki nach unten verschieben, damit globaltopbar sichtbar wird overflow-x: hidden; #dokuwiki__site { .site { #dokuwiki__header { .group { .tools { #dokuwiki__usertools { top: 15px + $gtb_height; // 'em' and 'px' are incompatible units } } } } #global__header { top: 0; ul { padding: 0; } } } } } @media only screen and (min-width: 601px) { body { #dokuwiki__site { .site { #dokuwiki__header { padding-top: 3em; .group { .tools { #dokuwiki__usertools { top: 12px + $gtb_height; // 'em' and 'px' are incompatible units } } } } } } } /* changes specific for bugs.dokuwiki.org */ div#container div#showtask { top: 40px; } } @media only screen and (max-width: 600px) { body { padding-top: 0; } } }