mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-11-04 08:30:58 -05:00
70 lines
1.4 KiB
CSS
70 lines
1.4 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
|
|
|
.connection-status {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
z-index: 99999;
|
|
font-family: 'Inter', sans-serif;
|
|
font-size: 30px;
|
|
font-weight: 700;
|
|
font-style: italic;
|
|
text-align: center;
|
|
color: white;
|
|
|
|
padding: 0.25em 0.5em;
|
|
border-radius: 10px;
|
|
background: #D12025;
|
|
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
|
|
|
|
/* Centering and entrance animation */
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transform: translate(-50%, calc(-50% + 10px));
|
|
|
|
transition:
|
|
opacity 200ms ease,
|
|
transform 200ms ease,
|
|
visibility 200ms ease;
|
|
|
|
pointer-events: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.connection-status.is-visible {
|
|
opacity: 0.9;
|
|
visibility: visible;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
/* Optional dark translucent backdrop */
|
|
.connection-status-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 99998;
|
|
|
|
background: rgba(0, 0, 0, 0.45);
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
|
|
transition:
|
|
opacity 200ms ease,
|
|
visibility 200ms ease;
|
|
|
|
pointer-events: none;
|
|
}
|
|
|
|
.connection-status-backdrop.is-visible {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
.connection-status--streamerbot {
|
|
background: linear-gradient(
|
|
135deg,
|
|
#a257ed 0%,
|
|
#a257ed 20%,
|
|
#0b72ff 100%
|
|
);
|
|
} |