/* FediMusicPlayer - An HTML5 + Javascript Music Player
 * Copyright (C) 2023  Anon <@Anon@yandere.cc>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * 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
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */

* {
	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;
}

td {
	padding: .5em;
	font-size: 90%;
	border: 0px;
}

.ellipsis {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.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;
}
