conductor/styles.css

64 lines
1.2 KiB
CSS

body {
display: flex;
flex-direction: column;
/* justify-content: center; */
align-items: center;
background-color: rgb(24, 24, 24);
position: absoulute;
height: 100vh;
}
.sheet-music-window {
position: relative;
width: 80vw;
max-width: 700px;
height: auto;
margin: 0;
background-color: rgb(49, 45, 45);
}
.title {
align-content: center;
color: white;
height: 20vh;
position: relative;
}
.stave-wrapper {
position: relative;
background-color: rgb(24,24,24);
border: 1px solid rgb(24,24,24);
padding: 30px;
}
.time-indicator {
top: 0;
left: 0;
position: absolute;
width: 2px; /* Adjust width of SVG as needed */
height: 100%; /* Adjust height of SVG as needed */
animation: moveRight 10s linear infinite;
z-index: 2; /* Ensure it is above other elements */
}
.fade-out {
opacity: 0;
transition: opacity 0.8s ease;
}
@keyframes moveRight {
0% {
left: 0;
opacity: 1;
}
95% {
/* left: 95%; Move to the right edge minus any margins */
opacity: 1;
}
100% {
left: 100%;
opacity: 0;
}
}