A11y improvements and style tweaks
- Use button element instead of anchors, fixes keyboard navigation and other issues - Disable search input until it's open, prevents being able to write inside it while it's closed - Use :root instead of html in CSS - Add minimal size for separator between home button and other links
This commit is contained in:
@ -7,14 +7,19 @@
|
||||
}
|
||||
|
||||
.inline-button {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
transition: var(--transition);
|
||||
cursor: pointer;
|
||||
box-shadow: var(--edge-highlight);
|
||||
border: none;
|
||||
border-radius: var(--rounded-corner);
|
||||
background-color: var(--fg-muted-1);
|
||||
padding: 0.125rem 0.375rem;
|
||||
padding: 0.625rem 1rem;
|
||||
color: var(--fg-color);
|
||||
font-size: 0.9rem;
|
||||
font-weight: bold;
|
||||
font-size: 0.875rem;
|
||||
line-height: normal;
|
||||
text-decoration: none;
|
||||
|
||||
|
Reference in New Issue
Block a user