mirror of
https://github.com/manilarome/the-glorious-startpage.git
synced 2024-11-27 18:13:33 +01:00
47 lines
855 B
CSS
47 lines
855 B
CSS
#searchBox {
|
|
background: var(--base-bg);
|
|
color: var(--base-color);
|
|
text-align: center;
|
|
font-family: roboto-bold, sans-serif;
|
|
|
|
width: 30vw;
|
|
height: 48px;
|
|
border: none;
|
|
border-radius: 24px;
|
|
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
margin: 0;
|
|
opacity: 0;
|
|
position: absolute;
|
|
backdrop-filter: blur(var(--blur-strength));
|
|
|
|
left: 50%;
|
|
top: 60%;
|
|
|
|
pointer-events: none;
|
|
|
|
-ms-transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
transition: opacity var(--transition-speed),
|
|
top var(--transition-speed),
|
|
pointer-events var(--transition-speed);
|
|
}
|
|
|
|
#searchBox::placeholder {
|
|
font-family: roboto-bold, fantasque-sans-mono, sans-serif;
|
|
}
|
|
|
|
.showSearchBox {
|
|
opacity: 1 !important;
|
|
top: 100% !important;
|
|
pointer-events: initial !important;
|
|
}
|
|
|
|
@media screen and (max-width: 580px) {
|
|
#searchBox {
|
|
width: 50vw;
|
|
}
|
|
}
|
|
|