Refactor home search #21

Merged
ro merged 6 commits from moiety/search into develop 2025-05-05 22:44:21 +02:00
2 changed files with 15 additions and 1 deletions
Showing only changes of commit 3e070676e4 - Show all commits

View file

@ -3,6 +3,12 @@ section.index-search {
background: var(--white);
}
/* TODO: move to a global file? its not only for forms. */
section.index-search :focus-visible {
outline: 2px solid var(--white);
outline-offset: -4px;
}
section.start a.search-link {
color: var(--highlight);
font-size: 2.5em;

View file

@ -14,10 +14,18 @@ input[type="text"] {
input[type="text"]:focus,
input[type="password"]:focus {
outline: solid var(--highlight);
background-color: var(--highlight);
}
/* TODO: generalise this a bit */
button:focus,
input[type="submit"]:focus,
input[type="text"]:focus,
input[type="password"]:focus {
outline: 2px solid var(--white);
outline-offset: -4px;
}
textarea {
border: 0;
border-radius: 3px;