This repository has been archived on 2024-01-22. You can view files and clone it, but cannot push or open issues or pull requests.
speedie-page/css/header.css
Jacob b37c9162fa Navbar is now positioned above everything else.
Previously, icons would be positioned above the header if
`translate()` was used
2023-07-01 18:37:20 +02:00

39 lines
554 B
CSS

.navbar {
background-color: #363636;
color: #1fccef;
padding: 5px;
margin: 0px;
position: sticky;
top: 0px;
align-items: center;
z-index: 6;
width: 100%;
}
.warning {
color: #ffff00
}
.navbar a {
color: #e6e6fa;
text-decoration: none;
padding-top: 5px;
padding-bottom: 5px;
padding-left: 3px;
padding-right: 3px;
}
.navbar a:hover {
display: inline;
text-decoration: underline;
}
.navbar span {
padding: 5px;
display: inline;
}
.navbar img {
transform: translate(+30%, +25%)
}