You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
847 B
57 lines
847 B
/* menu layout */
|
|
.menu {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
padding: 10px 0;
|
|
margin: unset;
|
|
width: 100%;
|
|
}
|
|
|
|
.menu > div {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.menu > div * {
|
|
margin: unset;
|
|
}
|
|
|
|
.menu img {
|
|
width: 2em;
|
|
}
|
|
|
|
.menu > div > *:first-child {
|
|
display: inline-flex;
|
|
gap: 0.5em;
|
|
}
|
|
|
|
.menu > div > *:first-child h2 {
|
|
font-weight: 900;
|
|
}
|
|
|
|
.menu > div > *:last-child {
|
|
display: inline-flex;
|
|
gap: 1em;
|
|
}
|
|
|
|
|
|
/* menu items */
|
|
.menu a {
|
|
font-family: "Red Hat Display";
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0.2em 0.5em;
|
|
font-family: "Red Hat Display";
|
|
font-weight: 500;
|
|
font-size: 0.9em;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.menu > div > *:last-child a {
|
|
cursor: no-drop;
|
|
}
|
|
|
|
.menu a:hover {
|
|
background-color: rgba(36, 99, 235, 0.1);
|
|
} |