border radius on dropdown

This commit is contained in:
Theis Pieter Hollebeek 2023-02-08 11:44:30 +01:00 committed by SimonFJ20
parent 15f4a9d3ab
commit 427bf68941

View File

@ -77,11 +77,11 @@ body {
flex-direction: column;
top: var(--topbar-offset);
right: 0;
background-color: var(--brand);
box-shadow: 0px 5px 1px RGBA(127, 127, 127, 0.2);
transform: scaleY(0);
transition: transform 0.2s;
transform-origin: 0% 0%;
border-radius: 0 0 0 5px;
}
#dropdown.enabled, #dropdown:focus-within {
@ -89,6 +89,7 @@ body {
}
#dropdown a {
background-color: var(--brand);
color: var(--light);
padding: 1rem 1rem;
font-weight: bold;
@ -100,6 +101,10 @@ body {
background-color: var(--brand-300);
}
#dropdown a:last-child {
border-radius: 0 0 0 5px;
}
main {
text-align: center;