xssbook/public/css/header.css
2023-01-21 09:08:22 -05:00

55 lines
No EOL
957 B
CSS

#header {
height: 3.5em;
background-color: white;
position: fixed;
width: 100vw;
box-shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 8px 16px rgba(0, 0, 0, .05);
display: flex;
align-items: center;
justify-content: space-between;
z-index: 5;
}
.spacer {
margin-bottom: 5em;
}
#header .logo {
position: absolute;
font-size: 2.5em;
padding-left: .5em;
padding-top: .2em;
}
#header .buttons {
flex: 1;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
#header .buttons a {
padding: 0px 50px;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
color: #606770;
}
#header .buttons a:hover {
background-color: #dddfe2;
}
.selected {
color: #1778f2 !important;
border-bottom: 3px solid #1778f2;
}
#header .pfp, #header .pfp img {
position: absolute;
right: 1em;
top: .5em;
}