misuzu/assets/misuzu.css/search/categories.css

39 lines
942 B
CSS
Raw Normal View History

2022-09-13 13:14:49 +00:00
.search__categories {
display: flex;
}
.search__category {
display: block;
color: inherit;
text-decoration: none;
background-color: var(--accent-colour);
box-shadow: 0 1px 2px #000A;
text-shadow: 0 1px 4px #000;
overflow: hidden;
border: 1px solid transparent;
border-radius: 5px;
font-size: 1.1em;
margin: 1px 1px 1px 0;
}
.search__category__background {
background-color: var(--background-colour-translucent-9);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
transition: background-color .2s;
}
.search__category:hover .search__category__background,
.search__category:focus .search__category__background {
background-color: var(--background-colour-translucent-8);
}
.search__category:active .search__category__background {
background-color: var(--background-colour-translucent-7);
}
.search__category__content {
padding: 2px 5px;
}