elektrofoni/style.css

98 lines
1.5 KiB
CSS
Raw Normal View History

2023-10-08 09:53:43 +00:00
:root {
--background-color: #abcdef;
--text-color: #123456;
}
body {
background-color: var(--background-color);
color: var(--text-color);
overflow: hidden;
}
main {
margin: 10px;
overflow: hidden;
}
2023-10-14 20:17:24 +00:00
#authed-view-wrapper {
2023-10-08 09:53:43 +00:00
height: calc(100vh - 2 * 10px);
2023-10-14 20:17:24 +00:00
overflow: hidden;
2023-10-08 09:53:43 +00:00
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: stretch;
gap: 10px;
}
2023-10-14 20:17:24 +00:00
#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;
}
2023-10-08 09:53:43 +00:00
#search-bar {
position: absolute;
2023-10-15 17:23:50 +00:00
bottom: 100px;
left: 50%;
transform: translateX(-50%);
width: calc(100vw - 20px);
2023-10-08 09:53:43 +00:00
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%;
}
2023-10-28 16:32:38 +00:00
#artists-view .library-list,
2023-11-13 17:44:32 +00:00
#albums-view .library-list,
#single-artist-view .library-list {
2023-10-28 16:32:38 +00:00
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
2023-11-13 17:44:32 +00:00
grid-auto-flow: dense;
2023-10-28 16:32:38 +00:00
gap: 10px;
}
2023-11-13 17:44:32 +00:00
.library-list-shuffle-all {
grid-column: 1 / -1;
}
.library-item-thumbnail {
aspect-ratio: 1 / 1;
}
.library-item-expanded {
}
.library-item-expanded-contents {
grid-column: 1 / -1;
}
2023-10-28 16:32:38 +00:00
.library-item img {
}
.library-item h3 {
overflow-wrap: break-word;
}