BerserkJournal / static /styles.css
onurerg07's picture
Tum gorsel ve medyalar LFS eklendi
4f9358f
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: #000;
font-family: "Courier New", monospace;
}
/* ================================
BACKGROUND
================================ */
#bg-layer {
position: fixed;
inset: 0;
width: 100vw;
height: 100vh;
object-fit: cover;
z-index: 0;
/* 🔒 stacking güvenliği */
pointer-events: none;
}
/* OVERLAY */
.overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.25);
z-index: 1;
pointer-events: none;
}
/* ================================
STREAMLIT
================================ */
#streamlit-frame {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
border: none;
z-index: 2;
background: transparent !important;
}
/* ================================
PLAYER
================================ */
#player-ui {
position: fixed;
right: 24px;
bottom: 24px;
z-index: 50;
display: flex;
align-items: center;
gap: 12px;
background: rgba(20,20,20,0.95);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
padding: 10px 14px;
border-radius: 14px;
box-shadow: 0 10px 40px rgba(0,0,0,0.6);
border: 1px solid #aaa;
}
.vinyl {
width: 36px;
height: 36px;
border-radius: 50%;
background: radial-gradient(circle, #444 40%, #000 100%);
border: 2px solid #aaa;
animation: spin 3s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.title {
font-size: 0.9rem;
font-weight: bold;
color: white;
}
.subtitle {
font-size: 0.75rem;
color: #bbb;
}
.next-btn {
cursor: pointer;
font-size: 18px;
padding: 6px 10px;
border-radius: 50%;
background: linear-gradient(135deg, #aaa, #777);
color: black;
user-select: none;
transition: transform 0.15s ease;
}
.next-btn:hover {
transform: scale(1.1);
}
/* ================================
SOUND (HIDDEN)
================================ */
#soundcloud-player {
position: fixed;
width: 0;
height: 0;
border: none;
pointer-events: none;
}
/* ================================
DEBUG
================================ */
#debug-info {
position: fixed;
bottom: 10px;
left: 10px;
z-index: 60;
font-size: 12px;
background: rgba(0,0,0,0.6);
color: #0f0;
padding: 6px 10px;
border-radius: 6px;
}
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: #000;
font-family: "Courier New", monospace;
}
/* ================================
BACKGROUND
================================ */
#bg-layer {
position: fixed;
inset: 0;
width: 100vw;
height: 100vh;
object-fit: cover;
z-index: 0;
/* 🔒 stacking güvenliği */
pointer-events: none;
}
/* OVERLAY */
.overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.25);
z-index: 1;
pointer-events: none;
}
/* ================================
STREAMLIT
================================ */
#streamlit-frame {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
border: none;
z-index: 2;
background: transparent !important;
}
/* ================================
PLAYER
================================ */
#player-ui {
position: fixed;
right: 24px;
bottom: 24px;
z-index: 50;
display: flex;
align-items: center;
gap: 12px;
background: rgba(20,20,20,0.95);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
padding: 10px 14px;
border-radius: 14px;
box-shadow: 0 10px 40px rgba(0,0,0,0.6);
border: 1px solid #aaa;
}
.vinyl {
width: 36px;
height: 36px;
border-radius: 50%;
background: radial-gradient(circle, #444 40%, #000 100%);
border: 2px solid #aaa;
animation: spin 3s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.title {
font-size: 0.9rem;
font-weight: bold;
color: white;
}
.subtitle {
font-size: 0.75rem;
color: #bbb;
}
.next-btn {
cursor: pointer;
font-size: 18px;
padding: 6px 10px;
border-radius: 50%;
background: linear-gradient(135deg, #aaa, #777);
color: black;
user-select: none;
transition: transform 0.15s ease;
}
.next-btn:hover {
transform: scale(1.1);
}
/* ================================
SOUND (HIDDEN)
================================ */
#soundcloud-player {
position: fixed;
width: 0;
height: 0;
border: none;
pointer-events: none;
}
/* ================================
DEBUG
================================ */
#debug-info {
position: fixed;
bottom: 10px;
left: 10px;
z-index: 60;
font-size: 12px;
background: rgba(0,0,0,0.6);
color: #0f0;
padding: 6px 10px;
border-radius: 6px;
}