elektrofoni/style.css

66 lines
1,006 B
CSS

:root {
--background-color: #abcdef;
--text-color: #123456;
}
body {
background-color: var(--background-color);
color: var(--text-color);
overflow: hidden;
}
main {
margin: 10px;
overflow: hidden;
}
#authed-view-wrapper {
height: calc(100vh - 2 * 10px);
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: stretch;
gap: 10px;
}
#authed-view-library {
flex: 1 1;
overflow-y: auto;
}
#library-top-nav {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: stretch;
}
#library-top-nav button {
display: block;
width: 100%;
font-size: 2rem;
}
#search-bar {
position: absolute;
bottom: 100px;
left: 50%;
transform: translateX(-50%);
width: calc(100vw - 20px);
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: stretch;
gap: 10px;
}
#search-bar-input-wrapper {
flex: 1 1;
}
#search-bar-input-wrapper input {
width: 100%;
}