1
1
Fork 0
This repository has been archived on 2022-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
natenom-websites/_legacy/2020-10 natenom blog globaltopbar.css
2020-10-11 15:06:28 +02:00

213 lines
4.1 KiB
CSS

@media screen {
/* removed */
/* body {
padding-top: 30px;
}
*/
#page {
top: 32px;
}
/* new */
.header-main {
min-height: 48px;
/*padding-top: 30px;*/
/*margin-top: 30px; was oben abstand wegen topbar*/
}
/* new */
#global__header {
position: absolute;
top: -32px;
left: 0;
/*new*/
z-index:999999;
font-family: Arial, Helvetica, sans-serif;
font-size:14px;
/*new*/
text-align: left;
vertical-align: middle;
line-height: 1.5;
background-color: #212730;
width: 100%;
margin: 0;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
white-space: nowrap;
display: flex;
overflow-x: auto;
overflow-y: hidden;
border-bottom: 3px #4588de solid;
}
#global__header ul {
flex: 1;
}
#global__header h2 {
position: absolute;
/* left: -99999em;*/
top: 0;
overflow: hidden;
display: inline;
}
#global__header ul,
#global__header li {
margin: 0;
padding: 0;
list-style: none;
display: flex;
line-height: 1.5;
}
#global__header a {
color: #bbb;
text-decoration: none;
padding: 4px 8px;
margin: 0 1px;
font-size: 14px;
font-weight: normal;
}
#global__header a:hover,
#global__header a:active,
#global__header a:focus {
color: #fff;
text-decoration: underline;
background: #4588de;
text-decoration: none;
}
#global__header form {
float: right;
margin: 0 0 0 20px;
}
#global__header input {
background-color: #333;
background-image: none;
border: 1px solid #bbb;
color: #fff;
box-shadow: none;
border-radius: 2px;
margin: 0;
line-height: normal;
padding: 1px 0 1px 0;
height: auto;
}
#global__header input.button {
border: none;
color: #bbb;
}
#global__header input.button:hover,
#global__header input.button:active,
#global__header input.button:focus {
color: #fff;
text-decoration: underline;
}
/* new wg qrcode */
.global__header-right {
justify-content: flex-end;
}
.global__header-qr:hover:after {
right: 0;
}
.global__header-qr:after {
content: '';
/*background: url(https://blog.natenom.com/.cdn/getmumble/qrcode_www.natenom.com_de_meinmumbleserver);*/
position: fixed;
background-size: cover;
height: 111px;
top: 31px;
width: 111px;
right: -150px;
transition: 1s all;
box-shadow: 0 0 8px rgba(0,0,0,0.5);
}
/* end: new wg qrcode */
} /* /@media */
@media only screen and (min-width: 601px) {
/* changes specific for www.dokuwiki.org */
#dokuwiki__header {
padding-top: 3em;
}
#dokuwiki__usertools {
top: 3em;
}
/* changes specific for bugs.dokuwiki.org */
div#container div#showtask {
top: 40px;
}
} /* /@media */
@media only screen and (max-width: 600px) {
body {
padding-top: 0;
}
/*#global__header {
position: static;
white-space: normal;
overflow: auto;
}*/
#global__header {
position: absolute;
/* white-space: normal;*/
overflow: auto;
/* padding: 10px;*/
}
#global__header form {
float: none;
display: block;
margin: 0 0 .4em;
}
.global__header-right {
position: relative;
left: 0;
}
.header-main {
margin-top: 0px;
}
} /* /@media */
@media print {
#global__header {
display: none;
}
} /* /@media */
@media screen and (max-width: 600px) {
/*#page {
top: 0px;
}*/ }
#global__header a#global__header__link-donate {
color: #c16666;
display: none;
}
#global__header a#global__header__link-donate:hover {
background: #c16666;
color: #fff;
}