gamejam_v1 / src /styles /globals.css
rolexx's picture
wip
4148927
body {
margin: 0;
padding: 0;
color: rgba(255, 255, 255, 0.87);
background-color: #000000;
font-family: Arial, Helvetica, sans-serif;
}
#app {
width: 100%;
height: 100vh;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}
.spritePosition {
margin: 10px 0 0 10px;
font-size: 0.8em;
}
.button {
width: 140px;
margin: 10px;
padding: 10px;
background-color: #000000;
color: rgba(255, 255, 255, 0.87);
border: 1px solid rgba(255, 255, 255, 0.87);
cursor: pointer;
transition: all 0.3s;
&:hover {
border: 1px solid #0ec3c9;
color: #0ec3c9;
}
&:active {
background-color: #0ec3c9;
}
/* Disabled styles */
&:disabled {
cursor: not-allowed;
border: 1px solid rgba(255, 255, 255, 0.3);
color: rgba(255, 255, 255, 0.3);
}
}
.audio-controls {
position: fixed;
top: 20px;
left: 20px;
z-index: 1000;
display: flex;
gap: 10px;
}
.audio-controls button {
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
transition: all 0.3s ease;
}
.record-button {
background-color: #ff4444;
color: white;
}
.stop-button {
background-color: #444444;
color: white;
}
.play-button {
background-color: #44aa44;
color: white;
}
.audio-controls button:hover {
opacity: 0.8;
transform: scale(1.05);
}