conductor/styles.css

232 lines
3.7 KiB
CSS

body {
display: flex;
flex-direction: column;
align-items: center;
background-color: rgb(24, 24, 24);
height: 100vh;
overflow: hidden;
}
object {
margin-bottom: 10px;
}
html {
overflow-x: hidden;
}
* {
box-sizing: border-box;
}
#main-content {
position: absolute;
width: 100%;
max-width: 800px;
height: 100%;
display: none;
flex-direction: column;
justify-content: center;
align-items: center;
opacity: 0;
transition: opacity 2s ease;
overflow: hidden;
}
#about-content {
position: relative;
flex-direction: column;
display: none;
width: 80vw;
max-width: 700px;
padding-right: 10px;
height: 100%;
color: #fff;
/* justify-content: center; */
align-items: center;
font-family: 'Courier';
font-size: clamp(8pt, 3vw, 12pt);
line-height: 1.2;
margin: 20px;
opacity: 0;
transition: opacity 2s ease;
}
#loading-screen {
position: absolute;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #fff;
transition: opacity 1s ease;
}
#buttons {
display: none;
opacity: 0;
transition: opacity 1s ease;
}
.logo {
color: #fff;
width: 20%;
height: 20%;
animation: rotate360 10s linear infinite;
}
.loading {
font-family: Helvetica;
font-size: 10pt;
margin: 20px;
}
.event-icon {
width: 1vw;
min-width: 10px;
}
.instruments-key {
position: relative;
display: flex;
margin: 8px;
padding-top: 8% ;
padding-bottom: 8% ;
flex-direction: row;
align-content: center;
justify-content: space-around;
}
.instrument-key {
display: flex;
flex-direction: column;
vertical-align: baseline;
align-items: center;
text-align: center;
justify-content: space-between;
width: clamp(10px,5rem,24px);
font-size: clamp(8px, 1vw, 12px);
}
.sheet-music-window {
position: relative;
width: 80vw;
max-width: 700px;
height: 70%;
margin: 0;
background-color: rgb(24,24,24);
margin-bottom: 100px;
}
.conductor-title{
width: 40%;
}
.menu {
position: fixed;
padding: 40px;
width: 21px;
top: 0;
left: 0;
flex: 0 0 auto;
z-index: 99;
}
.audio{
position: fixed;
padding: 40px;
width: 20px;
top: 0;
right: 0;
flex: 0 0 auto;
z-index: 10;
}
.title{
top: 30px;
width: 100%;
margin: 30px;
text-align: center;
color: white;
background-color: rgb(24,24,24);
/* height: 20vh; */
font-family: Helvetica;
font-size: clamp(8px,1.1vw, 18px);
}
.about-title {
top: 30px;
width: 50%;
}
.title-title {
font-family: Helvetica;
color: #fff;
font-size: clamp(12px,1.5vw, 24px);
}
.production-credits {
font-size: smaller;
}
.tab-space::before {
content: '\00a0\00a0\00a0\00a0\00a0\00a0'; /* 6 non-breaking spaces */
}
.stave-wrapper {
position: relative;
background-color: rgb(24,24,24);
border: 1px solid rgb(24,24,24);
padding-top: 30px;
padding-bottom: 20px;
}
.time-indicator {
top: 0;
left: 0;
position: absolute;
width: 2px;
/* height: 100%; */
animation: moveRight 10s linear infinite;
z-index: 2;
}
.fade-in {
opacity: 1;
}
.fade-out {
opacity: 0;
transition: opacity 1s ease;
}
@keyframes rotate360 {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@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;
}
}