Files
driftywinds.github.io/index.css
2023-12-15 19:52:23 -08:00

75 lines
1.2 KiB
CSS

/*
index.css
altsource-viewer (https://github.com/therealFoxster/altsource-viewer)
Copyright (c) 2023 Foxster.
MIT License.
*/
#nav-bar.hide-border {
border-bottom: none;
}
#main h1 {
margin-bottom: 0.35rem;
padding: 0 1rem;
}
#main input {
width: 95%;
font-size: 1em;
padding: 0.5rem 0.8rem;
border: none;
border-radius: 10px;
background-color: rgba(0, 0, 0, 0.07);
}
/* input:focus {
outline: none;
} */
.section a {
color: white;
}
.suggestion {
padding: 1rem 1rem 1rem 0;
margin-left: 1rem;
font-size: 1.1rem;
border-bottom: 0.1px solid var(--color-separator);
}
.suggestion .bi {
margin-right: 4px;
}
@media (hover:hover) {
.suggestion:hover {
opacity: 0.75;
}
}
@media (prefers-color-scheme: dark) {
#main input {
background-color: rgba(255, 255, 255, 0.07);
color: white;
}
.suggestion {
border-bottom: 0.1px solid var(--color-separator-dark) !important;
}
}
#main .textfield {
display: flex;
align-items: center;
justify-content: center;
padding: 0 1rem;
gap: 0.85rem;
margin-bottom: 1rem;
}
#go {
font-size: 1.1rem;
display: none;
transition: opacity 0.25s ease-in-out;
}