xssbook/public/css/header.css

55 lines
985 B
CSS
Raw Normal View History

2023-01-26 22:29:16 +00:00
#header {
height: 3.5em;
2023-01-30 23:55:36 +00:00
background-color: var(--primary);
2023-01-26 22:29:16 +00:00
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;
2023-01-30 23:55:36 +00:00
color: var(--medium);
2023-01-26 22:29:16 +00:00
}
#header .buttons a:hover {
2023-01-30 23:55:36 +00:00
background-color: var(--hover);
2023-01-26 22:29:16 +00:00
}
.selected {
2023-01-30 23:55:36 +00:00
color: var(--logo) !important;
border-bottom: 3px solid var(--logo);
2023-01-26 22:29:16 +00:00
}
#header .pfp, #header .pfp img {
position: absolute;
right: 1em;
top: .5em;
}