FediMusicPlayer/styles.css

116 lines
1.9 KiB
CSS
Raw Normal View History

2023-04-23 00:17:41 -07:00
/* FediMusicPlayer - An HTML5 + Javascript Music Player
* Copyright (C) 2023 <yanderefed@proton.me>
*
* This program is free software: you can redistribute it and/or modify
2023-04-23 00:29:17 -07:00
* it under the terms of the GNU Affero General Public License as published by
2023-04-23 00:17:41 -07:00
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2023-04-23 00:29:17 -07:00
* GNU Affero General Public License for more details.
2023-04-23 00:17:41 -07:00
*
2023-04-23 00:29:17 -07:00
* You should have received a copy of the GNU Affero General Public License
2023-04-23 00:17:41 -07:00
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
2023-04-17 20:54:28 -07:00
* {
margin: 0;
padding: 0;
}
html {
height: 100%;
}
body {
font-family: sans-serif;
height: 100%;
}
main {
height: 100%;
display: flex;
flex-direction: column;
}
aside {
padding: .5em;
float: right;
max-width: 120px;
max-height: 120px;
position: absolute;
right: 0;
top: 0;
}
img.audioCoverArt{
height: 60px;
width: 60px;
}
article{
background-color: #1b1c1d;
color: white;
position: relative;
display: block;
padding: 1.25em;
}
.queue-wrapper {
flex: 1;
padding: .5em;
background-color: #2f3030;
height: 100%;
overflow-y: auto;
}
table {
border-collapse: collapse;
width: 100%;
table-layout: fixed;
2023-04-17 20:54:28 -07:00
}
td {
padding: .5em;
font-size: 90%;
border: 0px;
}
.ellipsis {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
2023-04-17 20:54:28 -07:00
.current-song * {
background-color: white;
color: black;
}
tr:hover {
background-color: #1b1c1d;
color: white;
}
tr {
cursor: pointer;
color: white;
}
audio {
width: 100%;
vertical-align: bottom;
background-color: #1b1c1d;
}
audio::-webkit-media-controls-enclosure{
border-radius: 0px;
max-height: 40px;
}
audio::-webkit-media-controls-play-button {
background-color: lightblue;
}