266 lines
No EOL
4.2 KiB
CSS
266 lines
No EOL
4.2 KiB
CSS
/* Main styles */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
background-color: #f5f5f5;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.container {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
background-color: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
min-height: calc(100vh - 40px);
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 30px;
|
|
padding-bottom: 15px;
|
|
border-bottom: 1px solid #eee;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 28px;
|
|
color: #5865F2; /* Discord blue */
|
|
}
|
|
|
|
.status-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 14px;
|
|
color: #666;
|
|
}
|
|
|
|
.status-dot {
|
|
display: inline-block;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
background-color: gray;
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.status-dot.online {
|
|
background-color: #43b581; /* Discord green */
|
|
box-shadow: 0 0 5px rgba(67, 181, 129, 0.5);
|
|
}
|
|
|
|
.status-dot.offline {
|
|
background-color: #f04747; /* Discord red */
|
|
}
|
|
|
|
/* Now Playing Section */
|
|
#now-playing {
|
|
padding: 20px;
|
|
background-color: #f9f9f9;
|
|
border-radius: 8px;
|
|
margin-bottom: 20px;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 22px;
|
|
margin-bottom: 15px;
|
|
color: #5865F2;
|
|
}
|
|
|
|
.song-info {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 20px;
|
|
}
|
|
|
|
#cover-art-container {
|
|
flex: 0 0 200px;
|
|
}
|
|
|
|
#cover-art {
|
|
width: 100%;
|
|
max-width: 200px;
|
|
height: auto;
|
|
border-radius: 4px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.song-details {
|
|
flex: 1;
|
|
min-width: 250px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 20px;
|
|
margin-bottom: 10px;
|
|
color: #333;
|
|
}
|
|
|
|
.song-details p {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.additional-info {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
margin-top: 15px;
|
|
border-top: 1px solid #eee;
|
|
padding-top: 15px;
|
|
}
|
|
|
|
.additional-info p {
|
|
margin-right: 15px;
|
|
}
|
|
|
|
/* Song History Section */
|
|
#song-history {
|
|
padding: 20px;
|
|
background-color: #f9f9f9;
|
|
border-radius: 8px;
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.history-container {
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.history-list {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.history-empty {
|
|
text-align: center;
|
|
color: #666;
|
|
font-style: italic;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.history-item {
|
|
padding: 10px;
|
|
margin-bottom: 10px;
|
|
background-color: white;
|
|
border-radius: 6px;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.history-cover {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 4px;
|
|
margin-right: 15px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.history-details {
|
|
flex: 1;
|
|
}
|
|
|
|
.history-title {
|
|
font-weight: bold;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.history-artist {
|
|
color: #666;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
/* Not Playing Section */
|
|
#not-playing {
|
|
text-align: center;
|
|
padding: 40px 20px;
|
|
background-color: #f9f9f9;
|
|
border-radius: 8px;
|
|
margin-bottom: 20px;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.message {
|
|
max-width: 400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
code {
|
|
font-family: monospace;
|
|
background-color: #eee;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
footer {
|
|
margin-top: auto;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #eee;
|
|
color: #888;
|
|
font-size: 14px;
|
|
text-align: center;
|
|
}
|
|
|
|
.bot-info {
|
|
margin-top: 5px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Helper classes */
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 600px) {
|
|
header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.status-indicator {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#cover-art-container {
|
|
flex: 0 0 100%;
|
|
text-align: center;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#cover-art {
|
|
max-width: 150px;
|
|
}
|
|
|
|
.history-item {
|
|
padding: 8px;
|
|
}
|
|
|
|
.history-cover {
|
|
width: 40px;
|
|
height: 40px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.history-title, .history-artist {
|
|
font-size: 0.9em;
|
|
}
|
|
} |