coleswebsite/css/presence.css
2025-06-04 14:23:00 -05:00

219 lines
4 KiB
CSS

.status-wrapper {
position: relative;
display: flex;
justify-content: center;
margin-bottom: 12px;
}
.status-wrapper img {
width: 100px;
height: 100px;
border-radius: 50%;
object-fit: cover;
border: 2px solid var(--accent-color);
box-shadow: 0 0 12px var(--accent-color)80;
display: block;
}
.status-dot {
position: absolute;
bottom: 4px;
right: 4px;
width: 16px;
height: 16px;
border-radius: 50%;
border: 2px solid #0d0b16;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.status-online { background-image: url('../icons/ONLINE.png'); }
.status-idle { background-image: url('../icons/IDLE.png'); }
.status-dnd { background-image: url('../icons/DO_NOT_DISTURB.png'); }
.status-offline { background-image: url('../icons/OFFLINE.png'); }
.username {
font-size: 1.4rem;
font-weight: bold;
color: #d2c6f8;
text-shadow: 0 0 6px var(--accent-color)80;
margin-bottom: 10px;
text-align: center;
}
.intro {
font-size: 1.2rem;
margin-bottom: 10px;
text-align: center;
color: #e6dbff;
text-shadow: 0 0 5px var(--accent-color)55;
}
.link {
background: #2b1f4c;
color: white;
padding: 10px 14px;
margin: 8px 0;
border-radius: 10px;
text-decoration: none;
width: 100%;
max-width: 260px;
text-align: center;
transition: background 0.3s, color 0.3s, box-shadow 0.3s;
box-shadow: 0 0 8px var(--accent-color)40;
}
.link:hover {
background: var(--accent-color);
color: #fff;
box-shadow: 0 0 12px var(--accent-color), 0 0 24px var(--accent-color)99;
}
.social-link {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.icon {
width: 16px;
height: 16px;
filter: brightness(0) invert(1);
transition: filter 0.3s;
}
.social-link:hover .icon {
filter: drop-shadow(0 0 2px white);
}
.discord-box {
background: #1b1429;
color: #e6dbff;
padding: 12px;
border-radius: 10px;
font-size: 0.85rem;
width: 100%;
display: flex;
flex-direction: column;
gap: 16px;
margin-top: 12px;
box-shadow: inset 0 0 10px var(--accent-color)20;
}
.logs-tab-content {
margin-top: 8px;
width: 100%;
display: flex;
flex-direction: column;
gap: 24px;
align-items: stretch;
}
/* Add spinning animation for album art in Spotify */
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.spotify-presence .album-art {
animation: spin 10s linear infinite;
width: 64px;
height: 64px;
border-radius: 50%;
object-fit: cover;
border: 2px solid #b592ff;
box-shadow: 0 0 10px var(--accent-color)90;
margin: 0 auto;
}
.presence-entry .album-art {
width: 64px;
height: 64px;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
border: 2px solid #b592ff;
box-shadow: 0 0 10px var(--accent-color)90;
}
/* Center text in Spotify activity */
.presence-entry {
text-align: center;
display: flex;
align-items: center;
gap: 12px;
}
.presence-entry .music-info {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
flex: 1;
}
.presence-entry .song-title,
.presence-entry .artist {
text-align: center;
width: 100%;
}
.presence-entry .song-title {
color: #e6dbff;
text-decoration: none;
}
.presence-entry .song-title:hover {
text-decoration: underline;
color: #c9a8ff;
}
.spotify-icon {
vertical-align: middle;
width: 16px;
height: 16px;
margin-right: 4px;
}
/* Fix progress bar styling for all devices */
.spotify-progress {
display: flex;
align-items: center;
width: 100%;
margin-top: 4px;
gap: 8px;
}
.spotify-progress .time {
font-size: 0.75rem;
color: #b7a4d4;
flex-shrink: 0;
}
.spotify-progress .bar {
flex: 1;
height: 4px;
background: #2b1f4c;
border-radius: 2px;
overflow: hidden;
position: relative;
}
.spotify-progress .fill {
height: 100%;
background: var(--accent-color);
border-radius: 2px;
position: absolute;
top: 0;
left: 0;
}
/* Only center progress bar on mobile */
@media (max-width: 768px) {
.spotify-progress {
justify-content: center;
}
}